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 43f069f29d..c62bc272e8 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 @@ -6297,15 +6297,15 @@ }, "/organizations/{org}/dependabot/repository-access": { "get": { - "summary": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" }, "parameters": [ { @@ -6366,15 +6366,15 @@ } }, "patch": { - "summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", "tags": [ "dependabot" ], "operationId": "dependabot/update-repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" }, "parameters": [ { @@ -6460,7 +6460,7 @@ "/organizations/{org}/dependabot/repository-access/default-level": { "put": { "summary": "Set the default repository access level for Dependabot", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nSets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", "tags": [ "dependabot" ], 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 aacd05b685..126f83a7b8 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 @@ -4451,9 +4451,9 @@ paths: subcategory: orgs "/organizations/{org}/dependabot/repository-access": get: - summary: Lists repositories that organization admins have allowed Dependabot - to access when updating dependencies. + summary: Lists the repositories Dependabot can access in an organization description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -4462,7 +4462,7 @@ paths: operationId: dependabot/repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - "$ref": "#/components/parameters/org" - name: page @@ -4502,9 +4502,10 @@ paths: category: dependabot subcategory: repository-access patch: - summary: Updates repositories to the list of repositories that organization - admins have allowed Dependabot to access when updating dependencies. + summary: Updates Dependabot's repository access list for an organization description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -4521,7 +4522,7 @@ paths: operationId: dependabot/update-repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - "$ref": "#/components/parameters/org" requestBody: @@ -4577,13 +4578,13 @@ paths: put: summary: Set the default repository access level for Dependabot description: |- - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. Sets the default level of repository access Dependabot will have while performing an update. Available values are: - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. tags: - dependabot operationId: dependabot/set-repository-access-default-level diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 43f069f29d..c62bc272e8 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -6297,15 +6297,15 @@ }, "/organizations/{org}/dependabot/repository-access": { "get": { - "summary": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" }, "parameters": [ { @@ -6366,15 +6366,15 @@ } }, "patch": { - "summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", "tags": [ "dependabot" ], "operationId": "dependabot/update-repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" }, "parameters": [ { @@ -6460,7 +6460,7 @@ "/organizations/{org}/dependabot/repository-access/default-level": { "put": { "summary": "Set the default repository access level for Dependabot", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nSets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", "tags": [ "dependabot" ], diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index aacd05b685..126f83a7b8 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -4451,9 +4451,9 @@ paths: subcategory: orgs "/organizations/{org}/dependabot/repository-access": get: - summary: Lists repositories that organization admins have allowed Dependabot - to access when updating dependencies. + summary: Lists the repositories Dependabot can access in an organization description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -4462,7 +4462,7 @@ paths: operationId: dependabot/repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - "$ref": "#/components/parameters/org" - name: page @@ -4502,9 +4502,10 @@ paths: category: dependabot subcategory: repository-access patch: - summary: Updates repositories to the list of repositories that organization - admins have allowed Dependabot to access when updating dependencies. + summary: Updates Dependabot's repository access list for an organization description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -4521,7 +4522,7 @@ paths: operationId: dependabot/update-repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - "$ref": "#/components/parameters/org" requestBody: @@ -4577,13 +4578,13 @@ paths: put: summary: Set the default repository access level for Dependabot description: |- - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. Sets the default level of repository access Dependabot will have while performing an update. Available values are: - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. tags: - dependabot operationId: dependabot/set-repository-access-default-level 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 ee955995db..5c8dfb478c 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 @@ -50489,15 +50489,15 @@ }, "/organizations/{org}/dependabot/repository-access": { "get": { - "summary": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" }, "parameters": [ { @@ -51123,15 +51123,15 @@ } }, "patch": { - "summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", "tags": [ "dependabot" ], "operationId": "dependabot/update-repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" }, "parameters": [ { @@ -51269,7 +51269,7 @@ "/organizations/{org}/dependabot/repository-access/default-level": { "put": { "summary": "Set the default repository access level for Dependabot", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nSets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", "tags": [ "dependabot" ], 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 1fe8f57b3e..416bc041d2 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 @@ -15644,9 +15644,9 @@ paths: subcategory: orgs "/organizations/{org}/dependabot/repository-access": get: - summary: Lists repositories that organization admins have allowed Dependabot - to access when updating dependencies. + summary: Lists the repositories Dependabot can access in an organization description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -15655,7 +15655,7 @@ paths: operationId: dependabot/repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - &96 name: org @@ -15792,9 +15792,10 @@ paths: category: dependabot subcategory: repository-access patch: - summary: Updates repositories to the list of repositories that organization - admins have allowed Dependabot to access when updating dependencies. + summary: Updates Dependabot's repository access list for an organization description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -15811,7 +15812,7 @@ paths: operationId: dependabot/update-repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - *96 requestBody: @@ -15865,13 +15866,13 @@ paths: put: summary: Set the default repository access level for Dependabot description: |- - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. Sets the default level of repository access Dependabot will have while performing an update. Available values are: - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. tags: - dependabot operationId: dependabot/set-repository-access-default-level 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 ee955995db..5c8dfb478c 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -50489,15 +50489,15 @@ }, "/organizations/{org}/dependabot/repository-access": { "get": { - "summary": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" }, "parameters": [ { @@ -51123,15 +51123,15 @@ } }, "patch": { - "summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", "tags": [ "dependabot" ], "operationId": "dependabot/update-repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" }, "parameters": [ { @@ -51269,7 +51269,7 @@ "/organizations/{org}/dependabot/repository-access/default-level": { "put": { "summary": "Set the default repository access level for Dependabot", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nSets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", "tags": [ "dependabot" ], 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 1fe8f57b3e..416bc041d2 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -15644,9 +15644,9 @@ paths: subcategory: orgs "/organizations/{org}/dependabot/repository-access": get: - summary: Lists repositories that organization admins have allowed Dependabot - to access when updating dependencies. + summary: Lists the repositories Dependabot can access in an organization description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -15655,7 +15655,7 @@ paths: operationId: dependabot/repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - &96 name: org @@ -15792,9 +15792,10 @@ paths: category: dependabot subcategory: repository-access patch: - summary: Updates repositories to the list of repositories that organization - admins have allowed Dependabot to access when updating dependencies. + summary: Updates Dependabot's repository access list for an organization description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -15811,7 +15812,7 @@ paths: operationId: dependabot/update-repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - *96 requestBody: @@ -15865,13 +15866,13 @@ paths: put: summary: Set the default repository access level for Dependabot description: |- - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. Sets the default level of repository access Dependabot will have while performing an update. Available values are: - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. tags: - dependabot operationId: dependabot/set-repository-access-default-level diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 10f1f5bb13..f140854913 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -48156,6 +48156,809 @@ } } }, + "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": { + "get": { + "summary": "Get a cost center by ID", + "description": "Gets a cost center by ID. The authenticated user must be an enterprise admin.", + "tags": [ + "billing" + ], + "operationId": "billing/get-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to the cost center.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a cost center", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the cost center." + }, + "name": { + "type": "string", + "description": "Name of the cost center." + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource." + } + }, + "required": [ + "type", + "name" + ] + } + } + }, + "required": [ + "id", + "name", + "resources" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", + "name": "Cost Center Name", + "resources": [ + { + "type": "User", + "name": "Monalisa" + }, + { + "type": "Repo", + "name": "octocat/hello-world" + } + ] + } + ] + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + }, + "patch": { + "summary": "Update a cost center name", + "description": "Updates an existing cost center name.", + "tags": [ + "billing" + ], + "operationId": "billing/update-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name" + }, + "parameters": [ + { + "name": "enterprise", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "The slug version of the enterprise name" + }, + { + "name": "cost_center_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "The unique identifier of the cost center" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "The new name for the cost center" + } + } + }, + "examples": { + "update-cost-center": { + "summary": "Update cost center name example", + "value": { + "name": "New Cost Center Name" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response when updating a cost center", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the cost center." + }, + "name": { + "type": "string", + "description": "Name of the cost center." + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource." + } + }, + "required": [ + "type", + "name" + ] + } + } + }, + "required": [ + "id", + "name", + "resources" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", + "name": "Cost Center Name", + "resources": [ + { + "type": "User", + "name": "Monalisa" + }, + { + "type": "Repo", + "name": "octocat/hello-world" + } + ] + } + ] + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + }, + "delete": { + "summary": "Delete a cost center", + "description": "Archieves a cost center by ID. The authenticated user must be an enterprise admin.", + "tags": [ + "billing" + ], + "operationId": "billing/delete-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to the cost center.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when deleting a cost center", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "A message indicating the result of the deletion operation" + }, + "id": { + "type": "string", + "description": "The unique identifier of the deleted cost center" + }, + "name": { + "type": "string", + "description": "The name of the deleted cost center" + }, + "costCenterState": { + "type": "string", + "enum": [ + "CostCenterArchived" + ], + "description": "The state of the cost center after deletion" + } + }, + "required": [ + "message", + "id", + "name", + "costCenterState" + ] + }, + "examples": { + "default": { + "value": { + "message": "Cost center successfully deleted.", + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "name": "cc3", + "costCenterState": "CostCenterArchived" + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": { "post": { "summary": "Add users to a cost center", @@ -76906,15 +77709,15 @@ }, "/organizations/{org}/dependabot/repository-access": { "get": { - "summary": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" }, "parameters": [ { @@ -77540,15 +78343,15 @@ } }, "patch": { - "summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", "tags": [ "dependabot" ], "operationId": "dependabot/update-repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" }, "parameters": [ { @@ -77686,7 +78489,7 @@ "/organizations/{org}/dependabot/repository-access/default-level": { "put": { "summary": "Set the default repository access level for Dependabot", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nSets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", "tags": [ "dependabot" ], diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index d8274eb4c6..8592dd6a6f 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -859,7 +859,7 @@ paths: - subscriptions_url - type - url - type: &347 + type: &349 type: string description: The type of credit the user is receiving. enum: @@ -992,7 +992,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &184 + schema: &186 title: Validation Error Simple description: Validation Error Simple type: object @@ -1025,7 +1025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &696 + - &698 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1143,7 +1143,7 @@ paths: GitHub. type: object nullable: true - properties: &140 + properties: &142 id: description: Unique identifier of the GitHub app example: 37 @@ -1276,7 +1276,7 @@ paths: about itself. example: 5 type: integer - required: &141 + required: &143 - id - node_id - owner @@ -1581,7 +1581,7 @@ paths: schema: type: integer default: 30 - - &269 + - &271 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1597,7 +1597,7 @@ paths: application/json: schema: type: array - items: &270 + items: &272 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1677,7 +1677,7 @@ paths: - installation_id - repository_id examples: - default: &271 + default: &273 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &706 + schema: &708 title: Scim Error description: Scim Error type: object @@ -1736,7 +1736,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &183 + schema: &185 title: Validation Error description: Validation Error type: object @@ -1805,7 +1805,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &274 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1919,7 +1919,7 @@ paths: - request - response examples: - default: &273 + default: &275 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2120,7 +2120,7 @@ paths: parameters: - *17 - *19 - - &145 + - &147 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2846,7 +2846,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &328 + properties: &330 id: description: Unique identifier of the repository example: 42 @@ -2866,7 +2866,7 @@ paths: title: License Simple description: License Simple type: object - properties: &156 + properties: &158 key: type: string example: mit @@ -2888,7 +2888,7 @@ paths: html_url: type: string format: uri - required: &157 + required: &159 - key - name - url @@ -3284,7 +3284,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &329 + required: &331 - archive_url - assignees_url - blobs_url @@ -7357,7 +7357,7 @@ paths: description: Response content: application/json: - schema: &185 + schema: &187 type: object properties: total_active_caches_count: @@ -7372,7 +7372,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &186 + default: &188 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7556,7 +7556,7 @@ paths: - public_ip_enabled - platform examples: - default: &187 + default: &189 value: total_count: 2 runners: @@ -7842,7 +7842,7 @@ paths: description: Response content: application/json: - schema: &188 + schema: &190 type: object properties: public_ips: @@ -7867,7 +7867,7 @@ paths: required: - public_ips examples: - default: &189 + default: &191 value: public_ips: current_usage: 17 @@ -7907,7 +7907,7 @@ paths: type: array items: *45 examples: - default: &190 + default: &192 value: id: 4-core cpu_cores: 4 @@ -8164,7 +8164,7 @@ paths: - all - local_only - selected - selected_actions_url: &193 + selected_actions_url: &195 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -8532,7 +8532,7 @@ paths: description: Success response content: application/json: - schema: &196 + schema: &198 type: object properties: default_workflow_permissions: &53 @@ -8580,7 +8580,7 @@ paths: required: true content: application/json: - schema: &197 + schema: &199 type: object properties: default_workflow_permissions: *53 @@ -9416,7 +9416,7 @@ paths: application/json: schema: type: array - items: &201 + items: &203 title: Runner Application description: Runner Application type: object @@ -9441,7 +9441,7 @@ paths: - download_url - filename examples: - default: &202 + default: &204 value: - os: osx architecture: x64 @@ -9525,7 +9525,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &203 + '201': &205 description: Response content: application/json: @@ -9640,7 +9640,7 @@ paths: - token - expires_at examples: - default: &204 + default: &206 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9680,7 +9680,7 @@ paths: application/json: schema: *65 examples: - default: &205 + default: &207 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9712,7 +9712,7 @@ paths: application/json: schema: *62 examples: - default: &206 + default: &208 value: id: 23 name: MBP @@ -9928,7 +9928,7 @@ paths: - *41 - *61 responses: - '200': &207 + '200': &209 description: Response content: application/json: @@ -9984,7 +9984,7 @@ paths: parameters: - *41 - *61 - - &208 + - &210 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10075,7 +10075,7 @@ paths: required: true content: application/json: - schema: &215 + schema: &217 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10147,7 +10147,7 @@ paths: required: false schema: type: string - - &216 + - &218 name: include description: |- The event types to include: @@ -10165,7 +10165,7 @@ paths: - web - git - all - - &217 + - &219 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -10173,7 +10173,7 @@ paths: required: false schema: type: string - - &218 + - &220 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -10181,7 +10181,7 @@ paths: required: false schema: type: string - - &219 + - &221 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10203,7 +10203,7 @@ paths: application/json: schema: type: array - items: &220 + items: &222 type: object properties: "@timestamp": @@ -10325,7 +10325,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &221 + default: &223 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10926,7 +10926,7 @@ paths: in: query schema: type: string - - &223 + - &225 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -10934,7 +10934,7 @@ paths: required: false schema: type: string - - &224 + - &226 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -10942,7 +10942,7 @@ paths: required: false schema: type: string - - &225 + - &227 name: time_period description: |- The time period to filter by. @@ -10958,7 +10958,7 @@ paths: - week - month default: day - - &226 + - &228 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -10985,7 +10985,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11102,7 +11102,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &230 + items: &232 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11146,7 +11146,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &228 + default: &230 value: - id: 21 number: 42 @@ -11233,7 +11233,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &235 + - &237 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -11243,7 +11243,7 @@ paths: schema: &89 type: string description: The name of the tool used to generate the code scanning analysis. - - &236 + - &238 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -11266,7 +11266,7 @@ paths: be returned. in: query required: false - schema: &237 + schema: &239 type: string description: State of a code scanning alert. enum: @@ -11291,7 +11291,7 @@ paths: application/json: schema: type: array - items: &238 + items: &240 type: object properties: number: &100 @@ -11320,7 +11320,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &464 + instances_url: &466 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11355,7 +11355,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &465 + dismissed_reason: &467 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11364,13 +11364,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &466 + dismissed_comment: &468 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &467 + rule: &469 type: object properties: id: @@ -11423,7 +11423,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &468 + tool: &470 type: object properties: name: *89 @@ -11433,15 +11433,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *90 - most_recent_instance: &469 + most_recent_instance: &471 type: object properties: - ref: &462 + ref: &464 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &479 + analysis_key: &481 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11452,7 +11452,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &480 + category: &482 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11501,7 +11501,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &173 + properties: &175 id: type: integer format: int64 @@ -11728,7 +11728,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &174 + required: &176 - archive_url - assignees_url - blobs_url @@ -11797,7 +11797,7 @@ paths: - most_recent_instance - repository examples: - default: &239 + default: &241 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12614,7 +12614,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &243 type: array description: A list of default code security configurations items: @@ -12630,7 +12630,7 @@ paths: default configuration: *92 examples: - default: &242 + default: &244 value: - default_for_new_repos: public configuration: @@ -13064,7 +13064,7 @@ paths: default: value: default_for_new_repos: all - configuration: &240 + configuration: &242 value: id: 1325 target_type: organization @@ -13147,7 +13147,7 @@ paths: application/json: schema: type: array - items: &243 + items: &245 type: object description: Repositories associated with a code security configuration and attachment status @@ -13171,7 +13171,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &244 + repository: &246 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13660,7 +13660,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &231 + - &233 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13719,7 +13719,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &306 + properties: &308 id: description: Unique identifier of the team type: integer @@ -13775,7 +13775,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &307 + required: &309 - id - node_id - url @@ -14028,7 +14028,7 @@ paths: application/json: schema: type: array - items: &136 + items: &138 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -14335,7 +14335,7 @@ paths: - date additionalProperties: true examples: - default: &137 + default: &139 value: - date: '2024-06-24' total_active_users: 24 @@ -14437,7 +14437,7 @@ paths: '500': *85 '403': *29 '404': *6 - '422': &138 + '422': &140 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -14467,7 +14467,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &251 + - &253 name: state in: query description: |- @@ -14476,7 +14476,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &252 + - &254 name: severity in: query description: |- @@ -14485,7 +14485,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &253 + - &255 name: ecosystem in: query description: |- @@ -14494,14 +14494,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &254 + - &256 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &255 + - &257 name: epss_percentage in: query description: |- @@ -14513,7 +14513,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &256 + - &258 name: has in: query description: |- @@ -14527,7 +14527,7 @@ paths: type: string enum: - patch - - &257 + - &259 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14537,7 +14537,7 @@ paths: enum: - development - runtime - - &258 + - &260 name: sort in: query description: |- @@ -14555,7 +14555,7 @@ paths: - *88 - *86 - *87 - - &259 + - &261 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14568,7 +14568,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &260 + - &262 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14588,7 +14588,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 type: object description: A Dependabot alert. properties: @@ -14651,7 +14651,7 @@ paths: - unknown - direct - transitive - security_advisory: &521 + security_advisory: &523 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14883,7 +14883,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: &522 + auto_dismissed_at: &524 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -14909,7 +14909,7 @@ paths: - repository additionalProperties: false examples: - default: &262 + default: &264 value: - number: 2 state: dismissed @@ -15326,7 +15326,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &222 + - &224 name: username description: The handle for the GitHub user account. in: path @@ -15433,7 +15433,7 @@ paths: - name - created_on examples: - default: &358 + default: &360 value: total_count: 2 network_configurations: @@ -15656,7 +15656,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &359 + - &361 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15668,7 +15668,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &362 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15702,7 +15702,7 @@ paths: - subnet_id - region examples: - default: &361 + default: &363 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15915,7 +15915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *41 - - &172 + - &174 name: org description: The organization name. The name is not case sensitive. in: path @@ -16004,7 +16004,7 @@ paths: required: true content: application/json: - schema: &326 + schema: &328 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16370,7 +16370,7 @@ paths: type: object description: A repository rule. oneOf: - - &640 + - &642 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16382,7 +16382,7 @@ paths: type: string enum: - creation - - &641 + - &643 title: update description: Only allow users with bypass permission to update matching refs. @@ -16403,7 +16403,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &643 + - &645 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16415,7 +16415,7 @@ paths: type: string enum: - deletion - - &644 + - &646 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16427,7 +16427,7 @@ paths: type: string enum: - required_linear_history - - &645 + - &647 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16503,7 +16503,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &646 + - &648 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16527,7 +16527,7 @@ paths: type: string required: - required_deployment_environments - - &647 + - &649 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16539,7 +16539,7 @@ paths: type: string enum: - required_signatures - - &648 + - &650 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16599,7 +16599,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &649 + - &651 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16646,7 +16646,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &650 + - &652 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16658,7 +16658,7 @@ paths: type: string enum: - non_fast_forward - - &651 + - &653 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16694,7 +16694,7 @@ paths: required: - operator - pattern - - &652 + - &654 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16730,7 +16730,7 @@ paths: required: - operator - pattern - - &653 + - &655 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16766,7 +16766,7 @@ paths: required: - operator - pattern - - &654 + - &656 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16802,7 +16802,7 @@ paths: required: - operator - pattern - - &655 + - &657 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16838,7 +16838,7 @@ paths: required: - operator - pattern - - &656 + - &658 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16862,7 +16862,7 @@ paths: type: string required: - restricted_file_paths - - &657 + - &659 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16886,7 +16886,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &658 + - &660 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16909,7 +16909,7 @@ paths: type: string required: - restricted_file_extensions - - &659 + - &661 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16933,7 +16933,7 @@ paths: maximum: 100 required: - max_file_size - - &660 + - &662 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16982,7 +16982,7 @@ paths: - repository_id required: - workflows - - &661 + - &663 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17139,7 +17139,7 @@ paths: nullable: true anyOf: - *123 - - &333 + - &335 title: Organization ruleset conditions type: object description: |- @@ -17420,7 +17420,7 @@ paths: type: string format: date-time examples: - default: &335 + default: &337 value: - version_id: 3 actor: @@ -17473,7 +17473,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &338 allOf: - *133 - type: object @@ -17528,7 +17528,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &337 + - &339 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17539,7 +17539,7 @@ paths: enum: - open - resolved - - &338 + - &340 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17549,7 +17549,7 @@ paths: required: false schema: type: string - - &339 + - &341 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17558,7 +17558,7 @@ paths: required: false schema: type: string - - &340 + - &342 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -17574,7 +17574,7 @@ paths: - *17 - *86 - *87 - - &341 + - &343 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17583,7 +17583,7 @@ paths: required: false schema: type: string - - &342 + - &344 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17592,7 +17592,7 @@ paths: schema: type: boolean default: false - - &343 + - &345 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17601,7 +17601,7 @@ paths: schema: type: boolean default: false - - &344 + - &346 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -17617,7 +17617,7 @@ paths: application/json: schema: type: array - items: &345 + items: &347 type: object properties: number: *100 @@ -17636,14 +17636,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &674 + state: &676 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &675 + resolution: &677 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17750,8 +17750,8 @@ paths: pull request. ' - oneOf: &676 - - &678 + oneOf: &678 + - &680 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -17803,7 +17803,7 @@ paths: - blob_url - commit_sha - commit_url - - &679 + - &681 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -17858,7 +17858,7 @@ paths: - page_url - commit_sha - commit_url - - &680 + - &682 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -17872,7 +17872,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &681 + - &683 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -17886,7 +17886,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &682 + - &684 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -17900,7 +17900,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &683 + - &685 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -17914,7 +17914,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &684 + - &686 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -17928,7 +17928,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &685 + - &687 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -17942,7 +17942,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &686 + - &688 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -17956,7 +17956,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &687 + - &689 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -17970,7 +17970,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &688 + - &690 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -17984,7 +17984,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &689 + - &691 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -17998,7 +17998,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &690 + - &692 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -18018,7 +18018,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &346 + default: &348 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18300,7 +18300,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &351 type: object properties: total_minutes_used: @@ -18370,7 +18370,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &350 + default: &352 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18401,7 +18401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &351 + - &353 name: advanced_security_product in: query description: | @@ -18421,7 +18421,7 @@ paths: description: Success content: application/json: - schema: &352 + schema: &354 type: object properties: total_advanced_security_committers: @@ -18476,7 +18476,7 @@ paths: required: - repositories examples: - default: &353 + default: &355 value: total_advanced_security_committers: 2 total_count: 2 @@ -18579,6 +18579,192 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": + get: + summary: Get a cost center by ID + description: Gets a cost center by ID. The authenticated user must be an enterprise + admin. + tags: + - billing + operationId: billing/get-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id + parameters: + - *41 + - &137 + name: cost_center_id + description: The ID corresponding to the cost center. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response when getting a cost center + content: + application/json: + schema: &135 + type: object + properties: + id: + type: string + description: ID of the cost center. + name: + type: string + description: Name of the cost center. + resources: + type: array + items: + type: object + properties: + type: + type: string + description: Type of the resource. + name: + type: string + description: Name of the resource. + required: + - type + - name + required: + - id + - name + - resources + examples: + default: &136 + value: + - id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 + name: Cost Center Name + resources: + - type: User + name: Monalisa + - type: Repo + name: octocat/hello-world + '400': *14 + '403': *29 + '500': *85 + '503': *134 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing + patch: + summary: Update a cost center name + description: Updates an existing cost center name. + tags: + - billing + operationId: billing/update-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name + parameters: + - name: enterprise + in: path + required: true + schema: + type: string + description: The slug version of the enterprise name + - name: cost_center_id + in: path + required: true + schema: + type: string + description: The unique identifier of the cost center + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - name + properties: + name: + type: string + description: The new name for the cost center + examples: + update-cost-center: + summary: Update cost center name example + value: + name: New Cost Center Name + responses: + '200': + description: Response when updating a cost center + content: + application/json: + schema: *135 + examples: + default: *136 + '400': *14 + '403': *29 + '404': *6 + '409': *96 + '500': *85 + '503': *134 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing + delete: + summary: Delete a cost center + description: Archieves a cost center by ID. The authenticated user must be an + enterprise admin. + tags: + - billing + operationId: billing/delete-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center + parameters: + - *41 + - *137 + responses: + '200': + description: Response when deleting a cost center + content: + application/json: + schema: + type: object + properties: + message: + type: string + description: A message indicating the result of the deletion operation + id: + type: string + description: The unique identifier of the deleted cost center + name: + type: string + description: The name of the deleted cost center + costCenterState: + type: string + enum: + - CostCenterArchived + description: The state of the cost center after deletion + required: + - message + - id + - name + - costCenterState + examples: + default: + value: + message: Cost center successfully deleted. + id: 2066deda-923f-43f9-88d2-62395a28c0cdd + name: cc3 + costCenterState: CostCenterArchived + '400': *14 + '404': *6 + '403': *29 + '500': *85 + '503': *134 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": post: summary: Add users to a cost center @@ -18594,13 +18780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *41 - - &135 - name: cost_center_id - description: The ID corresponding to the cost center. - in: path - required: true - schema: - type: string + - *137 requestBody: required: true content: @@ -18657,7 +18837,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *41 - - *135 + - *137 requestBody: required: true content: @@ -18725,7 +18905,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &356 type: object properties: total_gigabytes_bandwidth_used: @@ -18743,7 +18923,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &355 + default: &357 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18778,7 +18958,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &358 type: object properties: days_left_in_billing_cycle: @@ -18796,7 +18976,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &357 + default: &359 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18821,7 +19001,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &175 + - &177 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18830,7 +19010,7 @@ paths: required: false schema: type: integer - - &176 + - &178 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18839,7 +19019,7 @@ paths: required: false schema: type: integer - - &177 + - &179 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18848,7 +19028,7 @@ paths: required: false schema: type: integer - - &178 + - &180 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18869,7 +19049,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &179 + schema: &181 type: object properties: usageItems: @@ -18922,7 +19102,7 @@ paths: - netAmount - organizationName examples: - default: &180 + default: &182 value: usageItems: - date: '2023-08-01' @@ -19010,13 +19190,13 @@ paths: application/json: schema: type: array - items: *136 + items: *138 examples: - default: *137 + default: *139 '500': *85 '403': *29 '404': *6 - '422': *138 + '422': *140 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19105,7 +19285,7 @@ paths: application/json: schema: type: array - items: &167 + items: &169 title: Event description: Event type: object @@ -19115,7 +19295,7 @@ paths: type: type: string nullable: true - actor: &139 + actor: &141 title: Actor description: Actor type: object @@ -19155,18 +19335,18 @@ paths: - id - name - url - org: *139 + org: *141 payload: type: object properties: action: type: string - issue: &155 + issue: &157 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &579 + properties: &581 id: type: integer format: int64 @@ -19277,7 +19457,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &506 + properties: &508 url: type: string format: uri @@ -19347,7 +19527,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &507 + required: &509 - closed_issues - creator - description @@ -19426,7 +19606,7 @@ paths: timeline_url: type: string format: uri - type: &291 + type: &293 title: Issue Type description: The type of issue. type: object @@ -19485,9 +19665,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 - author_association: &142 + properties: *142 + required: *143 + author_association: &144 title: author_association type: string example: OWNER @@ -19501,7 +19681,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &143 + reactions: &145 title: Reaction Rollup type: object properties: @@ -19551,7 +19731,7 @@ paths: - total - completed - percent_completed - required: &580 + required: &582 - assignee - closed_at - comments @@ -19573,7 +19753,7 @@ paths: - author_association - created_at - updated_at - comment: &577 + comment: &579 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19621,7 +19801,7 @@ paths: issue_url: type: string format: uri - author_association: *142 + author_association: *144 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -19631,9 +19811,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 - reactions: *143 + properties: *142 + required: *143 + reactions: *145 required: - id - node_id @@ -19809,7 +19989,7 @@ paths: _links: type: object properties: - timeline: &144 + timeline: &146 title: Link With Type description: Hypermedia Link with Type type: object @@ -19821,17 +20001,17 @@ paths: required: - href - type - user: *144 - security_advisories: *144 - current_user: *144 - current_user_public: *144 - current_user_actor: *144 - current_user_organization: *144 + user: *146 + security_advisories: *146 + current_user: *146 + current_user_public: *146 + current_user_actor: *146 + current_user_organization: *146 current_user_organizations: type: array - items: *144 - repository_discussions: *144 - repository_discussions_category: *144 + items: *146 + repository_discussions: *146 + repository_discussions_category: *146 required: - timeline - user @@ -19893,7 +20073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *145 + - *147 - *17 - *19 responses: @@ -19903,7 +20083,7 @@ paths: application/json: schema: type: array - items: &146 + items: &148 title: Base Gist description: Base Gist type: object @@ -20002,7 +20182,7 @@ paths: - created_at - updated_at examples: - default: &147 + default: &149 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20123,7 +20303,7 @@ paths: description: Response content: application/json: - schema: &148 + schema: &150 title: Gist Simple description: Gist Simple type: object @@ -20140,7 +20320,7 @@ paths: url: type: string format: uri - user: &745 + user: &747 title: Public User description: Public User type: object @@ -20502,7 +20682,7 @@ paths: truncated: type: boolean examples: - default: &149 + default: &151 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -20606,7 +20786,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *145 + - *147 - *17 - *19 responses: @@ -20616,9 +20796,9 @@ paths: application/json: schema: type: array - items: *146 + items: *148 examples: - default: *147 + default: *149 headers: Link: *40 '422': *15 @@ -20640,7 +20820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *145 + - *147 - *17 - *19 responses: @@ -20650,9 +20830,9 @@ paths: application/json: schema: type: array - items: *146 + items: *148 examples: - default: *147 + default: *149 headers: Link: *40 '401': *25 @@ -20680,7 +20860,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &150 + - &152 name: gist_id description: The unique identifier of the gist. in: path @@ -20692,10 +20872,10 @@ paths: description: Response content: application/json: - schema: *148 + schema: *150 examples: - default: *149 - '403': &153 + default: *151 + '403': &155 description: Forbidden Gist content: application/json: @@ -20743,7 +20923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *150 + - *152 requestBody: required: true content: @@ -20803,9 +20983,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *150 examples: - updateGist: *149 + updateGist: *151 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -20963,7 +21143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *150 + - *152 responses: '204': description: Response @@ -20992,7 +21172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *150 + - *152 - *17 - *19 responses: @@ -21002,7 +21182,7 @@ paths: application/json: schema: type: array - items: &151 + items: &153 title: Gist Comment description: A comment made to a gist. type: object @@ -21037,7 +21217,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *142 + author_association: *144 required: - url - id @@ -21102,7 +21282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *150 + - *152 requestBody: required: true content: @@ -21127,9 +21307,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *153 examples: - default: &152 + default: &154 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21187,8 +21367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *150 - - &154 + - *152 + - &156 name: comment_id description: The unique identifier of the comment. in: path @@ -21201,12 +21381,12 @@ paths: description: Response content: application/json: - schema: *151 + schema: *153 examples: - default: *152 + default: *154 '304': *37 '404': *6 - '403': *153 + '403': *155 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21228,8 +21408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *150 - - *154 + - *152 + - *156 requestBody: required: true content: @@ -21254,9 +21434,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *153 examples: - default: *152 + default: *154 '404': *6 x-github: githubCloudOnly: false @@ -21273,8 +21453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *150 - - *154 + - *152 + - *156 responses: '204': description: Response @@ -21297,7 +21477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *150 + - *152 - *17 - *19 responses: @@ -21398,7 +21578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *150 + - *152 - *17 - *19 responses: @@ -21408,7 +21588,7 @@ paths: application/json: schema: type: array - items: *148 + items: *150 examples: default: value: @@ -21473,13 +21653,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *150 + - *152 responses: '201': description: Response content: application/json: - schema: *146 + schema: *148 examples: default: value: @@ -21550,7 +21730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *150 + - *152 responses: '204': description: Response if gist is starred @@ -21580,7 +21760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *150 + - *152 responses: '204': description: Response @@ -21602,7 +21782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *150 + - *152 responses: '204': description: Response @@ -21631,7 +21811,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *150 + - *152 - name: sha in: path required: true @@ -21642,9 +21822,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *150 examples: - default: *149 + default: *151 '422': *15 '404': *6 '403': *29 @@ -22010,7 +22190,7 @@ paths: - closed - all default: open - - &294 + - &296 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22029,7 +22209,7 @@ paths: - comments default: created - *88 - - *145 + - *147 - name: collab in: query required: false @@ -22059,9 +22239,9 @@ paths: application/json: schema: type: array - items: *155 + items: *157 examples: - default: &295 + default: &297 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22345,8 +22525,8 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 examples: default: value: @@ -22631,7 +22811,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &158 + X-CommonMarker-Version: &160 example: 0.17.4 schema: type: string @@ -22686,7 +22866,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *158 + X-CommonMarker-Version: *160 content: text/html: schema: @@ -22715,7 +22895,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &161 + - &163 name: account_id description: account_id parameter in: path @@ -22727,7 +22907,7 @@ paths: description: Response content: application/json: - schema: &160 + schema: &162 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -22757,7 +22937,7 @@ paths: nullable: true id: type: integer - plan: &159 + plan: &161 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -22846,7 +23026,7 @@ paths: nullable: true updated_at: type: string - plan: *159 + plan: *161 required: - url - id @@ -22854,7 +23034,7 @@ paths: - login - marketplace_purchase examples: - default: &162 + default: &164 value: url: https://api.github.com/orgs/github type: Organization @@ -22939,9 +23119,9 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: &163 + default: &165 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -22981,14 +23161,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &164 + - &166 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &165 + - &167 name: sort description: The property to sort the results by. in: query @@ -23018,9 +23198,9 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: - default: &166 + default: &168 value: - url: https://api.github.com/orgs/github type: Organization @@ -23094,15 +23274,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *161 + - *163 responses: '200': description: Response content: application/json: - schema: *160 + schema: *162 examples: - default: *162 + default: *164 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -23134,9 +23314,9 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *163 + default: *165 headers: Link: *40 '401': *25 @@ -23159,8 +23339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *164 - - *165 + - *166 + - *167 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23180,9 +23360,9 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: - default: *166 + default: *168 headers: Link: *40 '401': *25 @@ -23446,14 +23626,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &381 + - &383 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &382 + - &384 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23470,7 +23650,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -23524,7 +23704,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &395 + '301': &397 description: Moved permanently content: application/json: @@ -23546,7 +23726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &609 + - &611 name: all description: If `true`, show notifications marked as read. in: query @@ -23554,7 +23734,7 @@ paths: schema: type: boolean default: false - - &610 + - &612 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23563,8 +23743,8 @@ paths: schema: type: boolean default: false - - *145 - - &611 + - *147 + - &613 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -23589,18 +23769,18 @@ paths: application/json: schema: type: array - items: &168 + items: &170 title: Thread description: Thread type: object properties: id: type: string - repository: &200 + repository: &202 title: Minimal Repository description: Minimal Repository type: object - properties: &264 + properties: &266 id: type: integer format: int64 @@ -23876,7 +24056,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &330 + security_and_analysis: &332 nullable: true type: object properties: @@ -23954,7 +24134,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &265 + required: &267 - archive_url - assignees_url - blobs_url @@ -24042,7 +24222,7 @@ paths: - url - subscription_url examples: - default: &612 + default: &614 value: - id: '1' repository: @@ -24208,7 +24388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &169 + - &171 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -24222,7 +24402,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24325,7 +24505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *169 + - *171 responses: '205': description: Reset Content @@ -24348,7 +24528,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *169 + - *171 responses: '204': description: No content @@ -24371,13 +24551,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *169 + - *171 responses: '200': description: Response content: application/json: - schema: &170 + schema: &172 title: Thread Subscription description: Thread Subscription type: object @@ -24414,7 +24594,7 @@ paths: - url - subscribed examples: - default: &171 + default: &173 value: subscribed: true ignored: false @@ -24445,7 +24625,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *169 + - *171 requestBody: required: false content: @@ -24466,9 +24646,9 @@ paths: description: Response content: application/json: - schema: *170 + schema: *172 examples: - default: *171 + default: *173 '304': *37 '403': *29 '401': *25 @@ -24491,7 +24671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *169 + - *171 responses: '204': description: Response @@ -24588,7 +24768,7 @@ paths: type: array items: *59 examples: - default: &763 + default: &765 value: - login: github id: 1 @@ -24652,7 +24832,7 @@ paths: type: integer custom_roles: type: array - items: &246 + items: &248 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24700,7 +24880,7 @@ paths: - created_at - updated_at examples: - default: &247 + default: &249 value: id: 8030 name: Security Engineer @@ -24734,9 +24914,9 @@ paths: deprecated: true "/organizations/{org}/dependabot/repository-access": get: - summary: Lists repositories that organization admins have allowed Dependabot - to access when updating dependencies. + summary: Lists the repositories Dependabot can access in an organization description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -24745,9 +24925,9 @@ paths: operationId: dependabot/repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *172 + - *174 - name: page in: query description: The page number of results to fetch. @@ -24791,8 +24971,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *173 - required: *174 + properties: *175 + required: *176 nullable: true additionalProperties: false examples: @@ -24876,9 +25056,10 @@ paths: category: dependabot subcategory: repository-access patch: - summary: Updates repositories to the list of repositories that organization - admins have allowed Dependabot to access when updating dependencies. + summary: Updates Dependabot's repository access list for an organization description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -24895,9 +25076,9 @@ paths: operationId: dependabot/update-repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -24949,13 +25130,13 @@ paths: put: summary: Set the default repository access level for Dependabot description: |- - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. Sets the default level of repository access Dependabot will have while performing an update. Available values are: - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. tags: - dependabot operationId: dependabot/set-repository-access-default-level @@ -24963,7 +25144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *172 + - *174 requestBody: required: true content: @@ -25010,19 +25191,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *172 - - *175 - - *176 + - *174 - *177 - *178 + - *179 + - *180 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *179 + schema: *181 examples: - default: *180 + default: *182 '400': *14 '403': *29 '500': *85 @@ -25052,13 +25233,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: &181 + schema: &183 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -25391,7 +25572,7 @@ paths: - updated_at - archived_at examples: - default-response: &182 + default-response: &184 value: login: github id: 1 @@ -25493,7 +25674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *172 + - *174 requestBody: required: false content: @@ -25716,17 +25897,17 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 '422': description: Validation failed content: application/json: schema: oneOf: - - *183 - - *184 + - *185 + - *186 '409': *96 x-github: githubCloudOnly: false @@ -25750,7 +25931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *172 + - *174 responses: '202': *39 '404': *6 @@ -25775,15 +25956,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *185 + schema: *187 examples: - default: *186 + default: *188 headers: Link: *40 x-github: @@ -25806,7 +25987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -25824,7 +26005,7 @@ paths: type: integer repository_cache_usages: type: array - items: &400 + items: &402 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25879,7 +26060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -25899,7 +26080,7 @@ paths: type: array items: *42 examples: - default: *187 + default: *189 headers: Link: *40 x-github: @@ -25919,7 +26100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -26006,7 +26187,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26042,7 +26223,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26077,15 +26258,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26103,7 +26284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26121,7 +26302,7 @@ paths: type: array items: *45 examples: - default: *190 + default: *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26139,7 +26320,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26183,7 +26364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *47 responses: '200': @@ -26212,7 +26393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *47 requestBody: required: true @@ -26269,7 +26450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *47 responses: '202': @@ -26298,13 +26479,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *172 + - *174 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &191 + schema: &193 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -26318,7 +26499,7 @@ paths: required: - include_claim_keys examples: - default: &192 + default: &194 value: include_claim_keys: - repo @@ -26340,20 +26521,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 responses: '201': description: Empty response content: application/json: - schema: &211 + schema: &213 title: Empty Object description: An object without any properties. type: object @@ -26383,7 +26564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26392,7 +26573,7 @@ paths: schema: type: object properties: - enabled_repositories: &194 + enabled_repositories: &196 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -26406,7 +26587,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *193 + selected_actions_url: *195 required: - enabled_repositories examples: @@ -26435,7 +26616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *172 + - *174 responses: '204': description: Response @@ -26446,7 +26627,7 @@ paths: schema: type: object properties: - enabled_repositories: *194 + enabled_repositories: *196 allowed_actions: *49 required: - enabled_repositories @@ -26474,7 +26655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -26494,7 +26675,7 @@ paths: type: array items: *64 examples: - default: &757 + default: &759 value: total_count: 1 repositories: @@ -26634,7 +26815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *172 + - *174 responses: '204': description: Response @@ -26678,8 +26859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *172 - - &195 + - *174 + - &197 name: repository_id description: The unique identifier of the repository. in: path @@ -26707,8 +26888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *172 - - *195 + - *174 + - *197 responses: '204': description: Response @@ -26731,7 +26912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26762,7 +26943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *172 + - *174 responses: '204': description: Response @@ -26794,13 +26975,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *196 + schema: *198 examples: default: *55 x-github: @@ -26823,7 +27004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *172 + - *174 responses: '204': description: Success response @@ -26834,7 +27015,7 @@ paths: required: false content: application/json: - schema: *197 + schema: *199 examples: default: *55 x-github: @@ -26856,7 +27037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *172 + - *174 - *17 - *19 - name: visible_to_repository @@ -26881,7 +27062,7 @@ paths: type: number runner_groups: type: array - items: &198 + items: &200 type: object properties: id: @@ -26997,7 +27178,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -27069,9 +27250,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: &199 + default: &201 value: id: 2 name: octo-runner-group @@ -27106,14 +27287,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *172 + - *174 - *58 responses: '200': description: Response content: application/json: - schema: *198 + schema: *200 examples: default: value: @@ -27149,7 +27330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *172 + - *174 - *58 requestBody: required: true @@ -27204,9 +27385,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: *199 + default: *201 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27225,7 +27406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *172 + - *174 - *58 responses: '204': @@ -27249,7 +27430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *172 + - *174 - *58 - *17 - *19 @@ -27270,7 +27451,7 @@ paths: type: array items: *42 examples: - default: *187 + default: *189 headers: Link: *40 x-github: @@ -27292,7 +27473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *172 + - *174 - *58 - *19 - *17 @@ -27311,9 +27492,9 @@ paths: type: number repositories: type: array - items: *200 + items: *202 examples: - default: &748 + default: &750 value: total_count: 1 repositories: @@ -27565,7 +27746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *172 + - *174 - *58 requestBody: required: true @@ -27610,9 +27791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *172 + - *174 - *58 - - *195 + - *197 responses: '204': description: Response @@ -27634,9 +27815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *172 + - *174 - *58 - - *195 + - *197 responses: '204': description: Response @@ -27659,7 +27840,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *172 + - *174 - *58 - *17 - *19 @@ -27701,7 +27882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *172 + - *174 - *58 requestBody: required: true @@ -27746,7 +27927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *172 + - *174 - *58 - *61 responses: @@ -27770,7 +27951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *172 + - *174 - *58 - *61 responses: @@ -27802,7 +27983,7 @@ paths: in: query schema: type: string - - *172 + - *174 - *17 - *19 responses: @@ -27846,7 +28027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -27854,9 +28035,9 @@ paths: application/json: schema: type: array - items: *201 + items: *203 examples: - default: *202 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27878,7 +28059,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -27921,7 +28102,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *203 + '201': *205 '404': *6 '422': *7 '409': *96 @@ -27952,7 +28133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *172 + - *174 responses: '201': description: Response @@ -27960,7 +28141,7 @@ paths: application/json: schema: *65 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27988,7 +28169,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *172 + - *174 responses: '201': description: Response @@ -27996,7 +28177,7 @@ paths: application/json: schema: *65 examples: - default: *205 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28018,7 +28199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 responses: '200': @@ -28027,7 +28208,7 @@ paths: application/json: schema: *62 examples: - default: *206 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28048,7 +28229,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *172 + - *174 - *61 responses: '204': @@ -28075,7 +28256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 responses: '200': *67 @@ -28100,7 +28281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 requestBody: required: true @@ -28149,7 +28330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 requestBody: required: true @@ -28199,10 +28380,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 responses: - '200': *207 + '200': *209 '404': *6 x-github: githubCloudOnly: false @@ -28229,9 +28410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 - - *208 + - *210 responses: '200': *67 '404': *6 @@ -28258,7 +28439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *172 + - *174 - *17 - *19 responses: @@ -28276,7 +28457,7 @@ paths: type: integer secrets: type: array - items: &209 + items: &211 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -28349,13 +28530,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: &420 + schema: &422 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28384,7 +28565,7 @@ paths: - key_id - key examples: - default: &421 + default: &423 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28409,8 +28590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *172 - - &210 + - *174 + - &212 name: secret_name description: The name of the secret. in: path @@ -28422,7 +28603,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -28452,8 +28633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -28510,7 +28691,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -28536,8 +28717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 responses: '204': description: Response @@ -28563,8 +28744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - *19 - *17 responses: @@ -28582,9 +28763,9 @@ paths: type: integer repositories: type: array - items: *200 + items: *202 examples: - default: &214 + default: &216 value: total_count: 1 repositories: @@ -28676,8 +28857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -28729,8 +28910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -28763,8 +28944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -28796,8 +28977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *172 - - &405 + - *174 + - &407 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -28821,7 +29002,7 @@ paths: type: integer variables: type: array - items: &212 + items: &214 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28906,7 +29087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *172 + - *174 requestBody: required: true content: @@ -28954,7 +29135,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -28979,8 +29160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *172 - - &213 + - *174 + - &215 name: name description: The name of the variable. in: path @@ -28992,7 +29173,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: default: value: @@ -29022,8 +29203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 requestBody: required: true content: @@ -29085,8 +29266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 responses: '204': description: Response @@ -29112,8 +29293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 - *19 - *17 responses: @@ -29131,9 +29312,9 @@ paths: type: integer repositories: type: array - items: *200 + items: *202 examples: - default: *214 + default: *216 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29159,8 +29340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 requestBody: required: true content: @@ -29209,8 +29390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 - name: repository_id in: path required: true @@ -29244,8 +29425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 - name: repository_id in: path required: true @@ -29276,7 +29457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -29303,11 +29484,11 @@ paths: required: true content: application/json: - schema: *215 + schema: *217 examples: default: *71 parameters: - - *172 + - *174 responses: '200': description: Response @@ -29331,7 +29512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *172 + - *174 responses: '204': description: Response @@ -29359,7 +29540,7 @@ paths: - *17 - *86 - *87 - - *172 + - *174 requestBody: required: true content: @@ -29382,12 +29563,12 @@ paths: required: - subject_digests examples: - default: &778 + default: &780 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &779 + withPredicateType: &781 value: subject_digests: - sha256:abc123 @@ -29445,7 +29626,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &780 + default: &782 value: attestations_subject_digests: - sha256:abc: @@ -29554,7 +29735,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *172 + - *174 requestBody: required: true content: @@ -29619,7 +29800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *172 + - *174 - name: subject_digest description: Subject Digest in: path @@ -29650,7 +29831,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *172 + - *174 - name: attestation_id description: Attestation ID in: path @@ -29688,7 +29869,7 @@ paths: - *17 - *86 - *87 - - *172 + - *174 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -29739,7 +29920,7 @@ paths: bundle_url: type: string examples: - default: &434 + default: &436 value: attestations: - bundle: @@ -29857,7 +30038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *172 + - *174 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -29865,10 +30046,10 @@ paths: required: false schema: type: string - - *216 - - *217 - *218 - *219 + - *220 + - *221 - *17 responses: '200': @@ -29877,9 +30058,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *221 + default: *223 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29896,7 +30077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -29908,7 +30089,7 @@ paths: type: array items: *4 examples: - default: &296 + default: &298 value: - login: octocat id: 1 @@ -29946,8 +30127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: If the user is blocked @@ -29972,8 +30153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -29993,8 +30174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -30020,17 +30201,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *172 - - &229 + - *174 + - &231 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *223 - - *224 - *225 - *226 + - *227 + - *228 - *17 - *19 responses: @@ -30040,9 +30221,9 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: - default: *228 + default: *230 '404': *6 '500': *85 "/orgs/{org}/bypass-requests/secret-scanning": @@ -30065,12 +30246,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *172 - - *229 - - *223 - - *224 + - *174 + - *231 - *225 - *226 + - *227 + - *228 - *17 - *19 responses: @@ -30080,7 +30261,7 @@ paths: application/json: schema: type: array - items: &451 + items: &453 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -30194,7 +30375,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *230 + items: *232 url: type: string format: uri @@ -30205,7 +30386,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &452 + default: &454 value: - id: 21 number: 42 @@ -30289,7 +30470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *172 + - *174 - *19 - *17 - *88 @@ -30297,7 +30478,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &232 + schema: &234 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -30323,7 +30504,7 @@ paths: application/json: schema: type: array - items: &233 + items: &235 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -30354,7 +30535,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *231 + items: *233 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -30372,7 +30553,7 @@ paths: type: string format: date-time nullable: true - state: *232 + state: *234 contact_link: description: The contact link of the campaign. type: string @@ -30493,7 +30674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -30587,9 +30768,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: &234 + default: &236 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -30660,7 +30841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *172 + - *174 - name: campaign_number description: The campaign number. in: path @@ -30672,9 +30853,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 '404': *6 '422': description: Unprocessable Entity @@ -30702,7 +30883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *172 + - *174 - name: campaign_number description: The campaign number. in: path @@ -30751,7 +30932,7 @@ paths: type: string format: uri nullable: true - state: *232 + state: *234 examples: default: value: @@ -30761,9 +30942,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 '400': description: Bad Request content: @@ -30796,7 +30977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *172 + - *174 - name: campaign_number description: The campaign number. in: path @@ -30829,9 +31010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *172 - - *235 - - *236 + - *174 + - *237 + - *238 - *86 - *87 - *19 @@ -30842,7 +31023,7 @@ paths: be returned. in: query required: false - schema: *237 + schema: *239 - name: sort description: The property by which to sort the results. in: query @@ -30858,7 +31039,7 @@ paths: be returned. in: query required: false - schema: &463 + schema: &465 type: string description: Severity of a code scanning alert. enum: @@ -30876,9 +31057,9 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *40 '404': *6 @@ -30904,7 +31085,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *172 + - *174 - name: target_type in: query description: The target type of the code security configuration @@ -31015,7 +31196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *172 + - *174 requestBody: required: true content: @@ -31219,7 +31400,7 @@ paths: application/json: schema: *92 examples: - default: *240 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31241,15 +31422,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: *242 + default: *244 '304': *37 '403': *29 '404': *6 @@ -31275,7 +31456,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *172 + - *174 requestBody: required: true content: @@ -31324,7 +31505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *172 + - *174 - *94 responses: '200': @@ -31333,7 +31514,7 @@ paths: application/json: schema: *92 examples: - default: *240 + default: *242 '304': *37 '403': *29 '404': *6 @@ -31357,7 +31538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *172 + - *174 - *94 requestBody: required: true @@ -31596,7 +31777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *172 + - *174 - *94 responses: '204': *120 @@ -31627,7 +31808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *172 + - *174 - *94 requestBody: required: true @@ -31691,7 +31872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *172 + - *174 - *94 requestBody: required: true @@ -31737,7 +31918,7 @@ paths: default: value: default_for_new_repos: all - configuration: *240 + configuration: *242 '403': *29 '404': *6 x-github: @@ -31761,7 +31942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *172 + - *174 - *94 - name: per_page description: The number of results per page (max 100). For more information, @@ -31790,13 +31971,13 @@ paths: application/json: schema: type: array - items: *243 + items: *245 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *244 + repository: *246 '403': *29 '404': *6 x-github: @@ -31820,7 +32001,7 @@ paths: parameters: - *17 - *19 - - *172 + - *174 responses: '200': description: Response @@ -31836,7 +32017,7 @@ paths: type: integer codespaces: type: array - items: &297 + items: &299 type: object title: Codespace description: A codespace. @@ -31861,12 +32042,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *200 + repository: *202 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &492 + properties: &494 name: type: string description: The name of the machine. @@ -31908,7 +32089,7 @@ paths: - ready - in_progress nullable: true - required: &493 + required: &495 - name - display_name - operating_system @@ -32113,7 +32294,7 @@ paths: - pulls_url - recent_folders examples: - default: &298 + default: &300 value: total_count: 3 codespaces: @@ -32545,7 +32726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *172 + - *174 deprecated: true requestBody: required: true @@ -32612,7 +32793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *172 + - *174 deprecated: true requestBody: required: true @@ -32667,7 +32848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *172 + - *174 requestBody: required: true content: @@ -32719,7 +32900,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *172 + - *174 - *17 - *19 responses: @@ -32737,7 +32918,7 @@ paths: type: integer secrets: type: array - items: &245 + items: &247 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32776,7 +32957,7 @@ paths: - updated_at - visibility examples: - default: &494 + default: &496 value: total_count: 2 secrets: @@ -32808,13 +32989,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: &495 + schema: &497 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32843,7 +33024,7 @@ paths: - key_id - key examples: - default: &496 + default: &498 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32866,16 +33047,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 responses: '200': description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: &498 + default: &500 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -32902,8 +33083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -32958,7 +33139,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -32984,8 +33165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 responses: '204': description: Response @@ -33010,8 +33191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - *19 - *17 responses: @@ -33029,9 +33210,9 @@ paths: type: integer repositories: type: array - items: *200 + items: *202 examples: - default: *214 + default: *216 '404': *6 x-github: githubCloudOnly: false @@ -33053,8 +33234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -33104,8 +33285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -33138,8 +33319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -33178,7 +33359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *172 + - *174 responses: '200': description: OK @@ -33319,7 +33500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *172 + - *174 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -33380,7 +33561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *172 + - *174 requestBody: content: application/json: @@ -33458,7 +33639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *172 + - *174 requestBody: content: application/json: @@ -33538,7 +33719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *172 + - *174 requestBody: content: application/json: @@ -33615,7 +33796,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *172 + - *174 requestBody: content: application/json: @@ -33696,7 +33877,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *172 + - *174 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -33728,13 +33909,13 @@ paths: application/json: schema: type: array - items: *136 + items: *138 examples: - default: *137 + default: *139 '500': *85 '403': *29 '404': *6 - '422': *138 + '422': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33756,7 +33937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *172 + - *174 - *17 - name: page description: Page token @@ -33900,7 +34081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *172 + - *174 - name: credential_id in: path required: true @@ -33931,7 +34112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *172 + - *174 responses: '200': description: Response - list of custom role names @@ -33946,7 +34127,7 @@ paths: type: integer custom_roles: type: array - items: *246 + items: *248 examples: default: value: @@ -34033,12 +34214,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *172 + - *174 requestBody: required: true content: application/json: - schema: &249 + schema: &251 type: object properties: name: @@ -34079,9 +34260,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '422': *15 '404': *6 x-github: @@ -34105,8 +34286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *172 - - &248 + - *174 + - &250 name: role_id description: The unique identifier of the role. in: path @@ -34118,9 +34299,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '404': *6 x-github: githubCloudOnly: true @@ -34142,13 +34323,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *172 - - *248 + - *174 + - *250 requestBody: required: true content: application/json: - schema: &250 + schema: &252 type: object properties: name: @@ -34186,9 +34367,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '422': *15 '404': *6 x-github: @@ -34212,8 +34393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *172 - - *248 + - *174 + - *250 responses: '204': description: Response @@ -34241,12 +34422,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *172 + - *174 requestBody: required: true content: application/json: - schema: *249 + schema: *251 examples: default: value: @@ -34260,9 +34441,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '422': *15 '404': *6 x-github: @@ -34292,16 +34473,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *172 - - *248 + - *174 + - *250 responses: '200': description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '404': *6 x-github: githubCloudOnly: true @@ -34329,13 +34510,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *172 - - *248 + - *174 + - *250 requestBody: required: true content: application/json: - schema: *250 + schema: *252 examples: default: value: @@ -34350,9 +34531,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '422': *15 '404': *6 x-github: @@ -34382,8 +34563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *172 - - *248 + - *174 + - *250 responses: '204': description: Response @@ -34411,20 +34592,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *172 - - *251 - - *252 + - *174 - *253 - *254 - *255 - *256 - *257 - *258 + - *259 + - *260 - *88 - *86 - *87 - - *259 - - *260 + - *261 + - *262 - *17 responses: '200': @@ -34433,9 +34614,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *262 + default: *264 '304': *37 '400': *14 '403': *29 @@ -34461,7 +34642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *172 + - *174 - *17 - *19 responses: @@ -34479,7 +34660,7 @@ paths: type: integer secrets: type: array - items: &263 + items: &265 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -34550,13 +34731,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: &525 + schema: &527 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -34573,7 +34754,7 @@ paths: - key_id - key examples: - default: &526 + default: &528 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34596,14 +34777,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: default: value: @@ -34631,8 +34812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -34687,7 +34868,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -34711,8 +34892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 responses: '204': description: Response @@ -34736,8 +34917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - *19 - *17 responses: @@ -34755,9 +34936,9 @@ paths: type: integer repositories: type: array - items: *200 + items: *202 examples: - default: *214 + default: *216 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34778,8 +34959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -34829,8 +35010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -34861,8 +35042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -34898,8 +35079,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *172 - - &534 + - *174 + - &536 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -34907,7 +35088,7 @@ paths: required: false schema: type: string - - &535 + - &537 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -34915,7 +35096,7 @@ paths: required: false schema: type: string - - &536 + - &538 name: time_period description: |- The time period to filter by. @@ -34931,7 +35112,7 @@ paths: - week - month default: month - - &537 + - &539 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -34946,7 +35127,7 @@ paths: - denied - all default: all - - *229 + - *231 - *17 - *19 responses: @@ -34956,7 +35137,7 @@ paths: application/json: schema: type: array - items: &538 + items: &540 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -35112,7 +35293,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &539 + default: &541 value: - id: 21 number: 42 @@ -35198,12 +35379,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *172 - - *229 - - *223 - - *224 + - *174 + - *231 - *225 - - &540 + - *226 + - *227 + - &542 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -35229,7 +35410,7 @@ paths: application/json: schema: type: array - items: &541 + items: &543 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -35339,7 +35520,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *230 + items: *232 url: type: string format: uri @@ -35350,7 +35531,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &542 + default: &544 value: - id: 21 number: 42 @@ -35430,7 +35611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -35438,7 +35619,7 @@ paths: application/json: schema: type: array - items: &309 + items: &311 title: Package description: A software package type: object @@ -35488,8 +35669,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *264 - required: *265 + properties: *266 + required: *267 nullable: true created_at: type: string @@ -35508,7 +35689,7 @@ paths: - created_at - updated_at examples: - default: &310 + default: &312 value: - id: 197 name: hello_docker @@ -35586,7 +35767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *172 + - *174 - *17 - *19 responses: @@ -35596,7 +35777,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: 200-response: value: @@ -35666,7 +35847,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *172 + - *174 - name: group_id description: The unique identifier of the group. in: path @@ -35692,7 +35873,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &378 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -35773,7 +35954,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &377 + default: &379 value: group_id: '123' group_name: Octocat admins @@ -35811,7 +35992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *172 + - *174 - *17 - name: page description: Page token @@ -35828,7 +36009,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -35865,7 +36046,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &375 + default: &377 value: groups: - group_id: '123' @@ -35899,7 +36080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *172 + - *174 - *17 - *19 responses: @@ -35909,7 +36090,7 @@ paths: application/json: schema: type: array - items: &288 + items: &290 title: Organization Invitation description: Organization Invitation type: object @@ -35956,7 +36137,7 @@ paths: - invitation_teams_url - node_id examples: - default: &289 + default: &291 value: - id: 1 login: monalisa @@ -36015,7 +36196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -36023,7 +36204,7 @@ paths: application/json: schema: type: array - items: &331 + items: &333 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -36037,7 +36218,7 @@ paths: - name - description examples: - default: &332 + default: &334 value: - name: add_assignee description: Assign or remove a user @@ -36068,7 +36249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *172 + - *174 - *17 - *19 responses: @@ -36078,7 +36259,7 @@ paths: application/json: schema: type: array - items: &266 + items: &268 title: Org Hook description: Org Hook type: object @@ -36187,7 +36368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *172 + - *174 requestBody: required: true content: @@ -36247,9 +36428,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: &267 + default: &269 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -36293,8 +36474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *172 - - &268 + - *174 + - &270 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -36307,9 +36488,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '404': *6 x-github: githubCloudOnly: false @@ -36330,8 +36511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 requestBody: required: false content: @@ -36376,7 +36557,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -36415,8 +36596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 responses: '204': description: Response @@ -36441,8 +36622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *172 - - *268 + - *174 + - *270 responses: '200': description: Response @@ -36470,8 +36651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *172 - - *268 + - *174 + - *270 requestBody: required: false content: @@ -36519,10 +36700,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 - *17 - - *269 + - *271 responses: '200': description: Response @@ -36530,9 +36711,9 @@ paths: application/json: schema: type: array - items: *270 + items: *272 examples: - default: *271 + default: *273 '400': *14 '422': *15 x-github: @@ -36555,17 +36736,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 - *16 responses: '200': description: Response content: application/json: - schema: *272 + schema: *274 examples: - default: *273 + default: *275 '400': *14 '422': *15 x-github: @@ -36588,8 +36769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 - *16 responses: '202': *39 @@ -36615,8 +36796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 responses: '204': description: Response @@ -36638,8 +36819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *172 - - &278 + - *174 + - &280 name: actor_type in: path description: The type of the actor @@ -36652,14 +36833,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &279 + - &281 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &274 + - &276 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -36667,7 +36848,7 @@ paths: required: true schema: type: string - - &275 + - &277 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -36760,13 +36941,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *172 - - *274 - - *275 + - *174 + - *276 + - *277 - *19 - *17 - *88 - - &284 + - &286 name: sort description: The property to sort the results by. in: query @@ -36844,15 +37025,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *172 - - *274 - - *275 + - *174 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: &276 + schema: &278 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -36868,7 +37049,7 @@ paths: type: integer format: int64 examples: - default: &277 + default: &279 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -36888,24 +37069,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *172 - - &280 + - *174 + - &282 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *274 - - *275 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: enabledForGitHubApps: true category: orgs @@ -36923,19 +37104,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *172 - - *274 - - *275 - - *278 - - *279 + - *174 + - *276 + - *277 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: enabledForGitHubApps: true category: orgs @@ -36952,10 +37133,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *172 - - *274 - - *275 - - &281 + - *174 + - *276 + - *277 + - &283 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -36968,7 +37149,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &284 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -36984,7 +37165,7 @@ paths: type: integer format: int64 examples: - default: &283 + default: &285 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -37020,19 +37201,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *172 - - *280 - - *274 - - *275 - - *281 + - *174 + - *282 + - *276 + - *277 + - *283 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: *283 + default: *285 x-github: enabledForGitHubApps: true category: orgs @@ -37049,20 +37230,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *172 - - *278 - - *279 - - *274 - - *275 + - *174 + - *280 - *281 + - *276 + - *277 + - *283 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: *283 + default: *285 x-github: enabledForGitHubApps: true category: orgs @@ -37079,14 +37260,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *172 - - *280 - - *274 - - *275 + - *174 + - *282 + - *276 + - *277 - *19 - *17 - *88 - - *284 + - *286 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -37159,7 +37340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *172 + - *174 responses: '200': description: Response @@ -37167,7 +37348,7 @@ paths: application/json: schema: *22 examples: - default: &573 + default: &575 value: id: 1 account: @@ -37236,7 +37417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -37325,7 +37506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -37333,12 +37514,12 @@ paths: application/json: schema: anyOf: - - &286 + - &288 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &285 + limit: &287 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -37363,7 +37544,7 @@ paths: properties: {} additionalProperties: false examples: - default: &287 + default: &289 value: limit: collaborators_only origin: organization @@ -37387,18 +37568,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: application/json: - schema: &574 + schema: &576 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *285 + limit: *287 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -37422,9 +37603,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -37442,7 +37623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *172 + - *174 responses: '204': description: Response @@ -37468,7 +37649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *172 + - *174 - *17 - *19 - name: role @@ -37502,9 +37683,9 @@ paths: application/json: schema: type: array - items: *288 + items: *290 examples: - default: *289 + default: *291 headers: Link: *40 '404': *6 @@ -37528,7 +37709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *172 + - *174 requestBody: required: false content: @@ -37582,7 +37763,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: default: value: @@ -37638,8 +37819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *172 - - &290 + - *174 + - &292 name: invitation_id description: The unique identifier of the invitation. in: path @@ -37672,8 +37853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *172 - - *290 + - *174 + - *292 - *17 - *19 responses: @@ -37683,9 +37864,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: &308 + default: &310 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -37720,7 +37901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -37728,7 +37909,7 @@ paths: application/json: schema: type: array - items: *291 + items: *293 examples: default: value: @@ -37766,7 +37947,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -37813,9 +37994,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: &292 + default: &294 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -37847,8 +38028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *172 - - &293 + - *174 + - &295 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -37901,9 +38082,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *292 + default: *294 '404': *6 '422': *7 x-github: @@ -37927,8 +38108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *172 - - *293 + - *174 + - *295 responses: '204': description: Response @@ -37961,7 +38142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *172 + - *174 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -37991,7 +38172,7 @@ paths: - closed - all default: open - - *294 + - *296 - name: type description: Can be the name of an issue type. in: query @@ -38010,7 +38191,7 @@ paths: - comments default: created - *88 - - *145 + - *147 - *17 - *19 responses: @@ -38020,9 +38201,9 @@ paths: application/json: schema: type: array - items: *155 + items: *157 examples: - default: *295 + default: *297 headers: Link: *40 '404': *6 @@ -38044,7 +38225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *172 + - *174 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -38082,7 +38263,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '422': *15 @@ -38102,8 +38283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response if requester is an organization member and user is @@ -38134,8 +38315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -38161,8 +38342,8 @@ paths: parameters: - *17 - *19 - - *172 - - *222 + - *174 + - *224 responses: '200': description: Response @@ -38178,9 +38359,9 @@ paths: type: integer codespaces: type: array - items: *297 + items: *299 examples: - default: *298 + default: *300 '304': *37 '500': *85 '401': *25 @@ -38205,9 +38386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *172 - - *222 - - &299 + - *174 + - *224 + - &301 name: codespace_name in: path required: true @@ -38240,17 +38421,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *172 - - *222 - - *299 + - *174 + - *224 + - *301 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: &491 + default: &493 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -38423,8 +38604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -38498,14 +38679,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '200': description: Response content: application/json: - schema: &300 + schema: &302 title: Org Membership description: Org Membership type: object @@ -38557,7 +38738,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &301 + response-if-user-has-an-active-admin-membership-with-organization: &303 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -38625,8 +38806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 requestBody: required: false content: @@ -38654,9 +38835,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: - response-if-user-already-had-membership-with-organization: *301 + response-if-user-already-had-membership-with-organization: *303 '422': *15 '403': *29 x-github: @@ -38677,8 +38858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -38703,7 +38884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *172 + - *174 - *17 - *19 - name: exclude @@ -38724,7 +38905,7 @@ paths: application/json: schema: type: array - items: &302 + items: &304 title: Migration description: A migration. type: object @@ -38977,7 +39158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *172 + - *174 requestBody: required: true content: @@ -39053,7 +39234,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -39231,8 +39412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *172 - - &303 + - *174 + - &305 name: migration_id description: The unique identifier of the migration. in: path @@ -39259,7 +39440,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -39428,8 +39609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *172 - - *303 + - *174 + - *305 responses: '302': description: Response @@ -39450,8 +39631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *172 - - *303 + - *174 + - *305 responses: '204': description: Response @@ -39474,9 +39655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *172 - - *303 - - &762 + - *174 + - *305 + - &764 name: repo_name description: repo_name parameter in: path @@ -39503,8 +39684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *172 - - *303 + - *174 + - *305 - *17 - *19 responses: @@ -39514,9 +39695,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: &315 + default: &317 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39655,7 +39836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -39709,7 +39890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response - list of organization roles @@ -39725,7 +39906,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &304 + items: &306 title: Organization Role description: Organization roles type: object @@ -39885,7 +40066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *172 + - *174 requestBody: required: true content: @@ -39932,7 +40113,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -39983,8 +40164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *172 - - &305 + - *174 + - &307 name: team_slug description: The slug of the team name. in: path @@ -40015,9 +40196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *172 - - *305 - - *248 + - *174 + - *307 + - *250 responses: '204': description: Response @@ -40046,9 +40227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *172 - - *305 - - *248 + - *174 + - *307 + - *250 responses: '204': description: Response @@ -40073,8 +40254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -40099,9 +40280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *172 - - *222 - - *248 + - *174 + - *224 + - *250 responses: '204': description: Response @@ -40131,9 +40312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *172 - - *222 - - *248 + - *174 + - *224 + - *250 responses: '204': description: Response @@ -40161,14 +40342,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *172 - - *248 + - *174 + - *250 responses: '200': description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -40225,8 +40406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *172 - - *248 + - *174 + - *250 requestBody: required: true content: @@ -40265,7 +40446,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -40318,8 +40499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *172 - - *248 + - *174 + - *250 responses: '204': description: Response @@ -40344,8 +40525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *172 - - *248 + - *174 + - *250 - *17 - *19 responses: @@ -40423,8 +40604,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *306 - required: *307 + properties: *308 + required: *309 nullable: true required: - id @@ -40439,7 +40620,7 @@ paths: - slug - parent examples: - default: *308 + default: *310 headers: Link: *40 '404': @@ -40468,8 +40649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *172 - - *248 + - *174 + - *250 - *17 - *19 responses: @@ -40497,13 +40678,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &348 + items: &350 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *306 - required: *307 + properties: *308 + required: *309 name: nullable: true type: string @@ -40598,7 +40779,7 @@ paths: - type - url examples: - default: *296 + default: *298 headers: Link: *40 '404': @@ -40622,7 +40803,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *172 + - *174 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -40649,7 +40830,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -40674,8 +40855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *172 - - *222 + - *174 + - *224 requestBody: required: false content: @@ -40732,8 +40913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -40790,8 +40971,8 @@ paths: - docker - nuget - container - - *172 - - &764 + - *174 + - &766 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40827,12 +41008,12 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *310 + default: *312 '403': *29 '401': *25 - '400': &766 + '400': &768 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -40854,7 +41035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &311 + - &313 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -40872,20 +41053,20 @@ paths: - docker - nuget - container - - &312 + - &314 name: package_name description: The name of the package. in: path required: true schema: type: string - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: default: value: @@ -40937,9 +41118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *311 - - *312 - - *172 + - *313 + - *314 + - *174 responses: '204': description: Response @@ -40971,9 +41152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *311 - - *312 - - *172 + - *313 + - *314 + - *174 - name: token description: package token schema: @@ -41005,9 +41186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *311 - - *312 - - *172 + - *313 + - *314 + - *174 - *19 - *17 - name: state @@ -41027,7 +41208,7 @@ paths: application/json: schema: type: array - items: &313 + items: &315 title: Package Version description: A version of a software package type: object @@ -41152,10 +41333,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *311 - - *312 - - *172 - - &314 + - *313 + - *314 + - *174 + - &316 name: package_version_id description: Unique identifier of the package version. in: path @@ -41167,7 +41348,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -41203,10 +41384,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *311 - - *312 - - *172 + - *313 - *314 + - *174 + - *316 responses: '204': description: Response @@ -41238,10 +41419,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *311 - - *312 - - *172 + - *313 - *314 + - *174 + - *316 responses: '204': description: Response @@ -41268,10 +41449,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *172 + - *174 - *17 - *19 - - &316 + - &318 name: sort description: The property by which to sort the results. in: query @@ -41282,7 +41463,7 @@ paths: - created_at default: created_at - *88 - - &317 + - &319 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -41293,7 +41474,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &318 + - &320 name: repository description: The name of the repository to use to filter the results. in: query @@ -41301,7 +41482,7 @@ paths: schema: type: string example: Hello-World - - &319 + - &321 name: permission description: The permission to use to filter the results. in: query @@ -41309,7 +41490,7 @@ paths: schema: type: string example: issues_read - - &320 + - &322 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -41319,7 +41500,7 @@ paths: schema: type: string format: date-time - - &321 + - &323 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -41329,7 +41510,7 @@ paths: schema: type: string format: date-time - - &322 + - &324 name: token_id description: The ID of the token in: query @@ -41493,7 +41674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *172 + - *174 requestBody: required: true content: @@ -41559,7 +41740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *172 + - *174 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -41620,7 +41801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *172 + - *174 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -41640,9 +41821,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -41665,17 +41846,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *172 + - *174 - *17 - *19 - - *316 - - *88 - - *317 - *318 + - *88 - *319 - *320 - *321 - *322 + - *323 + - *324 responses: '500': *85 '422': *15 @@ -41824,7 +42005,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *172 + - *174 requestBody: required: true content: @@ -41884,7 +42065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *172 + - *174 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -41936,7 +42117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *172 + - *174 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -41955,9 +42136,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -41981,7 +42162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -41999,7 +42180,7 @@ paths: type: integer configurations: type: array - items: &323 + items: &325 title: Organization private registry description: Private registry configuration for an organization type: object @@ -42075,7 +42256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -42216,7 +42397,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &324 + org-private-registry-with-selected-visibility: &326 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -42257,7 +42438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -42305,16 +42486,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *172 - - *210 + - *174 + - *212 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *323 + schema: *325 examples: - default: *324 + default: *326 '404': *6 x-github: githubCloudOnly: false @@ -42335,8 +42516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -42419,8 +42600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *172 - - *210 + - *174 + - *212 responses: '204': description: Response @@ -42445,7 +42626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *172 + - *174 - name: state description: Indicates the state of the projects to return. in: query @@ -42466,7 +42647,7 @@ paths: application/json: schema: type: array - items: &325 + items: &327 title: Project description: Projects are a way to organize columns and cards of work. @@ -42613,7 +42794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *172 + - *174 requestBody: required: true content: @@ -42639,7 +42820,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: default: value: @@ -42677,7 +42858,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &392 + '410': &394 description: Gone content: application/json: @@ -42704,7 +42885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -42741,7 +42922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -42805,7 +42986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *172 + - *174 - *118 responses: '200': @@ -42837,13 +43018,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *172 + - *174 - *118 requestBody: required: true content: application/json: - schema: *326 + schema: *328 examples: default: value: @@ -42884,7 +43065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *172 + - *174 - *118 responses: '204': *120 @@ -42908,7 +43089,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *172 + - *174 - *17 - *19 - name: repository_query @@ -42946,7 +43127,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &327 + items: &329 title: Custom Property Value description: Custom property name and associated value type: object @@ -43013,7 +43194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *172 + - *174 requestBody: required: true content: @@ -43033,7 +43214,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *327 + items: *329 required: - repository_names - properties @@ -43074,7 +43255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *172 + - *174 - *17 - *19 responses: @@ -43086,7 +43267,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -43105,8 +43286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response if user is a public member @@ -43130,8 +43311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -43152,8 +43333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -43177,7 +43358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *172 + - *174 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -43224,9 +43405,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -43247,7 +43428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *172 + - *174 requestBody: required: true content: @@ -43429,7 +43610,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &396 title: Full Repository description: Full Repository type: object @@ -43706,8 +43887,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *328 - required: *329 + properties: *330 + required: *331 nullable: true temp_clone_token: type: string @@ -43794,8 +43975,8 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true organization: title: Simple User @@ -43822,7 +44003,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &513 + properties: &515 url: type: string format: uri @@ -43838,12 +44019,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &514 + required: &516 - url - key - name - html_url - security_and_analysis: *330 + security_and_analysis: *332 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43927,7 +44108,7 @@ paths: - network_count - subscribers_count examples: - default: &396 + default: &398 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44445,7 +44626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -44453,9 +44634,9 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44477,10 +44658,10 @@ paths: category: orgs subcategory: rules parameters: - - *172 + - *174 - *17 - *19 - - &662 + - &664 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44545,7 +44726,7 @@ paths: category: orgs subcategory: rules parameters: - - *172 + - *174 requestBody: description: Request body required: true @@ -44571,7 +44752,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *128 - conditions: *333 + conditions: *335 rules: type: array description: An array of rules within the ruleset. @@ -44615,7 +44796,7 @@ paths: application/json: schema: *130 examples: - default: &334 + default: &336 value: id: 21 name: super cool ruleset @@ -44669,8 +44850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *172 - - &663 + - *174 + - &665 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -44680,16 +44861,16 @@ paths: schema: type: string x-multi-segment: true - - *229 - - *225 - - &664 + - *231 + - *227 + - &666 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &665 + - &667 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44709,7 +44890,7 @@ paths: description: Response content: application/json: - schema: &666 + schema: &668 title: Rule Suites description: Response type: array @@ -44764,7 +44945,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &667 + default: &669 value: - id: 21 actor_id: 12 @@ -44807,8 +44988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *172 - - &668 + - *174 + - &670 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44824,7 +45005,7 @@ paths: description: Response content: application/json: - schema: &669 + schema: &671 title: Rule Suite description: Response type: object @@ -44923,7 +45104,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &670 + default: &672 value: id: 21 actor_id: 12 @@ -44984,7 +45165,7 @@ paths: category: orgs subcategory: rules parameters: - - *172 + - *174 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44998,7 +45179,7 @@ paths: application/json: schema: *130 examples: - default: *334 + default: *336 '404': *6 '500': *85 put: @@ -45016,7 +45197,7 @@ paths: category: orgs subcategory: rules parameters: - - *172 + - *174 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45047,7 +45228,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *128 - conditions: *333 + conditions: *335 rules: description: An array of rules within the ruleset. type: array @@ -45088,7 +45269,7 @@ paths: application/json: schema: *130 examples: - default: *334 + default: *336 '404': *6 '500': *85 delete: @@ -45106,7 +45287,7 @@ paths: category: orgs subcategory: rules parameters: - - *172 + - *174 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45129,7 +45310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *172 + - *174 - *17 - *19 - name: ruleset_id @@ -45147,7 +45328,7 @@ paths: type: array items: *133 examples: - default: *335 + default: *337 '404': *6 '500': *85 x-github: @@ -45166,7 +45347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *172 + - *174 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45184,7 +45365,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -45246,15 +45427,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *172 - - *337 - - *338 + - *174 - *339 - *340 + - *341 + - *342 - *88 - *19 - *17 - - &672 + - &674 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -45264,7 +45445,7 @@ paths: required: false schema: type: string - - &673 + - &675 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -45274,10 +45455,10 @@ paths: required: false schema: type: string - - *341 - - *342 - *343 - *344 + - *345 + - *346 responses: '200': description: Response @@ -45285,9 +45466,9 @@ paths: application/json: schema: type: array - items: *345 + items: *347 examples: - default: *346 + default: *348 headers: Link: *40 '404': *6 @@ -45313,7 +45494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *172 + - *174 - *88 - name: sort description: The property to sort the results by. @@ -45357,7 +45538,7 @@ paths: application/json: schema: type: array - items: &694 + items: &696 description: A repository security advisory. type: object properties: @@ -45577,7 +45758,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *349 credits_detailed: type: array nullable: true @@ -45587,7 +45768,7 @@ paths: type: object properties: user: *4 - type: *347 + type: *349 state: type: string description: The state of the user's acceptance of the @@ -45611,7 +45792,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *231 + items: *233 private_fork: readOnly: true nullable: true @@ -45648,7 +45829,7 @@ paths: - private_fork additionalProperties: false examples: - default: &695 + default: &697 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46027,7 +46208,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *172 + - *174 responses: '200': description: Response @@ -46035,9 +46216,9 @@ paths: application/json: schema: type: array - items: *348 + items: *350 examples: - default: *308 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46060,8 +46241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '204': description: Response @@ -46086,8 +46267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '204': description: Response @@ -46116,15 +46297,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46148,8 +46329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *172 - - *351 + - *174 + - *353 - *17 - *19 responses: @@ -46157,9 +46338,9 @@ paths: description: Success content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46181,15 +46362,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46211,15 +46392,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46239,7 +46420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -46259,7 +46440,7 @@ paths: type: array items: *113 examples: - default: *358 + default: *360 headers: Link: *40 x-github: @@ -46280,7 +46461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -46344,7 +46525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *172 + - *174 - *115 responses: '200': @@ -46374,7 +46555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *172 + - *174 - *115 requestBody: required: true @@ -46435,7 +46616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *172 + - *174 - *115 responses: '204': @@ -46459,16 +46640,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *172 - - *359 + - *174 + - *361 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 headers: Link: *40 x-github: @@ -46487,7 +46668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *172 + - *174 - *17 - name: page description: Page token @@ -46506,7 +46687,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &385 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -46552,7 +46733,7 @@ paths: type: string nullable: true examples: - default: &384 + default: &386 value: groups: - group_id: '123' @@ -46597,8 +46778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *172 - - *305 + - *174 + - *307 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -46630,13 +46811,13 @@ paths: application/json: schema: type: array - items: *136 + items: *138 examples: - default: *137 + default: *139 '500': *85 '403': *29 '404': *6 - '422': *138 + '422': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46654,7 +46835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *172 + - *174 - *17 - *19 responses: @@ -46664,9 +46845,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 headers: Link: *40 '403': *29 @@ -46688,7 +46869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *172 + - *174 requestBody: required: true content: @@ -46760,7 +46941,7 @@ paths: description: Response content: application/json: - schema: &362 + schema: &364 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46823,8 +47004,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *306 - required: *307 + properties: *308 + required: *309 nullable: true members_count: type: integer @@ -47070,7 +47251,7 @@ paths: - repos_count - organization examples: - default: &363 + default: &365 value: id: 1 node_id: MDQ6VGVhbTE= @@ -47140,16 +47321,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *172 - - *305 + - *174 + - *307 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 x-github: githubCloudOnly: false @@ -47170,8 +47351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *172 - - *305 + - *174 + - *307 requestBody: required: false content: @@ -47233,16 +47414,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '201': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 '422': *15 '403': *29 @@ -47267,8 +47448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '204': description: Response @@ -47294,8 +47475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *172 - - *305 + - *174 + - *307 - *88 - *17 - *19 @@ -47312,7 +47493,7 @@ paths: application/json: schema: type: array - items: &364 + items: &366 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -47391,7 +47572,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *143 + reactions: *145 required: - author - body @@ -47411,7 +47592,7 @@ paths: - updated_at - url examples: - default: &735 + default: &737 value: - author: login: octocat @@ -47485,8 +47666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *172 - - *305 + - *174 + - *307 requestBody: required: true content: @@ -47520,9 +47701,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &365 + default: &367 value: author: login: octocat @@ -47594,9 +47775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *172 - - *305 - - &366 + - *174 + - *307 + - &368 name: discussion_number description: The number that identifies the discussion. in: path @@ -47608,9 +47789,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47632,9 +47813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 requestBody: required: false content: @@ -47657,9 +47838,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &736 + default: &738 value: author: login: octocat @@ -47729,9 +47910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 responses: '204': description: Response @@ -47757,9 +47938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 - *88 - *17 - *19 @@ -47770,7 +47951,7 @@ paths: application/json: schema: type: array - items: &367 + items: &369 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -47827,7 +48008,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *143 + reactions: *145 required: - author - body @@ -47842,7 +48023,7 @@ paths: - updated_at - url examples: - default: &737 + default: &739 value: - author: login: octocat @@ -47910,9 +48091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 requestBody: required: true content: @@ -47934,9 +48115,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &368 + default: &370 value: author: login: octocat @@ -48002,10 +48183,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *172 - - *305 - - *366 - - &369 + - *174 + - *307 + - *368 + - &371 name: comment_number description: The number that identifies the comment. in: path @@ -48017,9 +48198,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *368 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48041,10 +48222,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *172 - - *305 - - *366 - - *369 + - *174 + - *307 + - *368 + - *371 requestBody: required: true content: @@ -48066,9 +48247,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &738 + default: &740 value: author: login: octocat @@ -48132,10 +48313,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *172 - - *305 - - *366 - - *369 + - *174 + - *307 + - *368 + - *371 responses: '204': description: Response @@ -48161,10 +48342,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *172 - - *305 - - *366 - - *369 + - *174 + - *307 + - *368 + - *371 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -48190,7 +48371,7 @@ paths: application/json: schema: type: array - items: &370 + items: &372 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -48233,7 +48414,7 @@ paths: - content - created_at examples: - default: &372 + default: &374 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -48283,10 +48464,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *172 - - *305 - - *366 - - *369 + - *174 + - *307 + - *368 + - *371 requestBody: required: true content: @@ -48319,9 +48500,9 @@ paths: team discussion comment content: application/json: - schema: *370 + schema: *372 examples: - default: &371 + default: &373 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -48350,9 +48531,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48375,11 +48556,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *172 - - *305 - - *366 - - *369 - - &373 + - *174 + - *307 + - *368 + - *371 + - &375 name: reaction_id description: The unique identifier of the reaction. in: path @@ -48411,9 +48592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -48439,9 +48620,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 x-github: @@ -48467,9 +48648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 requestBody: required: true content: @@ -48501,16 +48682,16 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48533,10 +48714,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *172 - - *305 - - *366 - - *373 + - *174 + - *307 + - *368 + - *375 responses: '204': description: Response @@ -48559,16 +48740,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -48587,8 +48768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *172 - - *305 + - *174 + - *307 requestBody: required: true content: @@ -48611,9 +48792,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *377 + default: *379 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48632,8 +48813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '204': description: Response @@ -48657,8 +48838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *172 - - *305 + - *174 + - *307 - *17 - *19 responses: @@ -48668,9 +48849,9 @@ paths: application/json: schema: type: array - items: *288 + items: *290 examples: - default: *289 + default: *291 headers: Link: *40 x-github: @@ -48692,8 +48873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *172 - - *305 + - *174 + - *307 - name: role description: Filters members returned by their role in the team. in: query @@ -48716,7 +48897,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -48746,15 +48927,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *172 - - *305 - - *222 + - *174 + - *307 + - *224 responses: '200': description: Response content: application/json: - schema: &378 + schema: &380 title: Team Membership description: Team Membership type: object @@ -48781,7 +48962,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &739 + response-if-user-is-a-team-maintainer: &741 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48817,9 +48998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *172 - - *305 - - *222 + - *174 + - *307 + - *224 requestBody: required: false content: @@ -48844,9 +49025,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - response-if-users-membership-with-team-is-now-pending: &740 + response-if-users-membership-with-team-is-now-pending: &742 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48881,9 +49062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *172 - - *305 - - *222 + - *174 + - *307 + - *224 responses: '204': description: Response @@ -48908,8 +49089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *172 - - *305 + - *174 + - *307 - *17 - *19 responses: @@ -48919,7 +49100,7 @@ paths: application/json: schema: type: array - items: &379 + items: &381 title: Team Project description: A team's access to a project. type: object @@ -48987,7 +49168,7 @@ paths: - updated_at - permissions examples: - default: &741 + default: &743 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49050,9 +49231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *172 - - *305 - - &380 + - *174 + - *307 + - &382 name: project_id description: The unique identifier of the project. in: path @@ -49064,9 +49245,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &742 + default: &744 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49128,9 +49309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *172 - - *305 - - *380 + - *174 + - *307 + - *382 requestBody: required: false content: @@ -49196,9 +49377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *172 - - *305 - - *380 + - *174 + - *307 + - *382 responses: '204': description: Response @@ -49225,8 +49406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *172 - - *305 + - *174 + - *307 - *17 - *19 responses: @@ -49236,9 +49417,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -49267,16 +49448,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *172 - - *305 - - *381 - - *382 + - *174 + - *307 + - *383 + - *384 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &743 + schema: &745 title: Team Repository description: A team's access to a repository. type: object @@ -49299,8 +49480,8 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true forks: type: integer @@ -49845,10 +50026,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *172 - - *305 - - *381 - - *382 + - *174 + - *307 + - *383 + - *384 requestBody: required: false content: @@ -49893,10 +50074,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *172 - - *305 - - *381 - - *382 + - *174 + - *307 + - *383 + - *384 responses: '204': description: Response @@ -49922,16 +50103,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: *384 + default: *386 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -49953,8 +50134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *172 - - *305 + - *174 + - *307 requestBody: required: true content: @@ -49997,7 +50178,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *385 examples: default: value: @@ -50029,8 +50210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *172 - - *305 + - *174 + - *307 - *17 - *19 responses: @@ -50040,9 +50221,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - response-if-child-teams-exist: &744 + response-if-child-teams-exist: &746 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50095,7 +50276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *172 + - *174 - name: security_product in: path description: The security feature to enable or disable. @@ -50169,7 +50350,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &385 + - &387 name: card_id description: The unique identifier of the card. in: path @@ -50181,7 +50362,7 @@ paths: description: Response content: application/json: - schema: &386 + schema: &388 title: Project Card description: Project cards represent a scope of work. type: object @@ -50248,7 +50429,7 @@ paths: - created_at - updated_at examples: - default: &387 + default: &389 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -50304,7 +50485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *385 + - *387 requestBody: required: false content: @@ -50331,9 +50512,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: - default: *387 + default: *389 '304': *37 '403': *29 '401': *25 @@ -50360,7 +50541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *385 + - *387 responses: '204': description: Response @@ -50404,7 +50585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *385 + - *387 requestBody: required: true content: @@ -50515,7 +50696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &388 + - &390 name: column_id description: The unique identifier of the column. in: path @@ -50527,7 +50708,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &391 title: Project Column description: Project columns contain cards of work. type: object @@ -50573,7 +50754,7 @@ paths: - created_at - updated_at examples: - default: &390 + default: &392 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -50608,7 +50789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *388 + - *390 requestBody: required: true content: @@ -50632,9 +50813,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 '304': *37 '403': *29 '401': *25 @@ -50659,7 +50840,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *388 + - *390 responses: '204': description: Response @@ -50688,7 +50869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *388 + - *390 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -50709,7 +50890,7 @@ paths: application/json: schema: type: array - items: *386 + items: *388 examples: default: value: @@ -50768,7 +50949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *388 + - *390 requestBody: required: true content: @@ -50808,9 +50989,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: - default: *387 + default: *389 '304': *37 '403': *29 '401': *25 @@ -50820,8 +51001,8 @@ paths: application/json: schema: oneOf: - - *183 - - *184 + - *185 + - *186 '503': description: Response content: @@ -50866,7 +51047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *388 + - *390 requestBody: required: true content: @@ -50926,15 +51107,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *380 + - *382 responses: '200': description: Response content: application/json: - schema: *325 + schema: *327 examples: - default: &391 + default: &393 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -50991,7 +51172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *380 + - *382 requestBody: required: false content: @@ -51037,9 +51218,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: - default: *391 + default: *393 '404': description: Not Found if the authenticated user does not have access to the project @@ -51060,7 +51241,7 @@ paths: items: type: string '401': *25 - '410': *392 + '410': *394 '422': *7 x-github: githubCloudOnly: false @@ -51083,7 +51264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *380 + - *382 responses: '204': description: Delete Success @@ -51104,7 +51285,7 @@ paths: items: type: string '401': *25 - '410': *392 + '410': *394 '404': *6 x-github: githubCloudOnly: false @@ -51128,7 +51309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *380 + - *382 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -51155,7 +51336,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '404': *6 @@ -51185,8 +51366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *380 - - *222 + - *382 + - *224 requestBody: required: false content: @@ -51238,8 +51419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *380 - - *222 + - *382 + - *224 responses: '204': description: Response @@ -51270,8 +51451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *380 - - *222 + - *382 + - *224 responses: '200': description: Response @@ -51344,7 +51525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *380 + - *382 - *17 - *19 responses: @@ -51354,7 +51535,7 @@ paths: application/json: schema: type: array - items: *389 + items: *391 examples: default: value: @@ -51392,7 +51573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *380 + - *382 requestBody: required: true content: @@ -51415,7 +51596,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: default: value: @@ -51480,7 +51661,7 @@ paths: resources: type: object properties: - core: &393 + core: &395 title: Rate Limit type: object properties: @@ -51497,21 +51678,21 @@ paths: - remaining - reset - used - graphql: *393 - search: *393 - code_search: *393 - source_import: *393 - integration_manifest: *393 - code_scanning_upload: *393 - actions_runner_registration: *393 - scim: *393 - dependency_snapshots: *393 - dependency_sbom: *393 - code_scanning_autofix: *393 + graphql: *395 + search: *395 + code_search: *395 + source_import: *395 + integration_manifest: *395 + code_scanning_upload: *395 + actions_runner_registration: *395 + scim: *395 + dependency_snapshots: *395 + dependency_sbom: *395 + code_scanning_autofix: *395 required: - core - search - rate: *393 + rate: *395 required: - rate - resources @@ -51615,14 +51796,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: default-response: summary: Default response @@ -52127,7 +52308,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *395 + '301': *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52145,8 +52326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -52400,10 +52581,10 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *396 - '307': &397 + default: *398 + '307': &399 description: Temporary Redirect content: application/json: @@ -52432,8 +52613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -52455,7 +52636,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *397 + '307': *399 '404': *6 '409': *96 x-github: @@ -52479,11 +52660,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 - - &412 + - &414 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -52506,7 +52687,7 @@ paths: type: integer artifacts: type: array - items: &398 + items: &400 title: Artifact description: An artifact type: object @@ -52584,7 +52765,7 @@ paths: - expires_at - updated_at examples: - default: &413 + default: &415 value: total_count: 2 artifacts: @@ -52645,9 +52826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *381 - - *382 - - &399 + - *383 + - *384 + - &401 name: artifact_id description: The unique identifier of the artifact. in: path @@ -52659,7 +52840,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: default: value: @@ -52697,9 +52878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *381 - - *382 - - *399 + - *383 + - *384 + - *401 responses: '204': description: Response @@ -52723,9 +52904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *381 - - *382 - - *399 + - *383 + - *384 + - *401 - name: archive_format in: path required: true @@ -52739,7 +52920,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52762,14 +52943,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *400 + schema: *402 examples: default: value: @@ -52795,11 +52976,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 - - &401 + - &403 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -52833,7 +53014,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &404 title: Repository actions caches description: Repository actions caches type: object @@ -52875,7 +53056,7 @@ paths: - total_count - actions_caches examples: - default: &403 + default: &405 value: total_count: 1 actions_caches: @@ -52907,23 +53088,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *381 - - *382 + - *383 + - *384 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *401 + - *403 responses: '200': description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *403 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52943,8 +53124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *381 - - *382 + - *383 + - *384 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52975,9 +53156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *381 - - *382 - - &404 + - *383 + - *384 + - &406 name: job_id description: The unique identifier of the job. in: path @@ -52989,7 +53170,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &418 title: Job description: Information of a job execution in a workflow run type: object @@ -53296,9 +53477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *381 - - *382 - - *404 + - *383 + - *384 + - *406 responses: '302': description: Response @@ -53326,9 +53507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *381 - - *382 - - *404 + - *383 + - *384 + - *406 requestBody: required: false content: @@ -53349,7 +53530,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -53373,8 +53554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Status response @@ -53424,8 +53605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -53459,7 +53640,7 @@ paths: description: Empty response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -53488,8 +53669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -53507,7 +53688,7 @@ paths: type: integer secrets: type: array - items: &418 + items: &420 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53527,7 +53708,7 @@ paths: - created_at - updated_at examples: - default: &419 + default: &421 value: total_count: 2 secrets: @@ -53560,9 +53741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *381 - - *382 - - *405 + - *383 + - *384 + - *407 - *19 responses: '200': @@ -53579,7 +53760,7 @@ paths: type: integer variables: type: array - items: &422 + items: &424 title: Actions Variable type: object properties: @@ -53609,7 +53790,7 @@ paths: - created_at - updated_at examples: - default: &423 + default: &425 value: total_count: 2 variables: @@ -53642,8 +53823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -53652,11 +53833,11 @@ paths: schema: type: object properties: - enabled: &406 + enabled: &408 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *193 + selected_actions_url: *195 required: - enabled examples: @@ -53685,8 +53866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -53697,7 +53878,7 @@ paths: schema: type: object properties: - enabled: *406 + enabled: *408 allowed_actions: *49 required: - enabled @@ -53728,14 +53909,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: &407 + schema: &409 type: object properties: access_level: @@ -53753,7 +53934,7 @@ paths: required: - access_level examples: - default: &408 + default: &410 value: access_level: organization x-github: @@ -53778,15 +53959,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: application/json: - schema: *407 + schema: *409 examples: - default: *408 + default: *410 responses: '204': description: Response @@ -53810,8 +53991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -53842,8 +54023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -53875,14 +54056,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *196 + schema: *198 examples: default: *55 x-github: @@ -53905,8 +54086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Success response @@ -53917,7 +54098,7 @@ paths: required: true content: application/json: - schema: *197 + schema: *199 examples: default: *55 x-github: @@ -53946,8 +54127,8 @@ paths: in: query schema: type: string - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -53991,8 +54172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -54000,9 +54181,9 @@ paths: application/json: schema: type: array - items: *201 + items: *203 examples: - default: *202 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54024,8 +54205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -54068,7 +54249,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *203 + '201': *205 '404': *6 '422': *7 '409': *96 @@ -54099,8 +54280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '201': description: Response @@ -54108,7 +54289,7 @@ paths: application/json: schema: *65 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54136,8 +54317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '201': description: Response @@ -54145,7 +54326,7 @@ paths: application/json: schema: *65 examples: - default: *205 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54167,8 +54348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 responses: '200': @@ -54177,7 +54358,7 @@ paths: application/json: schema: *62 examples: - default: *206 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54198,8 +54379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 responses: '204': @@ -54226,8 +54407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 responses: '200': *67 @@ -54252,8 +54433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 requestBody: required: true @@ -54302,8 +54483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 requestBody: required: true @@ -54353,11 +54534,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 responses: - '200': *207 + '200': *209 '404': *6 x-github: githubCloudOnly: false @@ -54384,10 +54565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 - - *208 + - *210 responses: '200': *67 '404': *6 @@ -54415,9 +54596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *381 - - *382 - - &426 + - *383 + - *384 + - &428 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -54425,7 +54606,7 @@ paths: required: false schema: type: string - - &427 + - &429 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54433,7 +54614,7 @@ paths: required: false schema: type: string - - &428 + - &430 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54442,7 +54623,7 @@ paths: required: false schema: type: string - - &429 + - &431 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -54469,7 +54650,7 @@ paths: - pending - *17 - *19 - - &430 + - &432 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -54478,7 +54659,7 @@ paths: schema: type: string format: date-time - - &409 + - &411 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54487,13 +54668,13 @@ paths: schema: type: boolean default: false - - &431 + - &433 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &432 + - &434 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54516,7 +54697,7 @@ paths: type: integer workflow_runs: type: array - items: &410 + items: &412 title: Workflow Run description: An invocation of a workflow type: object @@ -54611,7 +54792,7 @@ paths: that triggered the run. type: array nullable: true - items: &453 + items: &455 title: Pull Request Minimal type: object properties: @@ -54730,7 +54911,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &457 + properties: &459 id: type: string description: SHA for the commit @@ -54781,7 +54962,7 @@ paths: - name - email nullable: true - required: &458 + required: &460 - id - tree_id - message @@ -54789,8 +54970,8 @@ paths: - author - committer nullable: true - repository: *200 - head_repository: *200 + repository: *202 + head_repository: *202 head_repository_id: type: integer example: 5 @@ -54828,7 +55009,7 @@ paths: - workflow_url - pull_requests examples: - default: &433 + default: &435 value: total_count: 1 workflow_runs: @@ -55064,24 +55245,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *381 - - *382 - - &411 + - *383 + - *384 + - &413 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *409 + - *411 responses: '200': description: Response content: application/json: - schema: *410 + schema: *412 examples: - default: &414 + default: &416 value: id: 30433642 name: Build @@ -55322,9 +55503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '204': description: Response @@ -55347,9 +55528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '200': description: Response @@ -55468,15 +55649,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '201': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -55503,12 +55684,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 - *17 - *19 - - *412 + - *414 responses: '200': description: Response @@ -55524,9 +55705,9 @@ paths: type: integer artifacts: type: array - items: *398 + items: *400 examples: - default: *413 + default: *415 headers: Link: *40 x-github: @@ -55550,25 +55731,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *381 - - *382 - - *411 - - &415 + - *383 + - *384 + - *413 + - &417 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *409 + - *411 responses: '200': description: Response content: application/json: - schema: *410 + schema: *412 examples: - default: *414 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55591,10 +55772,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *381 - - *382 - - *411 - - *415 + - *383 + - *384 + - *413 + - *417 - *17 - *19 responses: @@ -55612,9 +55793,9 @@ paths: type: integer jobs: type: array - items: *416 + items: *418 examples: - default: &417 + default: &419 value: total_count: 1 jobs: @@ -55727,10 +55908,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *381 - - *382 - - *411 - - *415 + - *383 + - *384 + - *413 + - *417 responses: '302': description: Response @@ -55758,15 +55939,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '202': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -55793,9 +55974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 requestBody: required: true content: @@ -55862,15 +56043,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '202': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -55897,9 +56078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -55929,9 +56110,9 @@ paths: type: integer jobs: type: array - items: *416 + items: *418 examples: - default: *417 + default: *419 headers: Link: *40 x-github: @@ -55956,9 +56137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '302': description: Response @@ -55985,9 +56166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '204': description: Response @@ -56014,9 +56195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '200': description: Response @@ -56076,7 +56257,7 @@ paths: items: type: object properties: - type: &543 + type: &545 type: string description: The type of reviewer. enum: @@ -56086,7 +56267,7 @@ paths: reviewer: anyOf: - *4 - - *231 + - *233 required: - environment - wait_timer @@ -56161,9 +56342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 requestBody: required: true content: @@ -56210,7 +56391,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -56298,8 +56479,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 required: - id - node_id @@ -56316,7 +56497,7 @@ paths: - created_at - updated_at examples: - default: &530 + default: &532 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -56372,9 +56553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 requestBody: required: false content: @@ -56395,7 +56576,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -56418,9 +56599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 requestBody: required: false content: @@ -56441,7 +56622,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -56474,9 +56655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '200': description: Response @@ -56613,8 +56794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -56632,9 +56813,9 @@ paths: type: integer secrets: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *40 x-github: @@ -56659,16 +56840,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *421 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56690,17 +56871,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: &556 + default: &558 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56726,9 +56907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 requestBody: required: true content: @@ -56759,7 +56940,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -56785,9 +56966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '204': description: Response @@ -56812,9 +56993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *381 - - *382 - - *405 + - *383 + - *384 + - *407 - *19 responses: '200': @@ -56831,9 +57012,9 @@ paths: type: integer variables: type: array - items: *422 + items: *424 examples: - default: *423 + default: *425 headers: Link: *40 x-github: @@ -56856,8 +57037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -56884,7 +57065,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -56909,17 +57090,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *381 - - *382 - - *213 + - *383 + - *384 + - *215 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: &557 + default: &559 value: name: USERNAME value: octocat @@ -56945,9 +57126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *381 - - *382 - - *213 + - *383 + - *384 + - *215 requestBody: required: true content: @@ -56989,9 +57170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *381 - - *382 - - *213 + - *383 + - *384 + - *215 responses: '204': description: Response @@ -57016,8 +57197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -57035,7 +57216,7 @@ paths: type: integer workflows: type: array - items: &424 + items: &426 title: Workflow description: A GitHub Actions workflow type: object @@ -57142,9 +57323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *381 - - *382 - - &425 + - *383 + - *384 + - &427 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -57159,7 +57340,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -57192,9 +57373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *381 - - *382 - - *425 + - *383 + - *384 + - *427 responses: '204': description: Response @@ -57219,9 +57400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *381 - - *382 - - *425 + - *383 + - *384 + - *427 responses: '204': description: Response @@ -57272,9 +57453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *381 - - *382 - - *425 + - *383 + - *384 + - *427 responses: '204': description: Response @@ -57301,19 +57482,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *381 - - *382 - - *425 - - *426 + - *383 + - *384 - *427 - *428 - *429 - - *17 - - *19 - *430 - - *409 - *431 + - *17 + - *19 - *432 + - *411 + - *433 + - *434 responses: '200': description: Response @@ -57329,9 +57510,9 @@ paths: type: integer workflow_runs: type: array - items: *410 + items: *412 examples: - default: *433 + default: *435 headers: Link: *40 x-github: @@ -57364,9 +57545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *381 - - *382 - - *425 + - *383 + - *384 + - *427 responses: '200': description: Response @@ -57427,8 +57608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *381 - - *382 + - *383 + - *384 - *88 - *17 - *86 @@ -57592,8 +57773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -57605,7 +57786,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '404': *6 @@ -57630,8 +57811,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *381 - - *382 + - *383 + - *384 - name: assignee in: path required: true @@ -57667,8 +57848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -57780,8 +57961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *86 - *87 @@ -57835,7 +58016,7 @@ paths: bundle_url: type: string examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57855,8 +58036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -57864,7 +58045,7 @@ paths: application/json: schema: type: array - items: &435 + items: &437 title: Autolink reference description: An autolink reference. type: object @@ -57914,8 +58095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -57954,9 +58135,9 @@ paths: description: response content: application/json: - schema: *435 + schema: *437 examples: - default: &436 + default: &438 value: id: 1 key_prefix: TICKET- @@ -57987,9 +58168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *381 - - *382 - - &437 + - *383 + - *384 + - &439 name: autolink_id description: The unique identifier of the autolink. in: path @@ -58001,9 +58182,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -58023,9 +58204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *381 - - *382 - - *437 + - *383 + - *384 + - *439 responses: '204': description: Response @@ -58049,8 +58230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response if Dependabot is enabled @@ -58098,8 +58279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -58120,8 +58301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -58141,8 +58322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *381 - - *382 + - *383 + - *384 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -58180,7 +58361,7 @@ paths: - url protected: type: boolean - protection: &439 + protection: &441 title: Branch Protection description: Branch Protection type: object @@ -58222,7 +58403,7 @@ paths: required: - contexts - checks - enforce_admins: &442 + enforce_admins: &444 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -58237,7 +58418,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &444 + required_pull_request_reviews: &446 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -58258,7 +58439,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *231 + items: *233 apps: description: The list of apps with review dismissal access. @@ -58287,7 +58468,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *231 + items: *233 apps: description: The list of apps allowed to bypass pull request requirements. @@ -58313,7 +58494,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &441 + restrictions: &443 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58620,9 +58801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *381 - - *382 - - &440 + - *383 + - *384 + - &442 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -58636,14 +58817,14 @@ paths: description: Response content: application/json: - schema: &450 + schema: &452 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &502 + commit: &504 title: Commit description: Commit type: object @@ -58677,7 +58858,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &438 + properties: &440 name: type: string example: '"Chris Wanstrath"' @@ -58692,7 +58873,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *438 + properties: *440 nullable: true message: type: string @@ -58713,7 +58894,7 @@ paths: required: - sha - url - verification: &563 + verification: &565 title: Verification type: object properties: @@ -58747,12 +58928,12 @@ paths: nullable: true oneOf: - *4 - - *211 + - *213 committer: nullable: true oneOf: - *4 - - *211 + - *213 parents: type: array items: @@ -58783,7 +58964,7 @@ paths: type: integer files: type: array - items: &517 + items: &519 title: Diff Entry description: Diff Entry type: object @@ -58866,7 +59047,7 @@ paths: - self protected: type: boolean - protection: *439 + protection: *441 protection_url: type: string format: uri @@ -58973,7 +59154,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *395 + '301': *397 '404': *6 x-github: githubCloudOnly: false @@ -58995,15 +59176,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -59197,9 +59378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -59454,7 +59635,7 @@ paths: url: type: string format: uri - required_status_checks: &447 + required_status_checks: &449 title: Status Check Policy description: Status Check Policy type: object @@ -59530,7 +59711,7 @@ paths: items: *4 teams: type: array - items: *231 + items: *233 apps: type: array items: *5 @@ -59548,7 +59729,7 @@ paths: items: *4 teams: type: array - items: *231 + items: *233 apps: type: array items: *5 @@ -59606,7 +59787,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *441 + restrictions: *443 required_conversation_resolution: type: object properties: @@ -59718,9 +59899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -59745,17 +59926,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: &443 + default: &445 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59777,17 +59958,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *443 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59806,9 +59987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -59833,17 +60014,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: &445 + default: &447 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59939,9 +60120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -60039,9 +60220,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 '422': *15 x-github: githubCloudOnly: false @@ -60062,9 +60243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -60091,17 +60272,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: &446 + default: &448 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -60124,17 +60305,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *446 + default: *448 '404': *6 x-github: githubCloudOnly: false @@ -60154,9 +60335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -60181,17 +60362,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: &448 + default: &450 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -60217,9 +60398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -60271,9 +60452,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '404': *6 '422': *15 x-github: @@ -60295,9 +60476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -60321,9 +60502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response @@ -60357,9 +60538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -60426,9 +60607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -60492,9 +60673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: content: application/json: @@ -60560,15 +60741,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -60659,9 +60840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -60684,9 +60865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response @@ -60696,7 +60877,7 @@ paths: type: array items: *5 examples: - default: &449 + default: &451 value: - id: 1 slug: octoapp @@ -60753,9 +60934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -60789,7 +60970,7 @@ paths: type: array items: *5 examples: - default: *449 + default: *451 '422': *15 x-github: githubCloudOnly: false @@ -60810,9 +60991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -60846,7 +61027,7 @@ paths: type: array items: *5 examples: - default: *449 + default: *451 '422': *15 x-github: githubCloudOnly: false @@ -60867,9 +61048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -60903,7 +61084,7 @@ paths: type: array items: *5 examples: - default: *449 + default: *451 '422': *15 x-github: githubCloudOnly: false @@ -60925,9 +61106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response @@ -60935,9 +61116,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -60957,9 +61138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -60995,9 +61176,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 '422': *15 x-github: githubCloudOnly: false @@ -61018,9 +61199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -61056,9 +61237,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 '422': *15 x-github: githubCloudOnly: false @@ -61079,9 +61260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: content: application/json: @@ -61116,9 +61297,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 '422': *15 x-github: githubCloudOnly: false @@ -61140,9 +61321,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response @@ -61152,7 +61333,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 '404': *6 x-github: githubCloudOnly: false @@ -61176,9 +61357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -61211,7 +61392,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -61236,9 +61417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -61271,7 +61452,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -61296,9 +61477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -61331,7 +61512,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -61358,9 +61539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -61382,7 +61563,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: default: value: @@ -61496,12 +61677,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *381 - - *382 - - *223 - - *224 + - *383 + - *384 - *225 - *226 + - *227 + - *228 - *17 - *19 responses: @@ -61511,9 +61692,9 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: - default: *228 + default: *230 '404': *6 '500': *85 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -61533,8 +61714,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: bypass_request_number in: path required: true @@ -61548,7 +61729,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: default: value: @@ -61607,12 +61788,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *381 - - *382 - - *223 - - *224 + - *383 + - *384 - *225 - *226 + - *227 + - *228 - *17 - *19 responses: @@ -61622,9 +61803,9 @@ paths: application/json: schema: type: array - items: *451 + items: *453 examples: - default: *452 + default: *454 '404': *6 '403': *29 '500': *85 @@ -61648,8 +61829,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *381 - - *382 + - *383 + - *384 - name: bypass_request_number in: path required: true @@ -61661,7 +61842,7 @@ paths: description: A single bypass request. content: application/json: - schema: *451 + schema: *453 examples: default: value: @@ -61719,8 +61900,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *381 - - *382 + - *383 + - *384 - name: bypass_request_number in: path required: true @@ -61791,8 +61972,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *381 - - *382 + - *383 + - *384 - name: bypass_response_id in: path required: true @@ -61825,8 +62006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -62105,7 +62286,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &456 title: CheckRun description: A check performed on the code of a given code change type: object @@ -62216,16 +62397,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *453 - deployment: &798 + items: *455 + deployment: &800 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62292,8 +62473,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 required: - id - node_id @@ -62505,9 +62686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *381 - - *382 - - &455 + - *383 + - *384 + - &457 name: check_run_id description: The unique identifier of the check run. in: path @@ -62519,9 +62700,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: &456 + default: &458 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62621,9 +62802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *381 - - *382 - - *455 + - *383 + - *384 + - *457 requestBody: required: true content: @@ -62863,9 +63044,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62885,9 +63066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *381 - - *382 - - *455 + - *383 + - *384 + - *457 - *17 - *19 responses: @@ -62982,15 +63163,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *381 - - *382 - - *455 + - *383 + - *384 + - *457 responses: '201': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -63028,8 +63209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -63051,7 +63232,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &459 + schema: &461 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -63115,7 +63296,7 @@ paths: nullable: true pull_requests: type: array - items: *453 + items: *455 nullable: true app: title: GitHub app @@ -63126,9 +63307,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 - repository: *200 + properties: *142 + required: *143 + repository: *202 created_at: type: string format: date-time @@ -63137,12 +63318,12 @@ paths: type: string format: date-time nullable: true - head_commit: &824 + head_commit: &826 title: Simple Commit description: A commit. type: object - properties: *457 - required: *458 + properties: *459 + required: *460 latest_check_runs_count: type: integer check_runs_url: @@ -63170,7 +63351,7 @@ paths: - check_runs_url - pull_requests examples: - default: &460 + default: &462 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -63461,9 +63642,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63482,8 +63663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -63544,7 +63725,7 @@ paths: required: - app_id - setting - repository: *200 + repository: *202 examples: default: value: @@ -63792,9 +63973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *381 - - *382 - - &461 + - *383 + - *384 + - &463 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63806,9 +63987,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63831,17 +64012,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *381 - - *382 - - *461 - - &510 + - *383 + - *384 + - *463 + - &512 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &511 + - &513 name: status description: Returns check runs with the specified `status`. in: query @@ -63880,9 +64061,9 @@ paths: type: integer check_runs: type: array - items: *454 + items: *456 examples: - default: &512 + default: &514 value: total_count: 1 check_runs: @@ -63984,15 +64165,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *381 - - *382 - - *461 + - *383 + - *384 + - *463 responses: '201': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -64019,21 +64200,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *381 - - *382 - - *235 - - *236 + - *383 + - *384 + - *237 + - *238 - *19 - *17 - - &477 + - &479 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *462 - - &478 + schema: *464 + - &480 name: pr description: The number of the pull request for the results you want to list. in: query @@ -64058,13 +64239,13 @@ paths: be returned. in: query required: false - schema: *237 + schema: *239 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *463 + schema: *465 responses: '200': description: Response @@ -64080,7 +64261,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *464 + instances_url: *466 state: *91 fixed_at: *110 dismissed_by: @@ -64091,11 +64272,11 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *465 - dismissed_comment: *466 - rule: *467 - tool: *468 - most_recent_instance: *469 + dismissed_reason: *467 + dismissed_comment: *468 + rule: *469 + tool: *470 + most_recent_instance: *471 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -64218,7 +64399,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &470 + '403': &472 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -64245,9 +64426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *381 - - *382 - - &471 + - *383 + - *384 + - &473 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -64261,7 +64442,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 type: object properties: number: *100 @@ -64269,7 +64450,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *464 + instances_url: *466 state: *91 fixed_at: *110 dismissed_by: @@ -64280,8 +64461,8 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *465 - dismissed_comment: *466 + dismissed_reason: *467 + dismissed_comment: *468 rule: type: object properties: @@ -64335,8 +64516,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *468 - most_recent_instance: *469 + tool: *470 + most_recent_instance: *471 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -64432,7 +64613,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -64452,9 +64633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 requestBody: required: true content: @@ -64469,8 +64650,8 @@ paths: enum: - open - dismissed - dismissed_reason: *465 - dismissed_comment: *466 + dismissed_reason: *467 + dismissed_comment: *468 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -64489,7 +64670,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: default: value: @@ -64565,7 +64746,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &476 + '403': &478 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -64592,15 +64773,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 responses: '200': description: Response content: application/json: - schema: &473 + schema: &475 type: object properties: status: @@ -64626,13 +64807,13 @@ paths: - description - started_at examples: - default: &474 + default: &476 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &475 + '400': &477 description: Bad Request content: application/json: @@ -64643,7 +64824,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -64668,29 +64849,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 responses: '200': description: OK content: application/json: - schema: *473 + schema: *475 examples: - default: *474 + default: *476 '202': description: Accepted content: application/json: - schema: *473 + schema: *475 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *475 + '400': *477 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64722,9 +64903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 requestBody: required: false content: @@ -64769,8 +64950,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *475 - '403': *476 + '400': *477 + '403': *478 '404': *6 '422': description: Unprocessable Entity @@ -64794,13 +64975,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 - *19 - *17 - - *477 - - *478 + - *479 + - *480 responses: '200': description: Response @@ -64808,7 +64989,7 @@ paths: application/json: schema: type: array - items: *469 + items: *471 examples: default: value: @@ -64847,7 +65028,7 @@ paths: end_column: 50 classifications: - source - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -64881,25 +65062,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *381 - - *382 - - *235 - - *236 + - *383 + - *384 + - *237 + - *238 - *19 - *17 - - *478 + - *480 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *462 + schema: *464 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &481 + schema: &483 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -64920,23 +65101,23 @@ paths: application/json: schema: type: array - items: &482 + items: &484 type: object properties: - ref: *462 - commit_sha: &490 + ref: *464 + commit_sha: &492 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *479 + analysis_key: *481 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *480 + category: *482 error: type: string example: error reading field xyz @@ -64960,8 +65141,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *481 - tool: *468 + sarif_id: *483 + tool: *470 deletable: type: boolean warning: @@ -65022,7 +65203,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -65058,8 +65239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65072,7 +65253,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: response: summary: application/json response @@ -65126,7 +65307,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *470 + '403': *472 '404': *6 '422': description: Response if analysis could not be processed @@ -65213,8 +65394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65267,7 +65448,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *476 + '403': *478 '404': *6 '503': *134 x-github: @@ -65289,8 +65470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -65298,7 +65479,7 @@ paths: application/json: schema: type: array - items: &483 + items: &485 title: CodeQL Database description: A CodeQL database. type: object @@ -65409,7 +65590,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -65438,8 +65619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: language in: path description: The language of the CodeQL database. @@ -65451,7 +65632,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -65483,9 +65664,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &519 + '302': &521 description: Found - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -65507,8 +65688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *381 - - *382 + - *383 + - *384 - name: language in: path description: The language of the CodeQL database. @@ -65518,7 +65699,7 @@ paths: responses: '204': description: Response - '403': *476 + '403': *478 '404': *6 '503': *134 x-github: @@ -65546,8 +65727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -65556,7 +65737,7 @@ paths: type: object additionalProperties: false properties: - language: &484 + language: &486 type: string description: The language targeted by the CodeQL query enum: @@ -65635,7 +65816,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &488 + schema: &490 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65645,7 +65826,7 @@ paths: description: The ID of the variant analysis. controller_repo: *97 actor: *4 - query_language: *484 + query_language: *486 query_pack_url: type: string description: The download url for the query pack. @@ -65692,7 +65873,7 @@ paths: items: type: object properties: - repository: &485 + repository: &487 title: Repository Identifier description: Repository Identifier type: object @@ -65728,7 +65909,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &489 + analysis_status: &491 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65760,7 +65941,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &486 + access_mismatch_repos: &488 type: object properties: repository_count: @@ -65774,7 +65955,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *485 + items: *487 required: - repository_count - repositories @@ -65796,8 +65977,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *486 - over_limit_repos: *486 + no_codeql_db_repos: *488 + over_limit_repos: *488 required: - access_mismatch_repos - not_found_repos @@ -65813,7 +65994,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &487 + value: &489 summary: Default response value: id: 1 @@ -65965,10 +66146,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *487 + value: *489 repository_lists: summary: Response for a successful variant analysis submission - value: *487 + value: *489 '404': *6 '422': description: Unable to process variant analysis submission @@ -65996,8 +66177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *381 - - *382 + - *383 + - *384 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -66009,9 +66190,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *487 + default: *489 '404': *6 '503': *134 x-github: @@ -66034,7 +66215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *381 + - *383 - name: repo in: path description: The name of the controller repository. @@ -66069,7 +66250,7 @@ paths: type: object properties: repository: *97 - analysis_status: *489 + analysis_status: *491 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -66194,8 +66375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -66280,7 +66461,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -66301,8 +66482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -66369,7 +66550,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -66394,7 +66575,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *476 + '403': *478 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -66459,8 +66640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -66468,7 +66649,7 @@ paths: schema: type: object properties: - commit_sha: *490 + commit_sha: *492 ref: type: string description: |- @@ -66526,7 +66707,7 @@ paths: schema: type: object properties: - id: *481 + id: *483 url: type: string description: The REST API URL for checking the status of the upload. @@ -66540,7 +66721,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *476 + '403': *478 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -66563,8 +66744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *381 - - *382 + - *383 + - *384 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66610,7 +66791,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *470 + '403': *472 '404': description: Not Found if the sarif id does not match any upload '503': *134 @@ -66635,8 +66816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -66717,8 +66898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *381 - - *382 + - *383 + - *384 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -66838,8 +67019,8 @@ paths: parameters: - *17 - *19 - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -66855,7 +67036,7 @@ paths: type: integer codespaces: type: array - items: *297 + items: *299 examples: default: value: @@ -67153,8 +67334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -67217,17 +67398,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '400': *14 '401': *25 '403': *29 @@ -67256,8 +67437,8 @@ paths: parameters: - *17 - *19 - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -67321,8 +67502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -67357,14 +67538,14 @@ paths: type: integer machines: type: array - items: &751 + items: &753 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *492 - required: *493 + properties: *494 + required: *495 examples: - default: &752 + default: &754 value: total_count: 2 machines: @@ -67404,8 +67585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *381 - - *382 + - *383 + - *384 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -67489,8 +67670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *381 - - *382 + - *383 + - *384 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -67556,8 +67737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -67575,7 +67756,7 @@ paths: type: integer secrets: type: array - items: &497 + items: &499 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67595,7 +67776,7 @@ paths: - created_at - updated_at examples: - default: *494 + default: *496 headers: Link: *40 x-github: @@ -67618,16 +67799,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67647,17 +67828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '200': description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67677,9 +67858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 requestBody: required: true content: @@ -67707,7 +67888,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -67731,9 +67912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '204': description: Response @@ -67761,8 +67942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *381 - - *382 + - *383 + - *384 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67804,7 +67985,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &499 + properties: &501 login: type: string example: octocat @@ -67897,7 +68078,7 @@ paths: user_view_type: type: string example: public - required: &500 + required: &502 - avatar_url - events_url - followers_url @@ -67971,9 +68152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *381 - - *382 - - *222 + - *383 + - *384 + - *224 responses: '204': description: Response if user is a collaborator @@ -68019,9 +68200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *381 - - *382 - - *222 + - *383 + - *384 + - *224 requestBody: required: false content: @@ -68047,7 +68228,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &576 + schema: &578 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68058,7 +68239,7 @@ paths: example: 42 type: integer format: int64 - repository: *200 + repository: *202 invitee: title: Simple User description: A GitHub user. @@ -68236,7 +68417,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *183 + schema: *185 '403': *29 x-github: triggersNotification: true @@ -68276,9 +68457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *381 - - *382 - - *222 + - *383 + - *384 + - *224 responses: '204': description: No Content when collaborator was removed from the repository. @@ -68309,9 +68490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *381 - - *382 - - *222 + - *383 + - *384 + - *224 responses: '200': description: if user has admin permissions @@ -68331,8 +68512,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *499 - required: *500 + properties: *501 + required: *502 nullable: true required: - permission @@ -68387,8 +68568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -68398,7 +68579,7 @@ paths: application/json: schema: type: array - items: &501 + items: &503 title: Commit Comment description: Commit Comment type: object @@ -68439,8 +68620,8 @@ paths: updated_at: type: string format: date-time - author_association: *142 - reactions: *143 + author_association: *144 + reactions: *145 required: - url - html_url @@ -68456,7 +68637,7 @@ paths: - created_at - updated_at examples: - default: &504 + default: &506 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68515,17 +68696,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &505 + default: &507 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68582,9 +68763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -68606,7 +68787,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -68657,9 +68838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '204': description: Response @@ -68680,9 +68861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -68708,9 +68889,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 '404': *6 @@ -68731,9 +68912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -68765,16 +68946,16 @@ paths: description: Reaction exists content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Reaction created content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -68796,10 +68977,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *381 - - *382 - - *154 - - *373 + - *383 + - *384 + - *156 + - *375 responses: '204': description: Response @@ -68848,8 +69029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *381 - - *382 + - *383 + - *384 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68905,9 +69086,9 @@ paths: application/json: schema: type: array - items: *502 + items: *504 examples: - default: &627 + default: &629 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69001,9 +69182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *381 - - *382 - - &503 + - *383 + - *384 + - &505 name: commit_sha description: The SHA of the commit. in: path @@ -69075,9 +69256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *381 - - *382 - - *503 + - *383 + - *384 + - *505 - *17 - *19 responses: @@ -69087,9 +69268,9 @@ paths: application/json: schema: type: array - items: *501 + items: *503 examples: - default: *504 + default: *506 headers: Link: *40 x-github: @@ -69117,9 +69298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *381 - - *382 - - *503 + - *383 + - *384 + - *505 requestBody: required: true content: @@ -69154,9 +69335,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *505 + default: *507 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69184,9 +69365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *381 - - *382 - - *503 + - *383 + - *384 + - *505 - *17 - *19 responses: @@ -69196,7 +69377,7 @@ paths: application/json: schema: type: array - items: &618 + items: &620 title: Pull Request Simple description: Pull Request Simple type: object @@ -69302,8 +69483,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *506 - required: *507 + properties: *508 + required: *509 nullable: true active_lock_reason: type: string @@ -69348,7 +69529,7 @@ paths: nullable: true requested_teams: type: array - items: *231 + items: *233 nullable: true head: type: object @@ -69399,7 +69580,7 @@ paths: _links: type: object properties: - comments: &508 + comments: &510 title: Link description: Hypermedia Link type: object @@ -69408,13 +69589,13 @@ paths: type: string required: - href - commits: *508 - statuses: *508 - html: *508 - issue: *508 - review_comments: *508 - review_comment: *508 - self: *508 + commits: *510 + statuses: *510 + html: *510 + issue: *510 + review_comments: *510 + review_comment: *510 + self: *510 required: - comments - commits @@ -69424,8 +69605,8 @@ paths: - review_comments - review_comment - self - author_association: *142 - auto_merge: &620 + author_association: *144 + auto_merge: &622 title: Auto merge description: The status of auto merging a pull request. type: object @@ -69488,7 +69669,7 @@ paths: - author_association - auto_merge examples: - default: &619 + default: &621 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -70025,11 +70206,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *381 - - *382 + - *383 + - *384 - *19 - *17 - - &509 + - &511 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -70044,9 +70225,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: &605 + default: &607 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70159,11 +70340,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *381 - - *382 - - *509 - - *510 + - *383 + - *384 - *511 + - *512 + - *513 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -70197,9 +70378,9 @@ paths: type: integer check_runs: type: array - items: *454 + items: *456 examples: - default: *512 + default: *514 headers: Link: *40 x-github: @@ -70224,9 +70405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *381 - - *382 - - *509 + - *383 + - *384 + - *511 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -70234,7 +70415,7 @@ paths: schema: type: integer example: 1 - - *510 + - *512 - *17 - *19 responses: @@ -70252,7 +70433,7 @@ paths: type: integer check_suites: type: array - items: *459 + items: *461 examples: default: value: @@ -70452,9 +70633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *381 - - *382 - - *509 + - *383 + - *384 + - *511 - *17 - *19 responses: @@ -70521,7 +70702,7 @@ paths: type: string total_count: type: integer - repository: *200 + repository: *202 commit_url: type: string format: uri @@ -70652,9 +70833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *381 - - *382 - - *509 + - *383 + - *384 + - *511 - *17 - *19 responses: @@ -70664,7 +70845,7 @@ paths: application/json: schema: type: array - items: &699 + items: &701 title: Status description: The status of a commit. type: object @@ -70745,7 +70926,7 @@ paths: site_admin: false headers: Link: *40 - '301': *395 + '301': *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70773,8 +70954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -70803,20 +70984,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *513 - required: *514 + properties: *515 + required: *516 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &515 + properties: &517 url: type: string format: uri html_url: type: string format: uri - required: &516 + required: &518 - url - html_url nullable: true @@ -70824,32 +71005,32 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true contributing: title: Community Health File type: object - properties: *515 - required: *516 + properties: *517 + required: *518 nullable: true readme: title: Community Health File type: object - properties: *515 - required: *516 + properties: *517 + required: *518 nullable: true issue_template: title: Community Health File type: object - properties: *515 - required: *516 + properties: *517 + required: *518 nullable: true pull_request_template: title: Community Health File type: object - properties: *515 - required: *516 + properties: *517 + required: *518 nullable: true required: - code_of_conduct @@ -70976,8 +71157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *381 - - *382 + - *383 + - *384 - *19 - *17 - name: basehead @@ -71020,8 +71201,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *502 - merge_base_commit: *502 + base_commit: *504 + merge_base_commit: *504 status: type: string enum: @@ -71041,10 +71222,10 @@ paths: example: 6 commits: type: array - items: *502 + items: *504 files: type: array - items: *517 + items: *519 required: - url - html_url @@ -71330,8 +71511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *381 - - *382 + - *383 + - *384 - name: path description: path parameter in: path @@ -71474,7 +71655,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &518 + response-if-content-is-a-file: &520 summary: Response if content is a file value: type: file @@ -71606,7 +71787,7 @@ paths: - size - type - url - - &632 + - &634 title: Content File description: Content File type: object @@ -71807,7 +71988,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *518 + response-if-content-is-a-file: *520 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -71876,7 +72057,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *519 + '302': *521 '304': *37 x-github: githubCloudOnly: false @@ -71899,8 +72080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *381 - - *382 + - *383 + - *384 - name: path description: path parameter in: path @@ -71993,7 +72174,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &522 title: File Commit description: File Commit type: object @@ -72145,7 +72326,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: example-for-creating-a-file: value: @@ -72199,7 +72380,7 @@ paths: schema: oneOf: - *3 - - &558 + - &560 description: Repository rule violation was detected type: object properties: @@ -72220,7 +72401,7 @@ paths: items: type: object properties: - placeholder_id: &691 + placeholder_id: &693 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72252,8 +72433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *381 - - *382 + - *383 + - *384 - name: path description: path parameter in: path @@ -72314,7 +72495,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: default: value: @@ -72369,8 +72550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *381 - - *382 + - *383 + - *384 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -72493,22 +72674,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *381 - - *382 - - *251 - - *252 + - *383 + - *384 - *253 - *254 + - *255 + - *256 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *255 - - *256 - *257 - *258 + - *259 + - *260 - *88 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -72528,8 +72709,8 @@ paths: default: 30 - *86 - *87 - - *259 - - *260 + - *261 + - *262 responses: '200': description: Response @@ -72537,7 +72718,7 @@ paths: application/json: schema: type: array - items: &523 + items: &525 type: object description: A Dependabot alert. properties: @@ -72583,7 +72764,7 @@ paths: - unknown - direct - transitive - security_advisory: *521 + security_advisory: *523 security_vulnerability: *104 url: *105 html_url: *106 @@ -72614,7 +72795,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: *522 + auto_dismissed_at: *524 required: - number - state @@ -72844,9 +73025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *381 - - *382 - - &524 + - *383 + - *384 + - &526 name: alert_number in: path description: |- @@ -72861,7 +73042,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -72974,9 +73155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *381 - - *382 - - *524 + - *383 + - *384 + - *526 requestBody: required: true content: @@ -73021,7 +73202,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -73150,8 +73331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -73169,7 +73350,7 @@ paths: type: integer secrets: type: array - items: &527 + items: &529 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -73222,16 +73403,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73251,15 +73432,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '200': description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -73285,9 +73466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 requestBody: required: true content: @@ -73315,7 +73496,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -73339,9 +73520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '204': description: Response @@ -73363,8 +73544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *381 - - *382 + - *383 + - *384 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -73524,8 +73705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -73764,8 +73945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -73840,7 +74021,7 @@ paths: - version - url additionalProperties: false - metadata: &528 + metadata: &530 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73873,7 +74054,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *528 + metadata: *530 resolved: type: object description: A collection of resolved package dependencies. @@ -73886,7 +74067,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *528 + metadata: *530 relationship: type: string description: A notation of whether a dependency is requested @@ -74015,8 +74196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *381 - - *382 + - *383 + - *384 - name: sha description: The SHA recorded at creation time. in: query @@ -74056,9 +74237,9 @@ paths: application/json: schema: type: array - items: *529 + items: *531 examples: - default: *530 + default: *532 headers: Link: *40 x-github: @@ -74124,8 +74305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -74206,7 +74387,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: simple-example: summary: Simple example @@ -74279,9 +74460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *381 - - *382 - - &531 + - *383 + - *384 + - &533 name: deployment_id description: deployment_id parameter in: path @@ -74293,7 +74474,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -74358,9 +74539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *381 - - *382 - - *531 + - *383 + - *384 + - *533 responses: '204': description: Response @@ -74382,9 +74563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *381 - - *382 - - *531 + - *383 + - *384 + - *533 - *17 - *19 responses: @@ -74394,7 +74575,7 @@ paths: application/json: schema: type: array - items: &532 + items: &534 title: Deployment Status description: The status of a deployment. type: object @@ -74485,8 +74666,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 required: - id - node_id @@ -74555,9 +74736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *381 - - *382 - - *531 + - *383 + - *384 + - *533 requestBody: required: true content: @@ -74632,9 +74813,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: &533 + default: &535 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74690,9 +74871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *381 - - *382 - - *531 + - *383 + - *384 + - *533 - name: status_id in: path required: true @@ -74703,9 +74884,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: *533 + default: *535 '404': *6 x-github: githubCloudOnly: false @@ -74732,12 +74913,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 - - *534 - - *535 + - *383 + - *384 - *536 - *537 + - *538 + - *539 - *17 - *19 responses: @@ -74747,9 +74928,9 @@ paths: application/json: schema: type: array - items: *538 + items: *540 examples: - default: *539 + default: *541 '404': *6 '403': *29 '500': *85 @@ -74773,8 +74954,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: alert_number in: path required: true @@ -74786,7 +74967,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *538 + schema: *540 examples: default: value: @@ -74842,8 +75023,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: alert_number in: path required: true @@ -74902,12 +75083,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 - - *223 - - *224 + - *383 + - *384 - *225 - - *540 + - *226 + - *227 + - *542 - *17 - *19 responses: @@ -74917,9 +75098,9 @@ paths: application/json: schema: type: array - items: *541 + items: *543 examples: - default: *542 + default: *544 '404': *6 '403': *29 '500': *85 @@ -74944,8 +75125,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: alert_number in: path required: true @@ -74957,7 +75138,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *541 + schema: *543 examples: default: value: @@ -75015,8 +75196,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: alert_number in: path required: true @@ -75085,8 +75266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -75143,8 +75324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -75161,7 +75342,7 @@ paths: type: integer environments: type: array - items: &544 + items: &546 title: Environment description: Details of a deployment environment type: object @@ -75213,7 +75394,7 @@ paths: type: type: string example: wait_timer - wait_timer: &546 + wait_timer: &548 type: integer example: 30 description: The amount of time to delay a job after @@ -75250,11 +75431,11 @@ paths: items: type: object properties: - type: *543 + type: *545 reviewer: anyOf: - *4 - - *231 + - *233 required: - id - node_id @@ -75274,7 +75455,7 @@ paths: - id - node_id - type - deployment_branch_policy: &547 + deployment_branch_policy: &549 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -75390,9 +75571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *381 - - *382 - - &545 + - *383 + - *384 + - &547 name: environment_name in: path required: true @@ -75405,9 +75586,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: &548 + default: &550 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75491,9 +75672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 requestBody: required: false content: @@ -75502,7 +75683,7 @@ paths: type: object nullable: true properties: - wait_timer: *546 + wait_timer: *548 prevent_self_review: type: boolean example: false @@ -75519,13 +75700,13 @@ paths: items: type: object properties: - type: *543 + type: *545 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *547 + deployment_branch_policy: *549 additionalProperties: false examples: default: @@ -75545,9 +75726,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: *548 + default: *550 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75571,9 +75752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 responses: '204': description: Default response @@ -75598,9 +75779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 - *17 - *19 responses: @@ -75618,7 +75799,7 @@ paths: example: 2 branch_policies: type: array - items: &549 + items: &551 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75675,9 +75856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 requestBody: required: true content: @@ -75723,9 +75904,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - example-wildcard: &550 + example-wildcard: &552 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75767,10 +75948,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *381 - - *382 - - *545 - - &551 + - *383 + - *384 + - *547 + - &553 name: branch_policy_id in: path required: true @@ -75782,9 +75963,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75803,10 +75984,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *381 - - *382 - - *545 - - *551 + - *383 + - *384 + - *547 + - *553 requestBody: required: true content: @@ -75834,9 +76015,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75855,10 +76036,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *381 - - *382 - - *545 - - *551 + - *383 + - *384 + - *547 + - *553 responses: '204': description: Response @@ -75883,9 +76064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *545 - - *382 - - *381 + - *547 + - *384 + - *383 responses: '200': description: List of deployment protection rules @@ -75901,7 +76082,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &552 + items: &554 title: Deployment protection rule description: Deployment protection rule type: object @@ -75920,7 +76101,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &553 + app: &555 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -76019,9 +76200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *545 - - *382 - - *381 + - *547 + - *384 + - *383 requestBody: content: application/json: @@ -76042,9 +76223,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *552 + schema: *554 examples: - default: &554 + default: &556 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -76079,9 +76260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *545 - - *382 - - *381 + - *547 + - *384 + - *383 - *19 - *17 responses: @@ -76100,7 +76281,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *553 + items: *555 examples: default: value: @@ -76135,10 +76316,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *381 - - *382 - - *545 - - &555 + - *383 + - *384 + - *547 + - &557 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -76150,9 +76331,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *554 examples: - default: *554 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76173,10 +76354,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *545 - - *382 - - *381 - - *555 + - *547 + - *384 + - *383 + - *557 responses: '204': description: Response @@ -76202,9 +76383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 - *17 - *19 responses: @@ -76222,9 +76403,9 @@ paths: type: integer secrets: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *40 x-github: @@ -76249,17 +76430,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *421 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76281,18 +76462,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *381 - - *382 - - *545 - - *210 + - *383 + - *384 + - *547 + - *212 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76314,10 +76495,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *381 - - *382 - - *545 - - *210 + - *383 + - *384 + - *547 + - *212 requestBody: required: true content: @@ -76348,7 +76529,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -76374,10 +76555,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *381 - - *382 - - *545 - - *210 + - *383 + - *384 + - *547 + - *212 responses: '204': description: Default response @@ -76402,10 +76583,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *381 - - *382 - - *545 - - *405 + - *383 + - *384 + - *547 + - *407 - *19 responses: '200': @@ -76422,9 +76603,9 @@ paths: type: integer variables: type: array - items: *422 + items: *424 examples: - default: *423 + default: *425 headers: Link: *40 x-github: @@ -76447,9 +76628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 requestBody: required: true content: @@ -76476,7 +76657,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -76501,18 +76682,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *381 - - *382 - - *545 - - *213 + - *383 + - *384 + - *547 + - *215 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *557 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76533,10 +76714,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *381 - - *382 - - *213 - - *545 + - *383 + - *384 + - *215 + - *547 requestBody: required: true content: @@ -76578,10 +76759,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *381 - - *382 - - *213 - - *545 + - *383 + - *384 + - *215 + - *547 responses: '204': description: Response @@ -76603,8 +76784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -76614,7 +76795,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: 200-response: value: @@ -76681,8 +76862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *381 - - *382 + - *383 + - *384 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76704,7 +76885,7 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: default: value: @@ -76841,8 +77022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -76874,9 +77055,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *396 + default: *398 '400': *14 '422': *15 '403': *29 @@ -76897,8 +77078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -76957,8 +77138,8 @@ paths: application/json: schema: oneOf: - - *183 - - *558 + - *185 + - *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76983,8 +77164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *381 - - *382 + - *383 + - *384 - name: file_sha in: path required: true @@ -77083,8 +77264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -77193,7 +77374,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &561 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77407,15 +77588,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *381 - - *382 - - *503 + - *383 + - *384 + - *505 responses: '200': description: Response content: application/json: - schema: *559 + schema: *561 examples: default: value: @@ -77471,9 +77652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *381 - - *382 - - &560 + - *383 + - *384 + - &562 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -77490,7 +77671,7 @@ paths: application/json: schema: type: array - items: &561 + items: &563 title: Git Reference description: Git references within a repository type: object @@ -77565,17 +77746,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *381 - - *382 - - *560 + - *383 + - *384 + - *562 responses: '200': description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: &562 + default: &564 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77604,8 +77785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -77634,9 +77815,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *562 + default: *564 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77662,9 +77843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *381 - - *382 - - *560 + - *383 + - *384 + - *562 requestBody: required: true content: @@ -77693,9 +77874,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *562 + default: *564 '422': *15 '409': *96 x-github: @@ -77713,9 +77894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *381 - - *382 - - *560 + - *383 + - *384 + - *562 responses: '204': description: Response @@ -77770,8 +77951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -77838,7 +78019,7 @@ paths: description: Response content: application/json: - schema: &564 + schema: &566 title: Git Tag description: Metadata for a Git tag type: object @@ -77889,7 +78070,7 @@ paths: - sha - type - url - verification: *563 + verification: *565 required: - sha - url @@ -77899,7 +78080,7 @@ paths: - tag - message examples: - default: &565 + default: &567 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77972,8 +78153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *381 - - *382 + - *383 + - *384 - name: tag_sha in: path required: true @@ -77984,9 +78165,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: *565 + default: *567 '404': *6 '409': *96 x-github: @@ -78010,8 +78191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -78084,7 +78265,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &568 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -78180,8 +78361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *381 - - *382 + - *383 + - *384 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -78204,7 +78385,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: default-response: summary: Default response @@ -78263,8 +78444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -78274,7 +78455,7 @@ paths: application/json: schema: type: array - items: &567 + items: &569 title: Webhook description: Webhooks for repositories. type: object @@ -78328,7 +78509,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &832 + last_response: &834 title: Hook Response type: object properties: @@ -78402,8 +78583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -78455,9 +78636,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: &568 + default: &570 value: type: Repository id: 12345678 @@ -78505,17 +78686,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 responses: '200': description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -78535,9 +78716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 requestBody: required: true content: @@ -78582,9 +78763,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 '422': *15 '404': *6 x-github: @@ -78605,9 +78786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 responses: '204': description: Response @@ -78631,9 +78812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 responses: '200': description: Response @@ -78660,9 +78841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 requestBody: required: false content: @@ -78706,11 +78887,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 - *17 - - *269 + - *271 responses: '200': description: Response @@ -78718,9 +78899,9 @@ paths: application/json: schema: type: array - items: *270 + items: *272 examples: - default: *271 + default: *273 '400': *14 '422': *15 x-github: @@ -78739,18 +78920,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 - *16 responses: '200': description: Response content: application/json: - schema: *272 + schema: *274 examples: - default: *273 + default: *275 '400': *14 '422': *15 x-github: @@ -78769,9 +78950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 - *16 responses: '202': *39 @@ -78794,9 +78975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 responses: '204': description: Response @@ -78821,9 +79002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 responses: '204': description: Response @@ -78881,14 +79062,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: &569 + schema: &571 title: Import description: A repository import from an external source. type: object @@ -78987,7 +79168,7 @@ paths: - html_url - authors_url examples: - default: &572 + default: &574 value: vcs: subversion use_lfs: true @@ -79003,7 +79184,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &570 + '503': &572 description: Unavailable due to service under maintenance. content: application/json: @@ -79032,8 +79213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -79081,7 +79262,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: default: value: @@ -79106,7 +79287,7 @@ paths: type: string '422': *15 '404': *6 - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79134,8 +79315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -79184,7 +79365,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: example-1: summary: Example 1 @@ -79232,7 +79413,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79255,12 +79436,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79286,9 +79467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *381 - - *382 - - &775 + - *383 + - *384 + - &777 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -79302,7 +79483,7 @@ paths: application/json: schema: type: array - items: &571 + items: &573 title: Porter Author description: Porter Author type: object @@ -79356,7 +79537,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79381,8 +79562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *381 - - *382 + - *383 + - *384 - name: author_id in: path required: true @@ -79412,7 +79593,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: default: value: @@ -79425,7 +79606,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79449,8 +79630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -79491,7 +79672,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79519,8 +79700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -79547,11 +79728,11 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *572 + default: *574 '422': *15 - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79574,8 +79755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -79583,8 +79764,8 @@ paths: application/json: schema: *22 examples: - default: *573 - '301': *395 + default: *575 + '301': *397 '404': *6 x-github: githubCloudOnly: false @@ -79604,8 +79785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -79613,12 +79794,12 @@ paths: application/json: schema: anyOf: - - *286 + - *288 - type: object properties: {} additionalProperties: false examples: - default: &575 + default: &577 value: limit: collaborators_only origin: repository @@ -79643,13 +79824,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: application/json: - schema: *574 + schema: *576 examples: default: summary: Example request body @@ -79661,9 +79842,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *575 + default: *577 '409': description: Response x-github: @@ -79685,8 +79866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -79709,8 +79890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -79720,9 +79901,9 @@ paths: application/json: schema: type: array - items: *576 + items: *578 examples: - default: &768 + default: &770 value: - id: 1 repository: @@ -79853,9 +80034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *381 - - *382 - - *290 + - *383 + - *384 + - *292 requestBody: required: false content: @@ -79884,7 +80065,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -80015,9 +80196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *381 - - *382 - - *290 + - *383 + - *384 + - *292 responses: '204': description: Response @@ -80048,8 +80229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *381 - - *382 + - *383 + - *384 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -80097,7 +80278,7 @@ paths: required: false schema: type: string - - *294 + - *296 - name: sort description: What to sort results by. in: query @@ -80110,7 +80291,7 @@ paths: - comments default: created - *88 - - *145 + - *147 - *17 - *19 responses: @@ -80120,9 +80301,9 @@ paths: application/json: schema: type: array - items: *155 + items: *157 examples: - default: &587 + default: &589 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80270,7 +80451,7 @@ paths: state_reason: completed headers: Link: *40 - '301': *395 + '301': *397 '422': *15 '404': *6 x-github: @@ -80299,8 +80480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -80382,9 +80563,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: &582 + default: &584 value: id: 1 node_id: MDU6SXNzdWUx @@ -80540,7 +80721,7 @@ paths: '422': *15 '503': *134 '404': *6 - '410': *392 + '410': *394 x-github: triggersNotification: true githubCloudOnly: false @@ -80568,9 +80749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *381 - - *382 - - *165 + - *383 + - *384 + - *167 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -80580,7 +80761,7 @@ paths: enum: - asc - desc - - *145 + - *147 - *17 - *19 responses: @@ -80590,9 +80771,9 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: &584 + default: &586 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80650,17 +80831,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '200': description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: &578 + default: &580 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80714,9 +80895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -80738,9 +80919,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *578 + default: *580 '422': *15 x-github: githubCloudOnly: false @@ -80758,9 +80939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '204': description: Response @@ -80780,9 +80961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -80808,9 +80989,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 '404': *6 @@ -80831,9 +81012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -80865,16 +81046,16 @@ paths: description: Reaction exists content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Reaction created content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -80896,10 +81077,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *381 - - *382 - - *154 - - *373 + - *383 + - *384 + - *156 + - *375 responses: '204': description: Response @@ -80919,8 +81100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -80930,7 +81111,7 @@ paths: application/json: schema: type: array - items: &581 + items: &583 title: Issue Event description: Issue Event type: object @@ -80973,8 +81154,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *579 - required: *580 + properties: *581 + required: *582 nullable: true label: title: Issue Event Label @@ -81018,7 +81199,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *231 + requested_team: *233 dismissed_review: title: Issue Event Dismissed Review type: object @@ -81083,7 +81264,7 @@ paths: required: - from - to - author_association: *142 + author_association: *144 lock_reason: type: string nullable: true @@ -81096,8 +81277,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 required: - id - node_id @@ -81281,8 +81462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *381 - - *382 + - *383 + - *384 - name: event_id in: path required: true @@ -81293,7 +81474,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -81486,7 +81667,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *392 + '410': *394 '403': *29 x-github: githubCloudOnly: false @@ -81520,9 +81701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *381 - - *382 - - &583 + - *383 + - *384 + - &585 name: issue_number description: The number that identifies the issue. in: path @@ -81534,12 +81715,12 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 - '301': *395 + default: *584 + '301': *397 '404': *6 - '410': *392 + '410': *394 '304': *37 x-github: githubCloudOnly: false @@ -81564,9 +81745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: false content: @@ -81669,15 +81850,15 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 '422': *15 '503': *134 '403': *29 - '301': *395 + '301': *397 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81695,9 +81876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: false content: @@ -81723,9 +81904,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81741,9 +81922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: content: application/json: @@ -81768,9 +81949,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81792,9 +81973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - name: assignee in: path required: true @@ -81834,10 +82015,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *381 - - *382 - - *583 - - *145 + - *383 + - *384 + - *585 + - *147 - *17 - *19 responses: @@ -81847,13 +82028,13 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: *584 + default: *586 headers: Link: *40 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81882,9 +82063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: true content: @@ -81906,16 +82087,16 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *578 + default: *580 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *392 + '410': *394 '422': *15 '404': *6 x-github: @@ -81935,9 +82116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - *17 - *19 responses: @@ -81951,7 +82132,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &588 + - &590 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81982,8 +82163,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 label: type: object properties: @@ -82005,7 +82186,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &589 + - &591 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -82036,8 +82217,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 label: type: object properties: @@ -82125,8 +82306,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 assignee: *4 assigner: *4 required: @@ -82141,7 +82322,7 @@ paths: - performed_via_github_app - assignee - assigner - - &590 + - &592 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -82172,8 +82353,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 milestone: type: object properties: @@ -82192,7 +82373,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &591 + - &593 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82223,8 +82404,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 milestone: type: object properties: @@ -82243,7 +82424,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &592 + - &594 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82274,8 +82455,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 rename: type: object properties: @@ -82297,7 +82478,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &593 + - &595 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -82328,10 +82509,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 review_requester: *4 - requested_team: *231 + requested_team: *233 requested_reviewer: *4 required: - review_requester @@ -82344,7 +82525,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &594 + - &596 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -82375,10 +82556,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 review_requester: *4 - requested_team: *231 + requested_team: *233 requested_reviewer: *4 required: - review_requester @@ -82391,7 +82572,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &595 + - &597 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82422,8 +82603,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 dismissed_review: type: object properties: @@ -82451,7 +82632,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &596 + - &598 title: Locked Issue Event description: Locked Issue Event type: object @@ -82482,8 +82663,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 lock_reason: type: string example: '"off-topic"' @@ -82499,7 +82680,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &597 + - &599 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82530,8 +82711,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 project_card: type: object properties: @@ -82565,7 +82746,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &598 + - &600 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82596,8 +82777,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 project_card: type: object properties: @@ -82631,7 +82812,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &599 + - &601 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82662,8 +82843,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 project_card: type: object properties: @@ -82697,7 +82878,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &600 + - &602 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82788,7 +82969,7 @@ paths: color: red headers: Link: *40 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82805,9 +82986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - *17 - *19 responses: @@ -82817,7 +82998,7 @@ paths: application/json: schema: type: array - items: &585 + items: &587 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -82864,7 +83045,7 @@ paths: - color - default examples: - default: &586 + default: &588 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82882,9 +83063,9 @@ paths: default: false headers: Link: *40 - '301': *395 + '301': *397 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82901,9 +83082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: false content: @@ -82962,12 +83143,12 @@ paths: application/json: schema: type: array - items: *585 + items: *587 examples: - default: *586 - '301': *395 + default: *588 + '301': *397 '404': *6 - '410': *392 + '410': *394 '422': *15 x-github: githubCloudOnly: false @@ -82984,9 +83165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: false content: @@ -83046,12 +83227,12 @@ paths: application/json: schema: type: array - items: *585 + items: *587 examples: - default: *586 - '301': *395 + default: *588 + '301': *397 '404': *6 - '410': *392 + '410': *394 '422': *15 x-github: githubCloudOnly: false @@ -83068,15 +83249,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 responses: '204': description: Response - '301': *395 + '301': *397 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83095,9 +83276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - name: name in: path required: true @@ -83110,7 +83291,7 @@ paths: application/json: schema: type: array - items: *585 + items: *587 examples: default: value: @@ -83121,9 +83302,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *395 + '301': *397 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83143,9 +83324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: false content: @@ -83173,7 +83354,7 @@ paths: '204': description: Response '403': *29 - '410': *392 + '410': *394 '404': *6 '422': *15 x-github: @@ -83191,9 +83372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 responses: '204': description: Response @@ -83215,9 +83396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -83243,13 +83424,13 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83267,9 +83448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: true content: @@ -83301,16 +83482,16 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -83332,10 +83513,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *381 - - *382 - - *583 - - *373 + - *383 + - *384 + - *585 + - *375 responses: '204': description: Response @@ -83364,9 +83545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: true content: @@ -83388,9 +83569,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83423,9 +83604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - *17 - *19 responses: @@ -83435,13 +83616,13 @@ paths: application/json: schema: type: array - items: *155 + items: *157 examples: - default: *587 + default: *589 headers: Link: *40 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83469,9 +83650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: true content: @@ -83498,16 +83679,16 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *392 + '410': *394 '422': *15 '404': *6 x-github: @@ -83527,9 +83708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: true content: @@ -83560,9 +83741,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 '403': *29 '404': *6 '422': *7 @@ -83584,9 +83765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - *17 - *19 responses: @@ -83601,8 +83782,6 @@ paths: description: Timeline Event type: object anyOf: - - *588 - - *589 - *590 - *591 - *592 @@ -83614,6 +83793,8 @@ paths: - *598 - *599 - *600 + - *601 + - *602 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83656,7 +83837,7 @@ paths: issue_url: type: string format: uri - author_association: *142 + author_association: *144 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -83666,9 +83847,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 - reactions: *143 + properties: *142 + required: *143 + reactions: *145 required: - event - actor @@ -83699,7 +83880,7 @@ paths: properties: type: type: string - issue: *155 + issue: *157 required: - event - created_at @@ -83895,7 +84076,7 @@ paths: type: string body_text: type: string - author_association: *142 + author_association: *144 required: - event - id @@ -83918,7 +84099,7 @@ paths: type: string comments: type: array - items: &621 + items: &623 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -84007,7 +84188,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *142 + author_association: *144 _links: type: object properties: @@ -84091,7 +84272,7 @@ paths: enum: - line - file - reactions: *143 + reactions: *145 body_html: type: string example: '"

comment body

"' @@ -84127,7 +84308,7 @@ paths: type: string comments: type: array - items: *501 + items: *503 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -84158,8 +84339,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 assignee: *4 required: - id @@ -84202,8 +84383,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 assignee: *4 required: - id @@ -84246,8 +84427,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 state_reason: type: string nullable: true @@ -84416,7 +84597,7 @@ paths: headers: Link: *40 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84433,8 +84614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -84444,7 +84625,7 @@ paths: application/json: schema: type: array - items: &601 + items: &603 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84509,8 +84690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -84546,9 +84727,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &602 + default: &604 value: id: 1 key: ssh-rsa AAA... @@ -84582,9 +84763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *381 - - *382 - - &603 + - *383 + - *384 + - &605 name: key_id description: The unique identifier of the key. in: path @@ -84596,9 +84777,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *602 + default: *604 '404': *6 x-github: githubCloudOnly: false @@ -84616,9 +84797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *381 - - *382 - - *603 + - *383 + - *384 + - *605 responses: '204': description: Response @@ -84638,8 +84819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -84649,9 +84830,9 @@ paths: application/json: schema: type: array - items: *585 + items: *587 examples: - default: *586 + default: *588 headers: Link: *40 '404': *6 @@ -84672,8 +84853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -84709,9 +84890,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: &604 + default: &606 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84743,8 +84924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *381 - - *382 + - *383 + - *384 - name: name in: path required: true @@ -84755,9 +84936,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: *604 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -84774,8 +84955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *381 - - *382 + - *383 + - *384 - name: name in: path required: true @@ -84814,7 +84995,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: default: value: @@ -84840,8 +85021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *381 - - *382 + - *383 + - *384 - name: name in: path required: true @@ -84867,8 +85048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -84904,8 +85085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '202': *39 '403': @@ -84933,8 +85114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -84960,9 +85141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *381 - - *382 - - *477 + - *383 + - *384 + - *479 responses: '200': description: Response @@ -85024,8 +85205,8 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true required: - _links @@ -85107,8 +85288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -85173,8 +85354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -85208,9 +85389,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *502 + schema: *504 examples: - default: *605 + default: *607 '204': description: Response when already merged '404': @@ -85235,8 +85416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *381 - - *382 + - *383 + - *384 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -85277,12 +85458,12 @@ paths: application/json: schema: type: array - items: &606 + items: &608 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *506 - required: *507 + properties: *508 + required: *509 examples: default: value: @@ -85338,8 +85519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -85379,9 +85560,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: &607 + default: &609 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85440,9 +85621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *381 - - *382 - - &608 + - *383 + - *384 + - &610 name: milestone_number description: The number that identifies the milestone. in: path @@ -85454,9 +85635,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 '404': *6 x-github: githubCloudOnly: false @@ -85473,9 +85654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *381 - - *382 - - *608 + - *383 + - *384 + - *610 requestBody: required: false content: @@ -85513,9 +85694,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85531,9 +85712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *381 - - *382 - - *608 + - *383 + - *384 + - *610 responses: '204': description: Response @@ -85554,9 +85735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *381 - - *382 - - *608 + - *383 + - *384 + - *610 - *17 - *19 responses: @@ -85566,9 +85747,9 @@ paths: application/json: schema: type: array - items: *585 + items: *587 examples: - default: *586 + default: *588 headers: Link: *40 x-github: @@ -85587,12 +85768,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *381 - - *382 - - *609 - - *610 - - *145 + - *383 + - *384 - *611 + - *612 + - *147 + - *613 - *17 - *19 responses: @@ -85602,9 +85783,9 @@ paths: application/json: schema: type: array - items: *168 + items: *170 examples: - default: *612 + default: *614 headers: Link: *40 x-github: @@ -85628,8 +85809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -85687,14 +85868,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: &613 + schema: &615 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85819,7 +86000,7 @@ paths: - custom_404 - public examples: - default: &614 + default: &616 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85860,8 +86041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -85915,9 +86096,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: *614 + default: *616 '422': *15 '409': *96 x-github: @@ -85940,8 +86121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -86048,8 +86229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -86075,8 +86256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -86086,7 +86267,7 @@ paths: application/json: schema: type: array - items: &615 + items: &617 title: Page Build description: Page Build type: object @@ -86180,8 +86361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *381 - - *382 + - *383 + - *384 responses: '201': description: Response @@ -86226,16 +86407,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: &616 + default: &618 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86283,8 +86464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *381 - - *382 + - *383 + - *384 - name: build_id in: path required: true @@ -86295,9 +86476,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86317,8 +86498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -86423,9 +86604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *381 - - *382 - - &617 + - *383 + - *384 + - &619 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86483,9 +86664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *381 - - *382 - - *617 + - *383 + - *384 + - *619 responses: '204': *120 '404': *6 @@ -86512,8 +86693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -86744,7 +86925,7 @@ paths: description: Empty response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -86771,8 +86952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Private vulnerability reporting status @@ -86809,8 +86990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': *120 '422': *14 @@ -86831,8 +87012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': *120 '422': *14 @@ -86855,8 +87036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *381 - - *382 + - *383 + - *384 - name: state description: Indicates the state of the projects to return. in: query @@ -86877,7 +87058,7 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: default: value: @@ -86917,7 +87098,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *392 + '410': *394 '422': *7 x-github: githubCloudOnly: false @@ -86940,8 +87121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -86967,13 +87148,13 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: - default: *391 + default: *393 '401': *25 '403': *29 '404': *6 - '410': *392 + '410': *394 '422': *7 x-github: githubCloudOnly: false @@ -86996,8 +87177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -87005,7 +87186,7 @@ paths: application/json: schema: type: array - items: *327 + items: *329 examples: default: value: @@ -87036,8 +87217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -87049,7 +87230,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *327 + items: *329 required: - properties examples: @@ -87099,8 +87280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -87160,9 +87341,9 @@ paths: application/json: schema: type: array - items: *618 + items: *620 examples: - default: *619 + default: *621 headers: Link: *40 '304': *37 @@ -87194,8 +87375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -87260,7 +87441,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &625 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87371,8 +87552,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *506 - required: *507 + properties: *508 + required: *509 nullable: true active_lock_reason: type: string @@ -87417,7 +87598,7 @@ paths: nullable: true requested_teams: type: array - items: *348 + items: *350 nullable: true head: type: object @@ -87456,14 +87637,14 @@ paths: _links: type: object properties: - comments: *508 - commits: *508 - statuses: *508 - html: *508 - issue: *508 - review_comments: *508 - review_comment: *508 - self: *508 + comments: *510 + commits: *510 + statuses: *510 + html: *510 + issue: *510 + review_comments: *510 + review_comment: *510 + self: *510 required: - comments - commits @@ -87473,8 +87654,8 @@ paths: - review_comments - review_comment - self - author_association: *142 - auto_merge: *620 + author_association: *144 + auto_merge: *622 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -87566,7 +87747,7 @@ paths: - merged_by - review_comments examples: - default: &624 + default: &626 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88093,8 +88274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: sort in: query required: false @@ -88113,7 +88294,7 @@ paths: enum: - asc - desc - - *145 + - *147 - *17 - *19 responses: @@ -88123,9 +88304,9 @@ paths: application/json: schema: type: array - items: *621 + items: *623 examples: - default: &626 + default: &628 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88202,17 +88383,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '200': description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: &622 + default: &624 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88287,9 +88468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -88311,9 +88492,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88329,9 +88510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '204': description: Response @@ -88352,9 +88533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -88380,9 +88561,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 '404': *6 @@ -88403,9 +88584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -88437,16 +88618,16 @@ paths: description: Reaction exists content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Reaction created content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -88468,10 +88649,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *381 - - *382 - - *154 - - *373 + - *383 + - *384 + - *156 + - *375 responses: '204': description: Response @@ -88514,9 +88695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *381 - - *382 - - &625 + - *383 + - *384 + - &627 name: pull_number description: The number that identifies the pull request. in: path @@ -88529,9 +88710,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *623 + schema: *625 examples: - default: *624 + default: *626 '304': *37 '404': *6 '406': @@ -88566,9 +88747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: false content: @@ -88610,9 +88791,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: - default: *624 + default: *626 '422': *15 '403': *29 x-github: @@ -88634,9 +88815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: true content: @@ -88696,17 +88877,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '401': *25 '403': *29 '404': *6 @@ -88736,10 +88917,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *381 - - *382 - - *625 - - *165 + - *383 + - *384 + - *627 + - *167 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -88749,7 +88930,7 @@ paths: enum: - asc - desc - - *145 + - *147 - *17 - *19 responses: @@ -88759,9 +88940,9 @@ paths: application/json: schema: type: array - items: *621 + items: *623 examples: - default: *626 + default: *628 headers: Link: *40 x-github: @@ -88794,9 +88975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: true content: @@ -88901,7 +89082,7 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: example-for-a-multi-line-comment: value: @@ -88989,10 +89170,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *381 - - *382 - - *625 - - *154 + - *383 + - *384 + - *627 + - *156 requestBody: required: true content: @@ -89014,7 +89195,7 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: default: value: @@ -89100,9 +89281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 - *17 - *19 responses: @@ -89112,9 +89293,9 @@ paths: application/json: schema: type: array - items: *502 + items: *504 examples: - default: *627 + default: *629 headers: Link: *40 x-github: @@ -89144,9 +89325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 - *17 - *19 responses: @@ -89156,7 +89337,7 @@ paths: application/json: schema: type: array - items: *517 + items: *519 examples: default: value: @@ -89194,9 +89375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 responses: '204': description: Response if pull request has been merged @@ -89219,9 +89400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: false content: @@ -89332,9 +89513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 responses: '200': description: Response @@ -89350,7 +89531,7 @@ paths: items: *4 teams: type: array - items: *231 + items: *233 required: - users - teams @@ -89409,9 +89590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: false content: @@ -89448,7 +89629,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: default: value: @@ -89984,9 +90165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: true content: @@ -90020,7 +90201,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: default: value: @@ -90525,9 +90706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 - *17 - *19 responses: @@ -90537,7 +90718,7 @@ paths: application/json: schema: type: array - items: &628 + items: &630 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90606,7 +90787,7 @@ paths: type: string body_text: type: string - author_association: *142 + author_association: *144 required: - id - node_id @@ -90688,9 +90869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: false content: @@ -90776,9 +90957,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: - default: &630 + default: &632 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90841,10 +91022,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 - - &629 + - *383 + - *384 + - *627 + - &631 name: review_id description: The unique identifier of the review. in: path @@ -90856,9 +91037,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: - default: &631 + default: &633 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90917,10 +91098,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 - - *629 + - *383 + - *384 + - *627 + - *631 requestBody: required: true content: @@ -90943,7 +91124,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: default: value: @@ -91005,18 +91186,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 - - *629 + - *383 + - *384 + - *627 + - *631 responses: '200': description: Response content: application/json: - schema: *628 + schema: *630 examples: - default: *630 + default: *632 '422': *7 '404': *6 x-github: @@ -91043,10 +91224,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *381 - - *382 - - *625 - - *629 + - *383 + - *384 + - *627 + - *631 - *17 - *19 responses: @@ -91125,13 +91306,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *142 + author_association: *144 _links: type: object properties: - self: *508 - html: *508 - pull_request: *508 + self: *510 + html: *510 + pull_request: *510 required: - self - html @@ -91140,7 +91321,7 @@ paths: type: string body_html: type: string - reactions: *143 + reactions: *145 side: description: The side of the first line of the range for a multi-line comment. @@ -91281,10 +91462,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 - - *629 + - *383 + - *384 + - *627 + - *631 requestBody: required: true content: @@ -91312,7 +91493,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: default: value: @@ -91375,10 +91556,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 - - *629 + - *383 + - *384 + - *627 + - *631 requestBody: required: true content: @@ -91413,9 +91594,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: - default: *631 + default: *633 '404': *6 '422': *7 '403': *29 @@ -91437,9 +91618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: false content: @@ -91502,8 +91683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *381 - - *382 + - *383 + - *384 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -91516,9 +91697,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: &633 + default: &635 value: type: file encoding: base64 @@ -91560,8 +91741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *381 - - *382 + - *383 + - *384 - name: dir description: The alternate path to look for a README file in: path @@ -91581,9 +91762,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: *633 + default: *635 '404': *6 '422': *15 x-github: @@ -91605,8 +91786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -91616,7 +91797,7 @@ paths: application/json: schema: type: array - items: &634 + items: &636 title: Release description: A release. type: object @@ -91679,7 +91860,7 @@ paths: author: *4 assets: type: array - items: &635 + items: &637 title: Release Asset description: Data related to a release. type: object @@ -91754,7 +91935,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *143 + reactions: *145 required: - assets_url - upload_url @@ -91865,8 +92046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -91942,9 +92123,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: &638 + default: &640 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -92048,9 +92229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *381 - - *382 - - &636 + - *383 + - *384 + - &638 name: asset_id description: The unique identifier of the asset. in: path @@ -92062,9 +92243,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *637 examples: - default: &637 + default: &639 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -92099,7 +92280,7 @@ paths: type: User site_admin: false '404': *6 - '302': *519 + '302': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92115,9 +92296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *381 - - *382 - - *636 + - *383 + - *384 + - *638 requestBody: required: false content: @@ -92145,9 +92326,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *637 examples: - default: *637 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92163,9 +92344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *381 - - *382 - - *636 + - *383 + - *384 + - *638 responses: '204': description: Response @@ -92189,8 +92370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -92275,16 +92456,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *638 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92301,8 +92482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *381 - - *382 + - *383 + - *384 - name: tag description: tag parameter in: path @@ -92315,9 +92496,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *638 + default: *640 '404': *6 x-github: githubCloudOnly: false @@ -92339,9 +92520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *381 - - *382 - - &639 + - *383 + - *384 + - &641 name: release_id description: The unique identifier of the release. in: path @@ -92355,9 +92536,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *634 + schema: *636 examples: - default: *638 + default: *640 '401': description: Unauthorized x-github: @@ -92375,9 +92556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 requestBody: required: false content: @@ -92441,9 +92622,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *638 + default: *640 '404': description: Not Found if the discussion category name is invalid content: @@ -92464,9 +92645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 responses: '204': description: Response @@ -92486,9 +92667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 - *17 - *19 responses: @@ -92498,7 +92679,7 @@ paths: application/json: schema: type: array - items: *635 + items: *637 examples: default: value: @@ -92580,9 +92761,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 - name: name in: query required: true @@ -92608,7 +92789,7 @@ paths: description: Response for successful upload content: application/json: - schema: *635 + schema: *637 examples: response-for-successful-upload: value: @@ -92663,9 +92844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -92689,9 +92870,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 '404': *6 @@ -92712,9 +92893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 requestBody: required: true content: @@ -92744,16 +92925,16 @@ paths: description: Reaction exists content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Reaction created content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -92775,10 +92956,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *381 - - *382 - - *639 - - *373 + - *383 + - *384 + - *641 + - *375 responses: '204': description: Response @@ -92802,9 +92983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 - *17 - *19 responses: @@ -92820,8 +93001,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *640 - - &642 + - *642 + - &644 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92840,66 +93021,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *641 - - *642 - allOf: - *643 - - *642 - - allOf: - *644 - - *642 - allOf: - *645 - - *642 + - *644 - allOf: - *646 - - *642 + - *644 - allOf: - *647 - - *642 + - *644 - allOf: - *648 - - *642 + - *644 - allOf: - *649 - - *642 + - *644 - allOf: - *650 - - *642 + - *644 - allOf: - *651 - - *642 + - *644 - allOf: - *652 - - *642 + - *644 - allOf: - *653 - - *642 + - *644 - allOf: - *654 - - *642 + - *644 - allOf: - *655 - - *642 + - *644 - allOf: - *656 - - *642 + - *644 - allOf: - *657 - - *642 + - *644 - allOf: - *658 - - *642 + - *644 - allOf: - *659 - - *642 + - *644 - allOf: - *660 - - *642 + - *644 - allOf: - *661 - - *642 + - *644 + - allOf: + - *662 + - *644 + - allOf: + - *663 + - *644 examples: default: value: @@ -92938,8 +93119,8 @@ paths: category: repos subcategory: rules parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 - name: includes_parents @@ -92950,7 +93131,7 @@ paths: schema: type: boolean default: true - - *662 + - *664 responses: '200': description: Response @@ -93005,8 +93186,8 @@ paths: category: repos subcategory: rules parameters: - - *381 - - *382 + - *383 + - *384 requestBody: description: Request body required: true @@ -93068,7 +93249,7 @@ paths: application/json: schema: *130 examples: - default: &671 + default: &673 value: id: 42 name: super cool ruleset @@ -93115,12 +93296,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *381 - - *382 - - *663 - - *225 - - *664 + - *383 + - *384 - *665 + - *227 + - *666 + - *667 - *17 - *19 responses: @@ -93128,9 +93309,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: *667 + default: *669 '404': *6 '500': *85 x-github: @@ -93151,17 +93332,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *381 - - *382 - - *668 + - *383 + - *384 + - *670 responses: '200': description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 '404': *6 '500': *85 x-github: @@ -93189,8 +93370,8 @@ paths: category: repos subcategory: rules parameters: - - *381 - - *382 + - *383 + - *384 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93212,7 +93393,7 @@ paths: application/json: schema: *130 examples: - default: *671 + default: *673 '404': *6 '500': *85 put: @@ -93230,8 +93411,8 @@ paths: category: repos subcategory: rules parameters: - - *381 - - *382 + - *383 + - *384 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93295,7 +93476,7 @@ paths: application/json: schema: *130 examples: - default: *671 + default: *673 '404': *6 '500': *85 delete: @@ -93313,8 +93494,8 @@ paths: category: repos subcategory: rules parameters: - - *381 - - *382 + - *383 + - *384 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93337,8 +93518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 - name: ruleset_id @@ -93356,7 +93537,7 @@ paths: type: array items: *133 examples: - default: *335 + default: *337 '404': *6 '500': *85 x-github: @@ -93375,8 +93556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *381 - - *382 + - *383 + - *384 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93394,7 +93575,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -93449,21 +93630,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *381 - - *382 - - *337 - - *338 + - *383 + - *384 - *339 - *340 + - *341 + - *342 - *88 - *19 - *17 - - *672 - - *673 - - *341 - - *342 + - *674 + - *675 - *343 - *344 + - *345 + - *346 responses: '200': description: Response @@ -93471,7 +93652,7 @@ paths: application/json: schema: type: array - items: &677 + items: &679 type: object properties: number: *100 @@ -93490,8 +93671,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *674 - resolution: *675 + state: *676 + resolution: *677 resolved_at: type: string format: date-time @@ -93587,7 +93768,7 @@ paths: pull request. ' - oneOf: *676 + oneOf: *678 nullable: true has_more_locations: type: boolean @@ -93737,16 +93918,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *381 - - *382 - - *471 - - *344 + - *383 + - *384 + - *473 + - *346 responses: '200': description: Response content: application/json: - schema: *677 + schema: *679 examples: default: value: @@ -93798,9 +93979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 requestBody: required: true content: @@ -93808,8 +93989,8 @@ paths: schema: type: object properties: - state: *674 - resolution: *675 + state: *676 + resolution: *677 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -93827,7 +94008,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *679 examples: default: value: @@ -93902,9 +94083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 - *19 - *17 responses: @@ -93915,7 +94096,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &853 + items: &855 type: object properties: type: @@ -93941,8 +94122,6 @@ paths: example: commit details: oneOf: - - *678 - - *679 - *680 - *681 - *682 @@ -93954,6 +94133,8 @@ paths: - *688 - *689 - *690 + - *691 + - *692 examples: default: value: @@ -94039,8 +94220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -94048,14 +94229,14 @@ paths: schema: type: object properties: - reason: &692 + reason: &694 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *691 + placeholder_id: *693 required: - reason - placeholder_id @@ -94072,7 +94253,7 @@ paths: schema: type: object properties: - reason: *692 + reason: *694 expire_at: type: string format: date-time @@ -94115,8 +94296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -94131,7 +94312,7 @@ paths: properties: incremental_scans: type: array - items: &693 + items: &695 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94157,15 +94338,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *693 + items: *695 backfill_scans: type: array - items: *693 + items: *695 custom_pattern_backfill_scans: type: array items: allOf: - - *693 + - *695 - type: object properties: pattern_name: @@ -94235,8 +94416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *381 - - *382 + - *383 + - *384 - *88 - name: sort description: The property to sort the results by. @@ -94280,9 +94461,9 @@ paths: application/json: schema: type: array - items: *694 + items: *696 examples: - default: *695 + default: *697 '400': *14 '404': *6 x-github: @@ -94305,8 +94486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -94379,7 +94560,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *349 required: - login - type @@ -94466,9 +94647,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: &697 + default: &699 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94701,8 +94882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -94806,7 +94987,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: default: value: @@ -94953,17 +95134,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *381 - - *382 - - *696 + - *383 + - *384 + - *698 responses: '200': description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *697 + default: *699 '403': *29 '404': *6 x-github: @@ -94987,9 +95168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *381 - - *382 - - *696 + - *383 + - *384 + - *698 requestBody: required: true content: @@ -95062,7 +95243,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *349 required: - login - type @@ -95148,17 +95329,17 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *697 - add_credit: *697 + default: *699 + add_credit: *699 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *183 + schema: *185 examples: invalid_state_transition: value: @@ -95189,9 +95370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *381 - - *382 - - *696 + - *383 + - *384 + - *698 responses: '202': *39 '400': *14 @@ -95218,17 +95399,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *381 - - *382 - - *696 + - *383 + - *384 + - *698 responses: '202': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *396 + default: *398 '400': *14 '422': *15 '403': *29 @@ -95254,8 +95435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -95354,8 +95535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95364,7 +95545,7 @@ paths: application/json: schema: type: array - items: &698 + items: &700 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95397,8 +95578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -95474,8 +95655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -95571,8 +95752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95726,8 +95907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95737,7 +95918,7 @@ paths: application/json: schema: type: array - items: *698 + items: *700 examples: default: value: @@ -95770,8 +95951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *381 - - *382 + - *383 + - *384 - name: sha in: path required: true @@ -95825,7 +96006,7 @@ paths: description: Response content: application/json: - schema: *699 + schema: *701 examples: default: value: @@ -95879,8 +96060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -95892,7 +96073,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -95912,14 +96093,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &700 + schema: &702 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95987,8 +96168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -96014,7 +96195,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *702 examples: default: value: @@ -96041,8 +96222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -96062,8 +96243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -96142,8 +96323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -96151,7 +96332,7 @@ paths: application/json: schema: type: array - items: &701 + items: &703 title: Tag protection description: Tag protection type: object @@ -96203,8 +96384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -96227,7 +96408,7 @@ paths: description: Response content: application/json: - schema: *701 + schema: *703 examples: default: value: @@ -96258,8 +96439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -96296,8 +96477,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *381 - - *382 + - *383 + - *384 - name: ref in: path required: true @@ -96333,8 +96514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -96344,9 +96525,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 headers: Link: *40 '404': *6 @@ -96366,8 +96547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *381 - - *382 + - *383 + - *384 - *19 - *17 responses: @@ -96375,7 +96556,7 @@ paths: description: Response content: application/json: - schema: &702 + schema: &704 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96387,7 +96568,7 @@ paths: required: - names examples: - default: &703 + default: &705 value: names: - octocat @@ -96410,8 +96591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -96442,9 +96623,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: *703 + default: *705 '404': *6 '422': *7 x-github: @@ -96465,9 +96646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *381 - - *382 - - &704 + - *383 + - *384 + - &706 name: per description: The time frame to display results for. in: query @@ -96496,7 +96677,7 @@ paths: example: 128 clones: type: array - items: &705 + items: &707 title: Traffic type: object properties: @@ -96583,8 +96764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -96674,8 +96855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -96735,9 +96916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *381 - - *382 - - *704 + - *383 + - *384 + - *706 responses: '200': description: Response @@ -96756,7 +96937,7 @@ paths: example: 3782 views: type: array - items: *705 + items: *707 required: - uniques - count @@ -96833,8 +97014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -96870,7 +97051,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -97108,8 +97289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -97132,8 +97313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -97155,8 +97336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -97182,8 +97363,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *381 - - *382 + - *383 + - *384 - name: ref in: path required: true @@ -97275,9 +97456,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *396 + default: *398 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97318,7 +97499,7 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: default: value: @@ -97428,7 +97609,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &713 + - &715 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -97437,7 +97618,7 @@ paths: schema: type: string example: members - - &718 + - &720 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -97448,7 +97629,7 @@ paths: default: 1 format: int32 example: 1 - - &719 + - &721 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97490,7 +97671,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &707 + items: &709 allOf: - type: object required: @@ -97565,7 +97746,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &720 + meta: &722 type: object description: The metadata associated with the creation/updates to the user. @@ -97625,31 +97806,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &708 + '400': &710 description: Bad request content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 - '401': &709 + schema: *708 + '401': &711 description: Authorization failure - '403': &710 + '403': &712 description: Permission denied - '429': &711 + '429': &713 description: Too many requests content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 - '500': &712 + schema: *708 + '500': &714 description: Internal server error content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 + schema: *708 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97673,7 +97854,7 @@ paths: required: true content: application/json: - schema: &716 + schema: &718 type: object required: - schemas @@ -97729,9 +97910,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *707 + schema: *709 examples: - group: &714 + group: &716 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -97750,13 +97931,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *708 - '401': *709 - '403': *710 - '409': &717 + '400': *710 + '401': *711 + '403': *712 + '409': &719 description: Duplicate record detected - '429': *711 - '500': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97773,7 +97954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &715 + - &717 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -97781,22 +97962,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *713 + - *715 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *707 + schema: *709 examples: - default: *714 - '400': *708 - '401': *709 - '403': *710 + default: *716 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '429': *711 - '500': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97815,13 +97996,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *715 + - *717 - *41 requestBody: required: true content: application/json: - schema: *716 + schema: *718 examples: group: summary: Group @@ -97847,17 +98028,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *707 + schema: *709 examples: - group: *714 - groupWithMembers: *714 - '400': *708 - '401': *709 - '403': *710 + group: *716 + groupWithMembers: *716 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '409': *717 - '429': *711 - '500': *712 + '409': *719 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97881,13 +98062,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *715 + - *717 - *41 requestBody: required: true content: application/json: - schema: &727 + schema: &729 type: object required: - Operations @@ -97947,17 +98128,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *707 + schema: *709 examples: - updateGroup: *714 - addMembers: *714 - '400': *708 - '401': *709 - '403': *710 + updateGroup: *716 + addMembers: *716 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '409': *717 - '429': *711 - '500': *712 + '409': *719 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97973,17 +98154,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *715 + - *717 - *41 responses: '204': description: Group was deleted, no content - '400': *708 - '401': *709 - '403': *710 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '429': *711 - '500': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98017,8 +98198,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *718 - - *719 + - *720 + - *721 - *41 responses: '200': @@ -98051,7 +98232,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &722 + items: &724 allOf: - type: object required: @@ -98130,7 +98311,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &721 + roles: &723 type: array description: The roles assigned to the user. items: @@ -98186,7 +98367,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *720 + meta: *722 startIndex: type: integer description: A starting index for the returned page @@ -98223,11 +98404,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *708 - '401': *709 - '403': *710 - '429': *711 - '500': *712 + '400': *710 + '401': *711 + '403': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98251,7 +98432,7 @@ paths: required: true content: application/json: - schema: &725 + schema: &727 type: object required: - schemas @@ -98333,9 +98514,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *721 + roles: *723 examples: - user: &726 + user: &728 summary: User value: schemas: @@ -98382,9 +98563,9 @@ paths: description: User has been created content: application/scim+json: - schema: *722 + schema: *724 examples: - user: &723 + user: &725 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98410,13 +98591,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *723 - '400': *708 - '401': *709 - '403': *710 - '409': *717 - '429': *711 - '500': *712 + enterpriseOwner: *725 + '400': *710 + '401': *711 + '403': *712 + '409': *719 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98433,7 +98614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &724 + - &726 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -98446,15 +98627,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *722 + schema: *724 examples: - default: *723 - '400': *708 - '401': *709 - '403': *710 + default: *725 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '429': *711 - '500': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98476,30 +98657,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *724 + - *726 - *41 requestBody: required: true content: application/json: - schema: *725 + schema: *727 examples: - user: *726 + user: *728 responses: '200': description: User was updated content: application/scim+json: - schema: *722 + schema: *724 examples: - user: *723 - '400': *708 - '401': *709 - '403': *710 + user: *725 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '409': *717 - '429': *711 - '500': *712 + '409': *719 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98534,13 +98715,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *724 + - *726 - *41 requestBody: required: true content: application/json: - schema: *727 + schema: *729 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98580,18 +98761,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *722 + schema: *724 examples: - userMultiValuedProperties: *723 - userSingleValuedProperties: *723 - disableUser: *723 - '400': *708 - '401': *709 - '403': *710 + userMultiValuedProperties: *725 + userSingleValuedProperties: *725 + disableUser: *725 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '409': *717 - '429': *711 - '500': *712 + '409': *719 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98611,17 +98792,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *724 + - *726 - *41 responses: '204': description: User was deleted, no content - '400': *708 - '401': *709 - '403': *710 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '429': *711 - '500': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98654,7 +98835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *172 + - *174 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -98708,7 +98889,7 @@ paths: example: 1 Resources: type: array - items: &728 + items: &730 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -98939,22 +99120,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &729 + '404': &731 description: Resource not found content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 - '403': &730 + schema: *708 + '403': &732 description: Forbidden content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 - '400': *708 - '429': *711 + schema: *708 + '400': *710 + '429': *713 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -98974,15 +99155,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *172 + - *174 responses: '201': description: Response content: application/scim+json: - schema: *728 + schema: *730 examples: - default: &731 + default: &733 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99005,17 +99186,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *729 - '403': *730 - '500': *712 + '404': *731 + '403': *732 + '500': *714 '409': description: Conflict content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 - '400': *708 + schema: *708 + '400': *710 requestBody: required: true content: @@ -99112,18 +99293,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *172 - - *724 + - *174 + - *726 responses: '200': description: Response content: application/scim+json: - schema: *728 + schema: *730 examples: - default: *731 - '404': *729 - '403': *730 + default: *733 + '404': *731 + '403': *732 '304': *37 x-github: githubCloudOnly: true @@ -99146,19 +99327,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *172 - - *724 + - *174 + - *726 responses: '200': description: Response content: application/scim+json: - schema: *728 + schema: *730 examples: - default: *731 + default: *733 '304': *37 - '404': *729 - '403': *730 + '404': *731 + '403': *732 requestBody: required: true content: @@ -99270,20 +99451,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *172 - - *724 + - *174 + - *726 responses: '200': description: Response content: application/scim+json: - schema: *728 + schema: *730 examples: - default: *731 + default: *733 '304': *37 - '404': *729 - '403': *730 - '400': *708 + '404': *731 + '403': *732 + '400': *710 '429': description: Response content: @@ -99373,13 +99554,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *172 - - *724 + - *174 + - *726 responses: '204': description: Response - '404': *729 - '403': *730 + '404': *731 + '403': *732 '304': *37 x-github: githubCloudOnly: true @@ -99494,7 +99675,7 @@ paths: html_url: type: string format: uri - repository: *200 + repository: *202 score: type: number file_size: @@ -99512,7 +99693,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &732 + text_matches: &734 title: Search Result Text Matches type: array items: @@ -99675,7 +99856,7 @@ paths: enum: - author-date - committer-date - - &733 + - &735 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -99746,7 +99927,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *438 + properties: *440 nullable: true comment_count: type: integer @@ -99766,7 +99947,7 @@ paths: url: type: string format: uri - verification: *563 + verification: *565 required: - author - committer @@ -99785,7 +99966,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *438 + properties: *440 nullable: true parents: type: array @@ -99798,12 +99979,12 @@ paths: type: string sha: type: string - repository: *200 + repository: *202 score: type: number node_id: type: string - text_matches: *732 + text_matches: *734 required: - sha - node_id @@ -99986,7 +100167,7 @@ paths: - interactions - created - updated - - *733 + - *735 - *17 - *19 - name: advanced_search @@ -100113,8 +100294,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *506 - required: *507 + properties: *508 + required: *509 nullable: true comments: type: integer @@ -100128,7 +100309,7 @@ paths: type: string format: date-time nullable: true - text_matches: *732 + text_matches: *734 pull_request: type: object properties: @@ -100161,7 +100342,7 @@ paths: type: string score: type: number - author_association: *142 + author_association: *144 draft: type: boolean repository: *64 @@ -100172,7 +100353,7 @@ paths: timeline_url: type: string format: uri - type: *291 + type: *293 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -100182,9 +100363,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 - reactions: *143 + properties: *142 + required: *143 + reactions: *145 required: - assignee - closed_at @@ -100356,7 +100537,7 @@ paths: enum: - created - updated - - *733 + - *735 - *17 - *19 responses: @@ -100400,7 +100581,7 @@ paths: nullable: true score: type: number - text_matches: *732 + text_matches: *734 required: - id - node_id @@ -100486,7 +100667,7 @@ paths: - forks - help-wanted-issues - updated - - *733 + - *735 - *17 - *19 responses: @@ -100705,8 +100886,8 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true permissions: type: object @@ -100725,7 +100906,7 @@ paths: - admin - pull - push - text_matches: *732 + text_matches: *734 temp_clone_token: type: string allow_merge_commit: @@ -101026,7 +101207,7 @@ paths: type: string format: uri nullable: true - text_matches: *732 + text_matches: *734 related: type: array nullable: true @@ -101219,7 +101400,7 @@ paths: - followers - repositories - joined - - *733 + - *735 - *17 - *19 responses: @@ -101323,7 +101504,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *732 + text_matches: *734 blog: type: string nullable: true @@ -101402,7 +101583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &734 + - &736 name: team_id description: The unique identifier of the team. in: path @@ -101414,9 +101595,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 x-github: githubCloudOnly: false @@ -101443,7 +101624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *734 + - *736 requestBody: required: true content: @@ -101506,16 +101687,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '201': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 '422': *15 '403': *29 @@ -101543,7 +101724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *734 + - *736 responses: '204': description: Response @@ -101574,7 +101755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *734 + - *736 - *88 - *17 - *19 @@ -101585,9 +101766,9 @@ paths: application/json: schema: type: array - items: *364 + items: *366 examples: - default: *735 + default: *737 headers: Link: *40 x-github: @@ -101616,7 +101797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *734 + - *736 requestBody: required: true content: @@ -101650,9 +101831,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 x-github: triggersNotification: true githubCloudOnly: false @@ -101679,16 +101860,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *734 - - *366 + - *736 + - *368 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101713,8 +101894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *734 - - *366 + - *736 + - *368 requestBody: required: false content: @@ -101737,9 +101918,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *736 + default: *738 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101764,8 +101945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *734 - - *366 + - *736 + - *368 responses: '204': description: Response @@ -101794,8 +101975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *734 - - *366 + - *736 + - *368 - *88 - *17 - *19 @@ -101806,9 +101987,9 @@ paths: application/json: schema: type: array - items: *367 + items: *369 examples: - default: *737 + default: *739 headers: Link: *40 x-github: @@ -101837,8 +102018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *734 - - *366 + - *736 + - *368 requestBody: required: true content: @@ -101860,9 +102041,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *368 + default: *370 x-github: triggersNotification: true githubCloudOnly: false @@ -101889,17 +102070,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *734 - - *366 - - *369 + - *736 + - *368 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *368 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101924,9 +102105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *734 - - *366 - - *369 + - *736 + - *368 + - *371 requestBody: required: true content: @@ -101948,9 +102129,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *738 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101975,9 +102156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *734 - - *366 - - *369 + - *736 + - *368 + - *371 responses: '204': description: Response @@ -102006,9 +102187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *734 - - *366 - - *369 + - *736 + - *368 + - *371 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -102034,9 +102215,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 x-github: @@ -102065,9 +102246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *734 - - *366 - - *369 + - *736 + - *368 + - *371 requestBody: required: true content: @@ -102099,9 +102280,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102127,8 +102308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *734 - - *366 + - *736 + - *368 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -102154,9 +102335,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 x-github: @@ -102185,8 +102366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *734 - - *366 + - *736 + - *368 requestBody: required: true content: @@ -102218,9 +102399,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102244,7 +102425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *734 + - *736 - *17 - *19 responses: @@ -102254,9 +102435,9 @@ paths: application/json: schema: type: array - items: *288 + items: *290 examples: - default: *289 + default: *291 headers: Link: *40 x-github: @@ -102282,7 +102463,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *734 + - *736 - name: role description: Filters members returned by their role in the team. in: query @@ -102305,7 +102486,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '404': *6 @@ -102333,8 +102514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *734 - - *222 + - *736 + - *224 responses: '204': description: if user is a member @@ -102370,8 +102551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *734 - - *222 + - *736 + - *224 responses: '204': description: Response @@ -102410,8 +102591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *734 - - *222 + - *736 + - *224 responses: '204': description: Response @@ -102447,16 +102628,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *734 - - *222 + - *736 + - *224 responses: '200': description: Response content: application/json: - schema: *378 + schema: *380 examples: - response-if-user-is-a-team-maintainer: *739 + response-if-user-is-a-team-maintainer: *741 '404': *6 x-github: githubCloudOnly: false @@ -102489,8 +102670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *734 - - *222 + - *736 + - *224 requestBody: required: false content: @@ -102515,9 +102696,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - response-if-users-membership-with-team-is-now-pending: *740 + response-if-users-membership-with-team-is-now-pending: *742 '403': description: Forbidden if team synchronization is set up '422': @@ -102551,8 +102732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *734 - - *222 + - *736 + - *224 responses: '204': description: Response @@ -102580,7 +102761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *734 + - *736 - *17 - *19 responses: @@ -102590,9 +102771,9 @@ paths: application/json: schema: type: array - items: *379 + items: *381 examples: - default: *741 + default: *743 headers: Link: *40 '404': *6 @@ -102618,16 +102799,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *734 - - *380 + - *736 + - *382 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *742 + default: *744 '404': description: Not Found if project is not managed by this team x-github: @@ -102651,8 +102832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *734 - - *380 + - *736 + - *382 requestBody: required: false content: @@ -102719,8 +102900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *734 - - *380 + - *736 + - *382 responses: '204': description: Response @@ -102747,7 +102928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *734 + - *736 - *17 - *19 responses: @@ -102757,9 +102938,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 '404': *6 @@ -102789,15 +102970,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *734 - - *381 - - *382 + - *736 + - *383 + - *384 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *743 + schema: *745 examples: alternative-response-with-extra-repository-information: value: @@ -102948,9 +103129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *734 - - *381 - - *382 + - *736 + - *383 + - *384 requestBody: required: false content: @@ -103000,9 +103181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *734 - - *381 - - *382 + - *736 + - *383 + - *384 responses: '204': description: Response @@ -103031,15 +103212,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *734 + - *736 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: *384 + default: *386 '403': *29 '404': *6 x-github: @@ -103066,7 +103247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *734 + - *736 requestBody: required: true content: @@ -103123,7 +103304,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *385 examples: default: value: @@ -103154,7 +103335,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *734 + - *736 - *17 - *19 responses: @@ -103164,9 +103345,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - response-if-child-teams-exist: *744 + response-if-child-teams-exist: *746 headers: Link: *40 '404': *6 @@ -103199,7 +103380,7 @@ paths: application/json: schema: oneOf: - - &746 + - &748 title: Private User description: Private User type: object @@ -103402,7 +103583,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *745 + - *747 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103555,7 +103736,7 @@ paths: description: Response content: application/json: - schema: *746 + schema: *748 examples: default: value: @@ -103634,7 +103815,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 '304': *37 '404': *6 '403': *29 @@ -103657,7 +103838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *222 + - *224 responses: '204': description: If the user is blocked @@ -103685,7 +103866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *222 + - *224 responses: '204': description: Response @@ -103709,7 +103890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *222 + - *224 responses: '204': description: Response @@ -103758,9 +103939,9 @@ paths: type: integer codespaces: type: array - items: *297 + items: *299 examples: - default: *298 + default: *300 '304': *37 '500': *85 '401': *25 @@ -103899,17 +104080,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '401': *25 '403': *29 '404': *6 @@ -103953,7 +104134,7 @@ paths: type: integer secrets: type: array - items: &747 + items: &749 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103993,7 +104174,7 @@ paths: - visibility - selected_repositories_url examples: - default: *494 + default: *496 headers: Link: *40 x-github: @@ -104063,13 +104244,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *210 + - *212 responses: '200': description: Response content: application/json: - schema: *747 + schema: *749 examples: default: value: @@ -104099,7 +104280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *210 + - *212 requestBody: required: true content: @@ -104144,7 +104325,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -104172,7 +104353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *210 + - *212 responses: '204': description: Response @@ -104197,7 +104378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *210 + - *212 responses: '200': description: Response @@ -104213,9 +104394,9 @@ paths: type: integer repositories: type: array - items: *200 + items: *202 examples: - default: *748 + default: *750 '401': *25 '403': *29 '404': *6 @@ -104240,7 +104421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *210 + - *212 requestBody: required: true content: @@ -104294,7 +104475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *210 + - *212 - name: repository_id in: path required: true @@ -104327,7 +104508,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *210 + - *212 - name: repository_id in: path required: true @@ -104359,15 +104540,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '304': *37 '500': *85 '401': *25 @@ -104393,7 +104574,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 requestBody: required: false content: @@ -104423,9 +104604,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '401': *25 '403': *29 '404': *6 @@ -104447,7 +104628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 responses: '202': *39 '304': *37 @@ -104476,13 +104657,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 responses: '202': description: Response content: application/json: - schema: &749 + schema: &751 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104523,7 +104704,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &750 + default: &752 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104555,7 +104736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *299 + - *301 - name: export_id in: path required: true @@ -104568,9 +104749,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *751 examples: - default: *750 + default: *752 '404': *6 x-github: githubCloudOnly: false @@ -104591,7 +104772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *299 + - *301 responses: '200': description: Response @@ -104607,9 +104788,9 @@ paths: type: integer machines: type: array - items: *751 + items: *753 examples: - default: *752 + default: *754 '304': *37 '500': *85 '401': *25 @@ -104638,7 +104819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *299 + - *301 requestBody: required: true content: @@ -104688,13 +104869,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *394 + repository: *396 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *492 - required: *493 + properties: *494 + required: *495 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -105468,15 +105649,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '304': *37 '500': *85 '400': *14 @@ -105508,15 +105689,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '500': *85 '401': *25 '403': *29 @@ -105546,9 +105727,9 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: &765 + default: &767 value: - id: 197 name: hello_docker @@ -105649,7 +105830,7 @@ paths: application/json: schema: type: array - items: &753 + items: &755 title: Email description: Email type: object @@ -105714,9 +105895,9 @@ paths: application/json: schema: type: array - items: *753 + items: *755 examples: - default: &767 + default: &769 value: - email: octocat@github.com verified: true @@ -105791,7 +105972,7 @@ paths: application/json: schema: type: array - items: *753 + items: *755 examples: default: value: @@ -105901,7 +106082,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '304': *37 @@ -105934,7 +106115,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '304': *37 @@ -105956,7 +106137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *222 + - *224 responses: '204': description: if the person is followed by the authenticated user @@ -105986,7 +106167,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *222 + - *224 responses: '204': description: Response @@ -106011,7 +106192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *222 + - *224 responses: '204': description: Response @@ -106047,7 +106228,7 @@ paths: application/json: schema: type: array - items: &754 + items: &756 title: GPG Key description: A unique encryption key type: object @@ -106178,7 +106359,7 @@ paths: - subkeys - revoked examples: - default: &781 + default: &783 value: - id: 3 name: Octocat's GPG Key @@ -106263,9 +106444,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *756 examples: - default: &755 + default: &757 value: id: 3 name: Octocat's GPG Key @@ -106322,7 +106503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &756 + - &758 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106334,9 +106515,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *756 examples: - default: *755 + default: *757 '404': *6 '304': *37 '403': *29 @@ -106359,7 +106540,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *756 + - *758 responses: '204': description: Response @@ -106550,7 +106731,7 @@ paths: type: array items: *64 examples: - default: *757 + default: *759 headers: Link: *40 '404': *6 @@ -106575,7 +106756,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *195 + - *197 responses: '204': description: Response @@ -106601,7 +106782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *195 + - *197 responses: '204': description: Response @@ -106635,12 +106816,12 @@ paths: application/json: schema: anyOf: - - *286 + - *288 - type: object properties: {} additionalProperties: false examples: - default: *287 + default: *289 '204': description: Response when there are no restrictions x-github: @@ -106664,7 +106845,7 @@ paths: required: true content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -106675,7 +106856,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: default: value: @@ -106756,7 +106937,7 @@ paths: - closed - all default: open - - *294 + - *296 - name: sort description: What to sort results by. in: query @@ -106769,7 +106950,7 @@ paths: - comments default: created - *88 - - *145 + - *147 - *17 - *19 responses: @@ -106779,9 +106960,9 @@ paths: application/json: schema: type: array - items: *155 + items: *157 examples: - default: *295 + default: *297 headers: Link: *40 '404': *6 @@ -106814,7 +106995,7 @@ paths: application/json: schema: type: array - items: &758 + items: &760 title: Key description: Key type: object @@ -106911,9 +107092,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *760 examples: - default: &759 + default: &761 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106946,15 +107127,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *603 + - *605 responses: '200': description: Response content: application/json: - schema: *758 + schema: *760 examples: - default: *759 + default: *761 '404': *6 '304': *37 '403': *29 @@ -106977,7 +107158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *603 + - *605 responses: '204': description: Response @@ -107010,7 +107191,7 @@ paths: application/json: schema: type: array - items: &760 + items: &762 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -107067,7 +107248,7 @@ paths: - id - type - login - plan: *159 + plan: *161 required: - billing_cycle - next_billing_date @@ -107078,7 +107259,7 @@ paths: - account - plan examples: - default: &761 + default: &763 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -107140,9 +107321,9 @@ paths: application/json: schema: type: array - items: *760 + items: *762 examples: - default: *761 + default: *763 headers: Link: *40 '304': *37 @@ -107182,7 +107363,7 @@ paths: application/json: schema: type: array - items: *300 + items: *302 examples: default: value: @@ -107284,13 +107465,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -107348,7 +107529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *172 + - *174 requestBody: required: true content: @@ -107373,7 +107554,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -107441,7 +107622,7 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: default: value: @@ -107694,7 +107875,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -107874,7 +108055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *303 + - *305 - name: exclude in: query required: false @@ -107887,7 +108068,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -108081,7 +108262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *303 + - *305 responses: '302': description: Response @@ -108107,7 +108288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *303 + - *305 responses: '204': description: Response @@ -108136,8 +108317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *303 - - *762 + - *305 + - *764 responses: '204': description: Response @@ -108161,7 +108342,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *303 + - *305 - *17 - *19 responses: @@ -108171,9 +108352,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 '404': *6 @@ -108210,7 +108391,7 @@ paths: type: array items: *59 examples: - default: *763 + default: *765 headers: Link: *40 '304': *37 @@ -108252,7 +108433,7 @@ paths: - docker - nuget - container - - *764 + - *766 - *19 - *17 responses: @@ -108262,10 +108443,10 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *765 - '400': *766 + default: *767 + '400': *768 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108285,16 +108466,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: &782 + default: &784 value: id: 40201 name: octo-name @@ -108407,8 +108588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -108438,8 +108619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 - name: token description: package token schema: @@ -108471,8 +108652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 - *19 - *17 - name: state @@ -108492,7 +108673,7 @@ paths: application/json: schema: type: array - items: *313 + items: *315 examples: default: value: @@ -108541,15 +108722,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 - *314 + - *316 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -108585,9 +108766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 - *314 + - *316 responses: '204': description: Response @@ -108617,9 +108798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 - *314 + - *316 responses: '204': description: Response @@ -108675,7 +108856,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: default: value: @@ -108747,9 +108928,9 @@ paths: application/json: schema: type: array - items: *753 + items: *755 examples: - default: *767 + default: *769 headers: Link: *40 '304': *37 @@ -108862,7 +109043,7 @@ paths: type: array items: *64 examples: - default: &774 + default: &776 summary: Default response value: - id: 1296269 @@ -109166,9 +109347,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *396 + default: *398 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109206,9 +109387,9 @@ paths: application/json: schema: type: array - items: *576 + items: *578 examples: - default: *768 + default: *770 headers: Link: *40 '304': *37 @@ -109231,7 +109412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *290 + - *292 responses: '204': description: Response @@ -109254,7 +109435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *290 + - *292 responses: '204': description: Response @@ -109287,7 +109468,7 @@ paths: application/json: schema: type: array - items: &769 + items: &771 title: Social account description: Social media account type: object @@ -109302,7 +109483,7 @@ paths: - provider - url examples: - default: &770 + default: &772 value: - provider: twitter url: https://twitter.com/github @@ -109364,9 +109545,9 @@ paths: application/json: schema: type: array - items: *769 + items: *771 examples: - default: *770 + default: *772 '422': *15 '304': *37 '404': *6 @@ -109453,7 +109634,7 @@ paths: application/json: schema: type: array - items: &771 + items: &773 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109473,7 +109654,7 @@ paths: - title - created_at examples: - default: &783 + default: &785 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109539,9 +109720,9 @@ paths: description: Response content: application/json: - schema: *771 + schema: *773 examples: - default: &772 + default: &774 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109572,7 +109753,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &773 + - &775 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -109584,9 +109765,9 @@ paths: description: Response content: application/json: - schema: *771 + schema: *773 examples: - default: *772 + default: *774 '404': *6 '304': *37 '403': *29 @@ -109609,7 +109790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *773 + - *775 responses: '204': description: Response @@ -109638,7 +109819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &784 + - &786 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -109663,11 +109844,11 @@ paths: type: array items: *64 examples: - default-response: *774 + default-response: *776 application/vnd.github.v3.star+json: schema: type: array - items: &785 + items: &787 title: Starred Repository description: Starred Repository type: object @@ -109823,8 +110004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response if this repository is starred by you @@ -109852,8 +110033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -109877,8 +110058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -109911,9 +110092,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 '304': *37 @@ -109950,7 +110131,7 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: default: value: @@ -110028,7 +110209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *161 + - *163 responses: '200': description: Response @@ -110036,10 +110217,10 @@ paths: application/json: schema: oneOf: - - *746 - - *745 + - *748 + - *747 examples: - default-response: &776 + default-response: &778 summary: Default response value: login: octocat @@ -110074,7 +110255,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &777 + response-with-git-hub-plan-information: &779 summary: Response with GitHub plan information value: login: octocat @@ -110134,7 +110315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *775 + - *777 - *17 responses: '200': @@ -110145,7 +110326,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: example: ; rel="next" @@ -110175,7 +110356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *222 + - *224 responses: '200': description: Response @@ -110183,11 +110364,11 @@ paths: application/json: schema: oneOf: - - *746 - - *745 + - *748 + - *747 examples: - default-response: *776 - response-with-git-hub-plan-information: *777 + default-response: *778 + response-with-git-hub-plan-information: *779 '404': *6 x-github: githubCloudOnly: false @@ -110213,7 +110394,7 @@ paths: - *17 - *86 - *87 - - *222 + - *224 requestBody: required: true content: @@ -110236,8 +110417,8 @@ paths: required: - subject_digests examples: - default: *778 - withPredicateType: *779 + default: *780 + withPredicateType: *781 responses: '200': description: Response @@ -110290,7 +110471,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *780 + default: *782 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110308,7 +110489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *222 + - *224 requestBody: required: true content: @@ -110373,7 +110554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *222 + - *224 - name: subject_digest description: Subject Digest in: path @@ -110404,7 +110585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *222 + - *224 - name: attestation_id description: Attestation ID in: path @@ -110442,7 +110623,7 @@ paths: - *17 - *86 - *87 - - *222 + - *224 - name: subject_digest description: Subject Digest in: path @@ -110492,12 +110673,12 @@ paths: bundle_url: type: string examples: - default: *434 + default: *436 '201': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -110523,7 +110704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *222 + - *224 responses: '200': description: Response @@ -110531,9 +110712,9 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *765 + default: *767 '403': *29 '401': *25 x-github: @@ -110556,7 +110737,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -110566,7 +110747,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -110637,8 +110818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *222 - - *172 + - *224 + - *174 - *17 - *19 responses: @@ -110648,7 +110829,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -110727,7 +110908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -110737,7 +110918,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -110804,7 +110985,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -110816,7 +110997,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -110835,7 +111016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *222 + - *224 - *17 - *19 responses: @@ -110847,7 +111028,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -110866,7 +111047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *222 + - *224 - name: target_user in: path required: true @@ -110893,8 +111074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *222 - - *145 + - *224 + - *147 - *17 - *19 responses: @@ -110904,9 +111085,9 @@ paths: application/json: schema: type: array - items: *146 + items: *148 examples: - default: *147 + default: *149 headers: Link: *40 '422': *15 @@ -110927,7 +111108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -110937,9 +111118,9 @@ paths: application/json: schema: type: array - items: *754 + items: *756 examples: - default: *781 + default: *783 headers: Link: *40 x-github: @@ -110963,7 +111144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *222 + - *224 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -111035,7 +111216,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *222 + - *224 responses: '200': description: Response @@ -111043,7 +111224,7 @@ paths: application/json: schema: *22 examples: - default: *573 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111061,7 +111242,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -111112,7 +111293,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -111124,7 +111305,7 @@ paths: type: array items: *59 examples: - default: *763 + default: *765 headers: Link: *40 x-github: @@ -111163,8 +111344,8 @@ paths: - docker - nuget - container - - *764 - - *222 + - *766 + - *224 - *19 - *17 responses: @@ -111174,12 +111355,12 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *765 + default: *767 '403': *29 '401': *25 - '400': *766 + '400': *768 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111199,17 +111380,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *311 - - *312 - - *222 + - *313 + - *314 + - *224 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *782 + default: *784 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111230,9 +111411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *311 - - *312 - - *222 + - *313 + - *314 + - *224 responses: '204': description: Response @@ -111264,9 +111445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *311 - - *312 - - *222 + - *313 + - *314 + - *224 - name: token description: package token schema: @@ -111298,9 +111479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *311 - - *312 - - *222 + - *313 + - *314 + - *224 responses: '200': description: Response @@ -111308,7 +111489,7 @@ paths: application/json: schema: type: array - items: *313 + items: *315 examples: default: value: @@ -111366,16 +111547,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *311 - - *312 + - *313 - *314 - - *222 + - *316 + - *224 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -111410,10 +111591,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *311 - - *312 - - *222 + - *313 - *314 + - *224 + - *316 responses: '204': description: Response @@ -111445,10 +111626,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *311 - - *312 - - *222 + - *313 - *314 + - *224 + - *316 responses: '204': description: Response @@ -111474,7 +111655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *222 + - *224 - name: state description: Indicates the state of the projects to return. in: query @@ -111495,7 +111676,7 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: default: value: @@ -111557,7 +111738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -111567,7 +111748,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -111646,7 +111827,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -111656,7 +111837,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -111733,7 +111914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *222 + - *224 - name: type description: Limit results to repositories of the specified type. in: query @@ -111776,9 +111957,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -111802,15 +111983,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *222 + - *224 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111832,15 +112013,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *222 + - *224 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111862,15 +112043,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *222 + - *224 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111890,11 +112071,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *222 - - *175 - - *176 + - *224 - *177 - *178 + - *179 + - *180 responses: '200': description: Response when getting a billing usage report @@ -111983,7 +112164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -111993,9 +112174,9 @@ paths: application/json: schema: type: array - items: *769 + items: *771 examples: - default: *770 + default: *772 headers: Link: *40 x-github: @@ -112015,7 +112196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -112025,9 +112206,9 @@ paths: application/json: schema: type: array - items: *771 + items: *773 examples: - default: *783 + default: *785 headers: Link: *40 x-github: @@ -112051,8 +112232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *222 - - *784 + - *224 + - *786 - *88 - *17 - *19 @@ -112064,11 +112245,11 @@ paths: schema: anyOf: - type: array - items: *785 + items: *787 - type: array items: *64 examples: - default-response: *774 + default-response: *776 headers: Link: *40 x-github: @@ -112087,7 +112268,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -112097,9 +112278,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -112227,7 +112408,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &786 + enterprise: &788 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -112285,7 +112466,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &787 + installation: &789 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -112304,7 +112485,7 @@ x-webhooks: required: - id - node_id - organization: &788 + organization: &790 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112364,13 +112545,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &789 + repository: &791 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &826 + properties: &828 id: description: Unique identifier of the repository example: 42 @@ -112390,8 +112571,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true organization: title: Simple User @@ -113053,7 +113234,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &827 + required: &829 - archive_url - assignees_url - blobs_url @@ -113204,10 +113385,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -113283,11 +113464,11 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - rule: &790 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + rule: &792 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -113510,11 +113691,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - rule: *790 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + rule: *792 sender: *4 required: - action @@ -113697,11 +113878,11 @@ x-webhooks: - everyone required: - from - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - rule: *790 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + rule: *792 sender: *4 required: - action @@ -113772,7 +113953,7 @@ x-webhooks: required: true content: application/json: - schema: &793 + schema: &795 title: Exemption request cancellation event type: object properties: @@ -113780,11 +113961,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - exemption_request: &791 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + exemption_request: &793 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -114017,7 +114198,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &792 + items: &794 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -114125,7 +114306,7 @@ x-webhooks: required: true content: application/json: - schema: &794 + schema: &796 title: Exemption request completed event type: object properties: @@ -114133,11 +114314,11 @@ x-webhooks: type: string enum: - completed - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - exemption_request: *791 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + exemption_request: *793 sender: *4 required: - action @@ -114207,7 +114388,7 @@ x-webhooks: required: true content: application/json: - schema: &795 + schema: &797 title: Exemption request created event type: object properties: @@ -114215,11 +114396,11 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - exemption_request: *791 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + exemption_request: *793 sender: *4 required: - action @@ -114289,7 +114470,7 @@ x-webhooks: required: true content: application/json: - schema: &796 + schema: &798 title: Exemption response dismissed event type: object properties: @@ -114297,12 +114478,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - exemption_request: *791 - exemption_response: *792 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + exemption_request: *793 + exemption_response: *794 sender: *4 required: - action @@ -114374,7 +114555,7 @@ x-webhooks: required: true content: application/json: - schema: &797 + schema: &799 title: Exemption response submitted event type: object properties: @@ -114382,12 +114563,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - exemption_request: *791 - exemption_response: *792 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + exemption_request: *793 + exemption_response: *794 sender: *4 required: - action @@ -114460,7 +114641,7 @@ x-webhooks: required: true content: application/json: - schema: *793 + schema: *795 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114527,7 +114708,7 @@ x-webhooks: required: true content: application/json: - schema: *794 + schema: *796 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114594,7 +114775,7 @@ x-webhooks: required: true content: application/json: - schema: *795 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114661,7 +114842,7 @@ x-webhooks: required: true content: application/json: - schema: *796 + schema: *798 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114729,7 +114910,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114807,7 +114988,7 @@ x-webhooks: type: string enum: - completed - check_run: &799 + check_run: &801 title: CheckRun description: A check performed on the code of a given code change type: object @@ -114860,8 +115041,8 @@ x-webhooks: type: string pull_requests: type: array - items: *453 - repository: *200 + items: *455 + repository: *202 status: example: completed type: string @@ -114898,7 +115079,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *798 + deployment: *800 details_url: example: https://example.com type: string @@ -114948,7 +115129,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *453 + items: *455 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -114983,9 +115164,9 @@ x-webhooks: - output - app - pull_requests - installation: *787 - organization: *788 - repository: *789 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - check_run @@ -115378,10 +115559,10 @@ x-webhooks: type: string enum: - created - check_run: *799 - installation: *787 - organization: *788 - repository: *789 + check_run: *801 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - check_run @@ -115777,10 +115958,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *799 - installation: *787 - organization: *788 - repository: *789 + check_run: *801 + installation: *789 + organization: *790 + repository: *791 requested_action: description: The action requested by the user. type: object @@ -116185,10 +116366,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *799 - installation: *787 - organization: *788 - repository: *789 + check_run: *801 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - check_run @@ -117165,10 +117346,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -117838,10 +118019,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -118505,10 +118686,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -118671,7 +118852,7 @@ x-webhooks: required: - login - id - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -118816,20 +118997,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &800 + commit_oid: &802 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *786 - installation: *787 - organization: *788 - ref: &801 + enterprise: *788 + installation: *789 + organization: *790 + ref: &803 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *789 + repository: *791 sender: *4 required: - action @@ -118991,7 +119172,7 @@ x-webhooks: required: - login - id - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -119221,12 +119402,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *800 - enterprise: *786 - installation: *787 - organization: *788 - ref: *801 - repository: *789 + commit_oid: *802 + enterprise: *788 + installation: *789 + organization: *790 + ref: *803 + repository: *791 sender: *4 required: - action @@ -119321,7 +119502,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119489,12 +119670,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *800 - enterprise: *786 - installation: *787 - organization: *788 - ref: *801 - repository: *789 + commit_oid: *802 + enterprise: *788 + installation: *789 + organization: *790 + ref: *803 + repository: *791 sender: *4 required: - action @@ -119657,7 +119838,7 @@ x-webhooks: required: - login - id - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -119823,12 +120004,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *800 - enterprise: *786 - installation: *787 - organization: *788 - ref: *801 - repository: *789 + commit_oid: *802 + enterprise: *788 + installation: *789 + organization: *790 + ref: *803 + repository: *791 sender: *4 required: - action @@ -119925,7 +120106,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120093,16 +120274,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *789 + repository: *791 sender: *4 required: - action @@ -120196,7 +120377,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120336,12 +120517,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *800 - enterprise: *786 - installation: *787 - organization: *788 - ref: *801 - repository: *789 + commit_oid: *802 + enterprise: *788 + installation: *789 + organization: *790 + ref: *803 + repository: *791 sender: *4 required: - action @@ -120598,10 +120779,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -120681,18 +120862,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *788 - pusher_type: &802 + organization: *790 + pusher_type: &804 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &803 + ref: &805 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -120702,7 +120883,7 @@ x-webhooks: enum: - tag - branch - repository: *789 + repository: *791 sender: *4 required: - ref @@ -120785,9 +120966,9 @@ x-webhooks: enum: - created definition: *116 - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 sender: *4 required: - action @@ -120872,9 +121053,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 sender: *4 required: - action @@ -120952,9 +121133,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *116 - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 sender: *4 required: - action @@ -121032,9 +121213,9 @@ x-webhooks: enum: - updated definition: *116 - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 sender: *4 required: - action @@ -121111,19 +121292,19 @@ x-webhooks: type: string enum: - updated - enterprise: *786 - installation: *787 - repository: *789 - organization: *788 + enterprise: *788 + installation: *789 + repository: *791 + organization: *790 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *327 + items: *329 old_property_values: type: array description: The old custom property values for the repository. - items: *327 + items: *329 required: - action - repository @@ -121199,18 +121380,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *786 - installation: *787 - organization: *788 - pusher_type: *802 - ref: *803 + enterprise: *788 + installation: *789 + organization: *790 + pusher_type: *804 + ref: *805 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *789 + repository: *791 sender: *4 required: - ref @@ -121294,11 +121475,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121382,11 +121563,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121470,11 +121651,11 @@ x-webhooks: type: string enum: - created - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121556,11 +121737,11 @@ x-webhooks: type: string enum: - dismissed - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121642,11 +121823,11 @@ x-webhooks: type: string enum: - fixed - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121729,11 +121910,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121815,11 +121996,11 @@ x-webhooks: type: string enum: - reopened - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121896,9 +122077,9 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - key: &804 + enterprise: *788 + installation: *789 + key: &806 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -121934,8 +122115,8 @@ x-webhooks: - verified - created_at - read_only - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -122012,11 +122193,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - key: *804 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + key: *806 + organization: *790 + repository: *791 sender: *4 required: - action @@ -122577,12 +122758,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - workflow: &808 + workflow: &810 title: Workflow type: object nullable: true @@ -123308,13 +123489,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *529 + deployment: *531 pull_requests: type: array - items: *623 - repository: *789 - organization: *788 - installation: *787 + items: *625 + repository: *791 + organization: *790 + installation: *789 sender: *4 responses: '200': @@ -123385,7 +123566,7 @@ x-webhooks: type: string enum: - approved - approver: &805 + approver: &807 type: object properties: avatar_url: @@ -123428,11 +123609,11 @@ x-webhooks: type: string comment: type: string - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - reviewers: &806 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + reviewers: &808 type: array items: type: object @@ -123511,7 +123692,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &807 + workflow_job_run: &809 type: object properties: conclusion: @@ -124242,18 +124423,18 @@ x-webhooks: type: string enum: - rejected - approver: *805 + approver: *807 comment: type: string - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - reviewers: *806 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + reviewers: *808 sender: *4 since: type: string - workflow_job_run: *807 + workflow_job_run: *809 workflow_job_runs: type: array items: @@ -124957,13 +125138,13 @@ x-webhooks: type: string enum: - requested - enterprise: *786 + enterprise: *788 environment: type: string - installation: *787 - organization: *788 - repository: *789 - requestor: &813 + installation: *789 + organization: *790 + repository: *791 + requestor: &815 title: User type: object nullable: true @@ -126862,12 +127043,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - workflow: *808 + workflow: *810 workflow_run: title: Deployment Workflow Run type: object @@ -127547,7 +127728,7 @@ x-webhooks: type: string enum: - answered - answer: &811 + answer: &813 type: object properties: author_association: @@ -127704,7 +127885,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &809 + discussion: &811 title: Discussion description: A Discussion in a repository. type: object @@ -127990,7 +128171,7 @@ x-webhooks: - id labels: type: array - items: *585 + items: *587 required: - repository_url - category @@ -128012,10 +128193,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128142,11 +128323,11 @@ x-webhooks: - from required: - category - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128229,11 +128410,11 @@ x-webhooks: type: string enum: - closed - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128315,7 +128496,7 @@ x-webhooks: type: string enum: - created - comment: &810 + comment: &812 type: object properties: author_association: @@ -128472,11 +128653,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128559,12 +128740,12 @@ x-webhooks: type: string enum: - deleted - comment: *810 - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + comment: *812 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128659,12 +128840,12 @@ x-webhooks: - from required: - body - comment: *810 - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + comment: *812 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128748,11 +128929,11 @@ x-webhooks: type: string enum: - created - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128834,11 +129015,11 @@ x-webhooks: type: string enum: - deleted - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128938,11 +129119,11 @@ x-webhooks: type: string required: - from - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129024,10 +129205,10 @@ x-webhooks: type: string enum: - labeled - discussion: *809 - enterprise: *786 - installation: *787 - label: &812 + discussion: *811 + enterprise: *788 + installation: *789 + label: &814 title: Label type: object properties: @@ -129059,8 +129240,8 @@ x-webhooks: - color - default - description - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129143,11 +129324,11 @@ x-webhooks: type: string enum: - locked - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129229,11 +129410,11 @@ x-webhooks: type: string enum: - pinned - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129315,11 +129496,11 @@ x-webhooks: type: string enum: - reopened - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129404,16 +129585,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *809 - new_repository: *789 + new_discussion: *811 + new_repository: *791 required: - new_discussion - new_repository - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129496,10 +129677,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *809 - old_answer: *811 - organization: *788 - repository: *789 + discussion: *811 + old_answer: *813 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129581,12 +129762,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *809 - enterprise: *786 - installation: *787 - label: *812 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129669,11 +129850,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129755,11 +129936,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129828,7 +130009,7 @@ x-webhooks: required: true content: application/json: - schema: *795 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129891,7 +130072,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129957,7 +130138,7 @@ x-webhooks: required: true content: application/json: - schema: *793 + schema: *795 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130023,7 +130204,7 @@ x-webhooks: required: true content: application/json: - schema: *794 + schema: *796 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130089,7 +130270,7 @@ x-webhooks: required: true content: application/json: - schema: *795 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130155,7 +130336,7 @@ x-webhooks: required: true content: application/json: - schema: *796 + schema: *798 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130221,7 +130402,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130288,7 +130469,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *786 + enterprise: *788 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -130948,9 +131129,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *787 - organization: *788 - repository: *789 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - forkee @@ -131096,9 +131277,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pages: description: The pages that were updated. type: array @@ -131135,7 +131316,7 @@ x-webhooks: - action - sha - html_url - repository: *789 + repository: *791 sender: *4 required: - pages @@ -131211,10 +131392,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories: &814 + organization: *790 + repositories: &816 description: An array of repository objects that the installation can access. type: array @@ -131240,8 +131421,8 @@ x-webhooks: - name - full_name - private - repository: *789 - requester: *813 + repository: *791 + requester: *815 sender: *4 required: - action @@ -131316,11 +131497,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories: *814 - repository: *789 + organization: *790 + repositories: *816 + repository: *791 requester: nullable: true sender: *4 @@ -131396,11 +131577,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories: *814 - repository: *789 + organization: *790 + repositories: *816 + repository: *791 requester: nullable: true sender: *4 @@ -131476,10 +131657,10 @@ x-webhooks: type: string enum: - added - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories_added: &815 + organization: *790 + repositories_added: &817 description: An array of repository objects, which were added to the installation. type: array @@ -131525,15 +131706,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *789 - repository_selection: &816 + repository: *791 + repository_selection: &818 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *813 + requester: *815 sender: *4 required: - action @@ -131612,10 +131793,10 @@ x-webhooks: type: string enum: - removed - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories_added: *815 + organization: *790 + repositories_added: *817 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -131642,9 +131823,9 @@ x-webhooks: - name - full_name - private - repository: *789 - repository_selection: *816 - requester: *813 + repository: *791 + repository_selection: *818 + requester: *815 sender: *4 required: - action @@ -131723,11 +131904,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories: *814 - repository: *789 + organization: *790 + repositories: *816 + repository: *791 requester: nullable: true sender: *4 @@ -131906,10 +132087,10 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 target_type: type: string @@ -131988,11 +132169,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories: *814 - repository: *789 + organization: *790 + repositories: *816 + repository: *791 requester: nullable: true sender: *4 @@ -132116,8 +132297,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 reactions: title: Reactions type: object @@ -132244,8 +132425,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133068,7 +133249,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -133401,8 +133582,8 @@ x-webhooks: - state - locked - assignee - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -133482,7 +133663,7 @@ x-webhooks: type: string enum: - deleted - comment: &817 + comment: &819 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -133647,8 +133828,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134467,7 +134648,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -134802,8 +134983,8 @@ x-webhooks: - state - locked - assignee - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -134883,7 +135064,7 @@ x-webhooks: type: string enum: - edited - changes: &845 + changes: &847 description: The changes to the comment. type: object properties: @@ -134895,9 +135076,9 @@ x-webhooks: type: string required: - from - comment: *817 - enterprise: *786 - installation: *787 + comment: *819 + enterprise: *788 + installation: *789 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135719,7 +135900,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -136052,8 +136233,8 @@ x-webhooks: - state - locked - assignee - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -136135,10 +136316,10 @@ x-webhooks: type: string enum: - assigned - assignee: *813 - enterprise: *786 - installation: *787 - issue: &820 + assignee: *815 + enterprise: *788 + installation: *789 + issue: &822 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136956,7 +137137,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -137057,8 +137238,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -137138,8 +137319,8 @@ x-webhooks: type: string enum: - closed - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137962,7 +138143,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -138198,8 +138379,8 @@ x-webhooks: required: - state - closed_at - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -138278,8 +138459,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139093,7 +139274,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -139193,8 +139374,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -139273,8 +139454,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140110,7 +140291,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -140189,7 +140370,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &818 + milestone: &820 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140327,8 +140508,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -140427,8 +140608,8 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141243,7 +141424,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *291 + type: *293 title: description: Title of the issue type: string @@ -141347,9 +141528,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *812 - organization: *788 - repository: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -141429,8 +141610,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142244,7 +142425,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *291 + type: *293 title: description: Title of the issue type: string @@ -142348,9 +142529,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *812 - organization: *788 - repository: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -142430,8 +142611,8 @@ x-webhooks: type: string enum: - locked - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143269,7 +143450,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *291 + type: *293 title: description: Title of the issue type: string @@ -143350,8 +143531,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -143430,8 +143611,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144266,7 +144447,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -144344,9 +144525,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *818 - organization: *788 - repository: *789 + milestone: *820 + organization: *790 + repository: *791 sender: *4 required: - action @@ -145320,7 +145501,7 @@ x-webhooks: required: - login - id - type: *291 + type: *293 required: - id - number @@ -145789,8 +145970,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146608,7 +146789,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -146708,8 +146889,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -146789,9 +146970,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *786 - installation: *787 - issue: &819 + enterprise: *788 + installation: *789 + issue: &821 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147603,7 +147784,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -147703,8 +147884,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -147783,8 +147964,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148701,9 +148882,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *291 - organization: *788 - repository: *789 + type: *293 + organization: *790 + repository: *791 sender: *4 required: - action @@ -149598,7 +149779,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -150166,11 +150347,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *786 - installation: *787 - issue: *819 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *821 + organization: *790 + repository: *791 sender: *4 required: - action @@ -150250,12 +150431,12 @@ x-webhooks: type: string enum: - typed - enterprise: *786 - installation: *787 - issue: *820 - type: *291 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *822 + type: *293 + organization: *790 + repository: *791 sender: *4 required: - action @@ -150336,7 +150517,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &848 + assignee: &850 title: User type: object nullable: true @@ -150406,11 +150587,11 @@ x-webhooks: required: - login - id - enterprise: *786 - installation: *787 - issue: *820 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *822 + organization: *790 + repository: *791 sender: *4 required: - action @@ -150489,12 +150670,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *786 - installation: *787 - issue: *820 - label: *812 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *822 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -150574,8 +150755,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151414,7 +151595,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -151492,8 +151673,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -151573,11 +151754,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *786 - installation: *787 - issue: *819 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *821 + organization: *790 + repository: *791 sender: *4 required: - action @@ -151656,12 +151837,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *786 - installation: *787 - issue: *820 - type: *291 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *822 + type: *293 + organization: *790 + repository: *791 sender: *4 required: - action @@ -151741,11 +151922,11 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - label: *812 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -151823,11 +152004,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - label: *812 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -151937,11 +152118,11 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - label: *812 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -152023,9 +152204,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *786 - installation: *787 - marketplace_purchase: &821 + enterprise: *788 + installation: *789 + marketplace_purchase: &823 title: Marketplace Purchase type: object required: @@ -152108,8 +152289,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *788 - previous_marketplace_purchase: &822 + organization: *790 + previous_marketplace_purchase: &824 title: Marketplace Purchase type: object properties: @@ -152189,7 +152370,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *789 + repository: *791 sender: *4 required: - action @@ -152269,10 +152450,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *786 - installation: *787 - marketplace_purchase: *821 - organization: *788 + enterprise: *788 + installation: *789 + marketplace_purchase: *823 + organization: *790 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152355,7 +152536,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *789 + repository: *791 sender: *4 required: - action @@ -152437,10 +152618,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *786 - installation: *787 - marketplace_purchase: *821 - organization: *788 + enterprise: *788 + installation: *789 + marketplace_purchase: *823 + organization: *790 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152522,7 +152703,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *789 + repository: *791 sender: *4 required: - action @@ -152603,8 +152784,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 marketplace_purchase: title: Marketplace Purchase type: object @@ -152686,9 +152867,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *788 - previous_marketplace_purchase: *822 - repository: *789 + organization: *790 + previous_marketplace_purchase: *824 + repository: *791 sender: *4 required: - action @@ -152768,12 +152949,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *786 - installation: *787 - marketplace_purchase: *821 - organization: *788 - previous_marketplace_purchase: *822 - repository: *789 + enterprise: *788 + installation: *789 + marketplace_purchase: *823 + organization: *790 + previous_marketplace_purchase: *824 + repository: *791 sender: *4 required: - action @@ -152875,11 +153056,11 @@ x-webhooks: type: string required: - to - enterprise: *786 - installation: *787 - member: *813 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + member: *815 + organization: *790 + repository: *791 sender: *4 required: - action @@ -152979,11 +153160,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *786 - installation: *787 - member: *813 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + member: *815 + organization: *790 + repository: *791 sender: *4 required: - action @@ -153062,11 +153243,11 @@ x-webhooks: type: string enum: - removed - enterprise: *786 - installation: *787 - member: *813 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + member: *815 + organization: *790 + repository: *791 sender: *4 required: - action @@ -153144,11 +153325,11 @@ x-webhooks: type: string enum: - added - enterprise: *786 - installation: *787 - member: *813 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + member: *815 + organization: *790 + repository: *791 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153224,7 +153405,7 @@ x-webhooks: required: - login - id - team: &823 + team: &825 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -153414,11 +153595,11 @@ x-webhooks: type: string enum: - removed - enterprise: *786 - installation: *787 - member: *813 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + member: *815 + organization: *790 + repository: *791 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153495,7 +153676,7 @@ x-webhooks: required: - login - id - team: *823 + team: *825 required: - action - scope @@ -153577,8 +153758,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *787 - merge_group: &825 + installation: *789 + merge_group: &827 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -153597,15 +153778,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *824 + head_commit: *826 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -153691,10 +153872,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *787 - merge_group: *825 - organization: *788 - repository: *789 + installation: *789 + merge_group: *827 + organization: *790 + repository: *791 sender: *4 required: - action @@ -153767,7 +153948,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 + enterprise: *788 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -153876,16 +154057,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *787 - organization: *788 + installation: *789 + organization: *790 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *826 - required: *827 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -153966,11 +154147,11 @@ x-webhooks: type: string enum: - closed - enterprise: *786 - installation: *787 - milestone: *818 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + milestone: *820 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154049,9 +154230,9 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - milestone: &828 + enterprise: *788 + installation: *789 + milestone: &830 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154188,8 +154369,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154268,11 +154449,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - milestone: *818 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + milestone: *820 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154382,11 +154563,11 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - milestone: *818 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + milestone: *820 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154466,11 +154647,11 @@ x-webhooks: type: string enum: - opened - enterprise: *786 - installation: *787 - milestone: *828 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + milestone: *830 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154549,11 +154730,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *813 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + blocked_user: *815 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154632,11 +154813,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *813 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + blocked_user: *815 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154715,9 +154896,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - membership: &829 + enterprise: *788 + installation: *789 + membership: &831 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -154809,8 +154990,8 @@ x-webhooks: - role - organization_url - user - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154888,11 +155069,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *786 - installation: *787 - membership: *829 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + membership: *831 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154971,8 +155152,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -155088,10 +155269,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 - user: *813 + user: *815 required: - action - invitation @@ -155169,11 +155350,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *786 - installation: *787 - membership: *829 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + membership: *831 + organization: *790 + repository: *791 sender: *4 required: - action @@ -155260,11 +155441,11 @@ x-webhooks: properties: from: type: string - enterprise: *786 - installation: *787 - membership: *829 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + membership: *831 + organization: *790 + repository: *791 sender: *4 required: - action @@ -155340,9 +155521,9 @@ x-webhooks: type: string enum: - published - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 package: description: Information about the package. type: object @@ -155841,7 +156022,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &830 + items: &832 title: Ruby Gems metadata type: object properties: @@ -155936,7 +156117,7 @@ x-webhooks: - owner - package_version - registry - repository: *789 + repository: *791 sender: *4 required: - action @@ -156012,9 +156193,9 @@ x-webhooks: type: string enum: - updated - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 package: description: Information about the package. type: object @@ -156367,7 +156548,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *830 + items: *832 source_url: type: string format: uri @@ -156437,7 +156618,7 @@ x-webhooks: - owner - package_version - registry - repository: *789 + repository: *791 sender: *4 required: - action @@ -156614,12 +156795,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *786 + enterprise: *788 id: type: integer - installation: *787 - organization: *788 - repository: *789 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - id @@ -156696,7 +156877,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &831 + personal_access_token_request: &833 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -156842,10 +157023,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *786 - organization: *788 + enterprise: *788 + organization: *790 sender: *4 - installation: *787 + installation: *789 required: - action - personal_access_token_request @@ -156922,11 +157103,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *831 - enterprise: *786 - organization: *788 + personal_access_token_request: *833 + enterprise: *788 + organization: *790 sender: *4 - installation: *787 + installation: *789 required: - action - personal_access_token_request @@ -157002,11 +157183,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *831 - enterprise: *786 - organization: *788 + personal_access_token_request: *833 + enterprise: *788 + organization: *790 sender: *4 - installation: *787 + installation: *789 required: - action - personal_access_token_request @@ -157081,11 +157262,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *831 - organization: *788 - enterprise: *786 + personal_access_token_request: *833 + organization: *790 + enterprise: *788 sender: *4 - installation: *787 + installation: *789 required: - action - personal_access_token_request @@ -157190,7 +157371,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *832 + last_response: *834 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -157222,8 +157403,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 zen: description: Random string of GitHub zen. @@ -157468,10 +157649,10 @@ x-webhooks: - from required: - note - enterprise: *786 - installation: *787 - organization: *788 - project_card: &833 + enterprise: *788 + installation: *789 + organization: *790 + project_card: &835 title: Project Card type: object properties: @@ -157590,7 +157771,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *789 + repository: *791 sender: *4 required: - action @@ -157671,11 +157852,11 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - project_card: *833 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project_card: *835 + repository: *791 sender: *4 required: - action @@ -157755,9 +157936,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 project_card: title: Project Card type: object @@ -157885,8 +158066,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *826 - required: *827 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -157980,11 +158161,11 @@ x-webhooks: - from required: - note - enterprise: *786 - installation: *787 - organization: *788 - project_card: *833 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project_card: *835 + repository: *791 sender: *4 required: - action @@ -158078,9 +158259,9 @@ x-webhooks: - from required: - column_id - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 project_card: allOf: - title: Project Card @@ -158270,7 +158451,7 @@ x-webhooks: type: string required: - after_id - repository: *789 + repository: *791 sender: *4 required: - action @@ -158350,10 +158531,10 @@ x-webhooks: type: string enum: - closed - enterprise: *786 - installation: *787 - organization: *788 - project: &835 + enterprise: *788 + installation: *789 + organization: *790 + project: &837 title: Project type: object properties: @@ -158477,7 +158658,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *789 + repository: *791 sender: *4 required: - action @@ -158557,10 +158738,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - project_column: &834 + enterprise: *788 + installation: *789 + organization: *790 + project_column: &836 title: Project Column type: object properties: @@ -158599,7 +158780,7 @@ x-webhooks: - name - created_at - updated_at - repository: *789 + repository: *791 sender: *4 required: - action @@ -158678,18 +158859,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - project_column: *834 + enterprise: *788 + installation: *789 + organization: *790 + project_column: *836 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *826 - required: *827 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -158779,11 +158960,11 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - organization: *788 - project_column: *834 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project_column: *836 + repository: *791 sender: *4 required: - action @@ -158863,11 +159044,11 @@ x-webhooks: type: string enum: - moved - enterprise: *786 - installation: *787 - organization: *788 - project_column: *834 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project_column: *836 + repository: *791 sender: *4 required: - action @@ -158947,11 +159128,11 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - project: *835 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project: *837 + repository: *791 sender: *4 required: - action @@ -159031,18 +159212,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - project: *835 + enterprise: *788 + installation: *789 + organization: *790 + project: *837 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *826 - required: *827 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -159144,11 +159325,11 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - organization: *788 - project: *835 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project: *837 + repository: *791 sender: *4 required: - action @@ -159227,11 +159408,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *786 - installation: *787 - organization: *788 - project: *835 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project: *837 + repository: *791 sender: *4 required: - action @@ -159312,9 +159493,9 @@ x-webhooks: type: string enum: - closed - installation: *787 - organization: *788 - projects_v2: &836 + installation: *789 + organization: *790 + projects_v2: &838 title: Projects v2 Project description: A projects v2 project type: object @@ -159457,9 +159638,9 @@ x-webhooks: type: string enum: - created - installation: *787 - organization: *788 - projects_v2: *836 + installation: *789 + organization: *790 + projects_v2: *838 sender: *4 required: - action @@ -159540,9 +159721,9 @@ x-webhooks: type: string enum: - deleted - installation: *787 - organization: *788 - projects_v2: *836 + installation: *789 + organization: *790 + projects_v2: *838 sender: *4 required: - action @@ -159659,9 +159840,9 @@ x-webhooks: type: string to: type: string - installation: *787 - organization: *788 - projects_v2: *836 + installation: *789 + organization: *790 + projects_v2: *838 sender: *4 required: - action @@ -159744,7 +159925,7 @@ x-webhooks: type: string enum: - archived - changes: &840 + changes: &842 type: object properties: archived_at: @@ -159758,9 +159939,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *787 - organization: *788 - projects_v2_item: &837 + installation: *789 + organization: *790 + projects_v2_item: &839 title: Projects v2 Item description: An item belonging to a project type: object @@ -159894,9 +160075,9 @@ x-webhooks: nullable: true to: type: string - installation: *787 - organization: *788 - projects_v2_item: *837 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -159978,9 +160159,9 @@ x-webhooks: type: string enum: - created - installation: *787 - organization: *788 - projects_v2_item: *837 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -160061,9 +160242,9 @@ x-webhooks: type: string enum: - deleted - installation: *787 - organization: *788 - projects_v2_item: *837 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -160169,7 +160350,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &838 + - &840 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -160187,7 +160368,7 @@ x-webhooks: required: - id - name - - &839 + - &841 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -160210,8 +160391,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *838 - - *839 + - *840 + - *841 required: - field_value - type: object @@ -160227,9 +160408,9 @@ x-webhooks: nullable: true required: - body - installation: *787 - organization: *788 - projects_v2_item: *837 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -160324,9 +160505,9 @@ x-webhooks: to: type: string nullable: true - installation: *787 - organization: *788 - projects_v2_item: *837 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -160409,10 +160590,10 @@ x-webhooks: type: string enum: - restored - changes: *840 - installation: *787 - organization: *788 - projects_v2_item: *837 + changes: *842 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -160494,9 +160675,9 @@ x-webhooks: type: string enum: - reopened - installation: *787 - organization: *788 - projects_v2: *836 + installation: *789 + organization: *790 + projects_v2: *838 sender: *4 required: - action @@ -160577,9 +160758,9 @@ x-webhooks: type: string enum: - created - installation: *787 - organization: *788 - projects_v2_status_update: &841 + installation: *789 + organization: *790 + projects_v2_status_update: &843 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -160706,9 +160887,9 @@ x-webhooks: type: string enum: - deleted - installation: *787 - organization: *788 - projects_v2_status_update: *841 + installation: *789 + organization: *790 + projects_v2_status_update: *843 sender: *4 required: - action @@ -160844,9 +161025,9 @@ x-webhooks: type: string format: date nullable: true - installation: *787 - organization: *788 - projects_v2_status_update: *841 + installation: *789 + organization: *790 + projects_v2_status_update: *843 sender: *4 required: - action @@ -160917,10 +161098,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - repository @@ -160997,13 +161178,13 @@ x-webhooks: type: string enum: - assigned - assignee: *813 - enterprise: *786 - installation: *787 - number: &842 + assignee: *815 + enterprise: *788 + installation: *789 + number: &844 description: The pull request number. type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -163286,7 +163467,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -163368,11 +163549,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -165650,7 +165831,7 @@ x-webhooks: - draft reason: type: string - repository: *789 + repository: *791 sender: *4 required: - action @@ -165732,11 +165913,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -168014,7 +168195,7 @@ x-webhooks: - draft reason: type: string - repository: *789 + repository: *791 sender: *4 required: - action @@ -168096,13 +168277,13 @@ x-webhooks: type: string enum: - closed - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: &843 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: &845 allOf: - - *623 + - *625 - type: object properties: allow_auto_merge: @@ -168164,7 +168345,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *789 + repository: *791 sender: *4 required: - action @@ -168245,12 +168426,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: *843 - repository: *789 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: *845 + repository: *791 sender: *4 required: - action @@ -168330,11 +168511,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *786 - milestone: *606 - number: *842 - organization: *788 - pull_request: &844 + enterprise: *788 + milestone: *608 + number: *844 + organization: *790 + pull_request: &846 title: Pull Request type: object properties: @@ -170597,7 +170778,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -170676,11 +170857,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -172962,7 +173143,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *789 + repository: *791 sender: *4 required: - action @@ -173086,12 +173267,12 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: *843 - repository: *789 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: *845 + repository: *791 sender: *4 required: - action @@ -173171,11 +173352,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -175442,7 +175623,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -175522,11 +175703,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *786 - installation: *787 - label: *812 - number: *842 - organization: *788 + enterprise: *788 + installation: *789 + label: *814 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -177808,7 +177989,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -177889,10 +178070,10 @@ x-webhooks: type: string enum: - locked - enterprise: *786 - installation: *787 - number: *842 - organization: *788 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -180172,7 +180353,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -180252,12 +180433,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *786 - milestone: *606 - number: *842 - organization: *788 - pull_request: *844 - repository: *789 + enterprise: *788 + milestone: *608 + number: *844 + organization: *790 + pull_request: *846 + repository: *791 sender: *4 required: - action @@ -180336,12 +180517,12 @@ x-webhooks: type: string enum: - opened - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: *843 - repository: *789 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: *845 + repository: *791 sender: *4 required: - action @@ -180422,12 +180603,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: *843 - repository: *789 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: *845 + repository: *791 sender: *4 required: - action @@ -180507,12 +180688,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: *843 - repository: *789 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: *845 + repository: *791 sender: *4 required: - action @@ -180878,9 +181059,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: type: object properties: @@ -183050,7 +183231,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *789 + repository: *791 sender: *4 required: - action @@ -183130,7 +183311,7 @@ x-webhooks: type: string enum: - deleted - comment: &846 + comment: &848 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -183415,9 +183596,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: type: object properties: @@ -185575,7 +185756,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *789 + repository: *791 sender: *4 required: - action @@ -185655,11 +185836,11 @@ x-webhooks: type: string enum: - edited - changes: *845 - comment: *846 - enterprise: *786 - installation: *787 - organization: *788 + changes: *847 + comment: *848 + enterprise: *788 + installation: *789 + organization: *790 pull_request: type: object properties: @@ -187820,7 +188001,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *789 + repository: *791 sender: *4 required: - action @@ -187901,9 +188082,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: title: Simple Pull Request type: object @@ -190076,7 +190257,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *789 + repository: *791 review: description: The review that was affected. type: object @@ -190319,9 +190500,9 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: title: Simple Pull Request type: object @@ -192375,8 +192556,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *789 - review: &847 + repository: *791 + review: &849 description: The review that was affected. type: object properties: @@ -192605,12 +192786,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: description: The pull request number. type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -194893,7 +195074,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 requested_reviewer: title: User type: object @@ -194977,12 +195158,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: description: The pull request number. type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -197272,7 +197453,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197464,12 +197645,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: description: The pull request number. type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -199754,7 +199935,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 requested_reviewer: title: User type: object @@ -199839,12 +200020,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: description: The pull request number. type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -202120,7 +202301,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 requested_team: title: Team description: Groups of organization members that gives permissions @@ -202301,9 +202482,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: title: Simple Pull Request type: object @@ -204478,8 +204659,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *789 - review: *847 + repository: *791 + review: *849 sender: *4 required: - action @@ -204559,9 +204740,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: title: Simple Pull Request type: object @@ -206631,7 +206812,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *789 + repository: *791 sender: *4 thread: type: object @@ -207014,9 +207195,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: title: Simple Pull Request type: object @@ -209072,7 +209253,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *789 + repository: *791 sender: *4 thread: type: object @@ -209458,10 +209639,10 @@ x-webhooks: type: string before: type: string - enterprise: *786 - installation: *787 - number: *842 - organization: *788 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -211732,7 +211913,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -211814,11 +211995,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *848 - enterprise: *786 - installation: *787 - number: *842 - organization: *788 + assignee: *850 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -214101,7 +214282,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -214180,11 +214361,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *786 - installation: *787 - label: *812 - number: *842 - organization: *788 + enterprise: *788 + installation: *789 + label: *814 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -216457,7 +216638,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -216538,10 +216719,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *786 - installation: *787 - number: *842 - organization: *788 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -218806,7 +218987,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -219006,7 +219187,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *786 + enterprise: *788 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -219098,8 +219279,8 @@ x-webhooks: - url - author - committer - installation: *787 - organization: *788 + installation: *789 + organization: *790 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -219674,9 +219855,9 @@ x-webhooks: type: string enum: - published - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 registry_package: type: object properties: @@ -220122,7 +220303,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *830 + items: *832 summary: type: string tag_name: @@ -220176,7 +220357,7 @@ x-webhooks: - owner - package_version - registry - repository: *789 + repository: *791 sender: *4 required: - action @@ -220254,9 +220435,9 @@ x-webhooks: type: string enum: - updated - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 registry_package: type: object properties: @@ -220564,7 +220745,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *830 + items: *832 summary: type: string tag_name: @@ -220613,7 +220794,7 @@ x-webhooks: - owner - package_version - registry - repository: *789 + repository: *791 sender: *4 required: - action @@ -220690,10 +220871,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - release: &849 + enterprise: *788 + installation: *789 + organization: *790 + release: &851 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -221002,7 +221183,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *789 + repository: *791 sender: *4 required: - action @@ -221079,11 +221260,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - release: *849 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + release: *851 + repository: *791 sender: *4 required: - action @@ -221200,11 +221381,11 @@ x-webhooks: type: boolean required: - to - enterprise: *786 - installation: *787 - organization: *788 - release: *849 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + release: *851 + repository: *791 sender: *4 required: - action @@ -221282,9 +221463,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -221597,7 +221778,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *789 + repository: *791 sender: *4 required: - action @@ -221673,10 +221854,10 @@ x-webhooks: type: string enum: - published - enterprise: *786 - installation: *787 - organization: *788 - release: &850 + enterprise: *788 + installation: *789 + organization: *790 + release: &852 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -221986,7 +222167,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *789 + repository: *791 sender: *4 required: - action @@ -222062,11 +222243,11 @@ x-webhooks: type: string enum: - released - enterprise: *786 - installation: *787 - organization: *788 - release: *849 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + release: *851 + repository: *791 sender: *4 required: - action @@ -222142,11 +222323,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *786 - installation: *787 - organization: *788 - release: *850 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + release: *852 + repository: *791 sender: *4 required: - action @@ -222222,11 +222403,11 @@ x-webhooks: type: string enum: - published - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - repository_advisory: *694 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + repository_advisory: *696 sender: *4 required: - action @@ -222302,11 +222483,11 @@ x-webhooks: type: string enum: - reported - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - repository_advisory: *694 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + repository_advisory: *696 sender: *4 required: - action @@ -222382,10 +222563,10 @@ x-webhooks: type: string enum: - archived - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222462,10 +222643,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222543,10 +222724,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222630,10 +222811,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222745,10 +222926,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222820,10 +223001,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 status: type: string @@ -222904,10 +223085,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222984,10 +223165,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -223081,10 +223262,10 @@ x-webhooks: - name required: - repository - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -223164,10 +223345,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 repository_ruleset: *130 sender: *4 required: @@ -223246,10 +223427,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 repository_ruleset: *130 sender: *4 required: @@ -223328,10 +223509,10 @@ x-webhooks: type: string enum: - edited - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 repository_ruleset: *130 changes: type: object @@ -223636,10 +223817,10 @@ x-webhooks: - from required: - owner - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -223717,10 +223898,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -223798,7 +223979,7 @@ x-webhooks: type: string enum: - create - alert: &851 + alert: &853 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -223919,10 +224100,10 @@ x-webhooks: type: string enum: - open - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -224128,10 +224309,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -224209,11 +224390,11 @@ x-webhooks: type: string enum: - reopen - alert: *851 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + alert: *853 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -224412,10 +224593,10 @@ x-webhooks: enum: - fixed - open - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -224493,7 +224674,7 @@ x-webhooks: type: string enum: - created - alert: &852 + alert: &854 type: object properties: number: *100 @@ -224604,10 +224785,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -224688,11 +224869,11 @@ x-webhooks: type: string enum: - created - alert: *852 - installation: *787 - location: *853 - organization: *788 - repository: *789 + alert: *854 + installation: *789 + location: *855 + organization: *790 + repository: *791 sender: *4 required: - location @@ -224930,11 +225111,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *852 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + alert: *854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -225012,11 +225193,11 @@ x-webhooks: type: string enum: - reopened - alert: *852 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + alert: *854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -225094,11 +225275,11 @@ x-webhooks: type: string enum: - resolved - alert: *852 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + alert: *854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -225176,11 +225357,11 @@ x-webhooks: type: string enum: - validated - alert: *852 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + alert: *854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -225306,10 +225487,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *789 - enterprise: *786 - installation: *787 - organization: *788 + repository: *791 + enterprise: *788 + installation: *789 + organization: *790 sender: *4 required: - action @@ -225387,11 +225568,11 @@ x-webhooks: type: string enum: - published - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - security_advisory: &854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + security_advisory: &856 description: The details of the security advisory, including summary, description, and severity. type: object @@ -225574,11 +225755,11 @@ x-webhooks: type: string enum: - updated - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - security_advisory: *854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + security_advisory: *856 sender: *4 required: - action @@ -225651,10 +225832,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -225838,11 +226019,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *330 - enterprise: *786 - installation: *787 - organization: *788 - repository: *394 + security_and_analysis: *332 + enterprise: *788 + installation: *789 + organization: *790 + repository: *396 sender: *4 required: - changes @@ -225920,12 +226101,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: &855 + sponsorship: &857 type: object properties: created_at: @@ -226226,12 +226407,12 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: *855 + sponsorship: *857 required: - action - sponsorship @@ -226319,12 +226500,12 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: *855 + sponsorship: *857 required: - action - changes @@ -226401,17 +226582,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &856 + effective_date: &858 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: *855 + sponsorship: *857 required: - action - sponsorship @@ -226485,7 +226666,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &857 + changes: &859 type: object properties: tier: @@ -226529,13 +226710,13 @@ x-webhooks: - from required: - tier - effective_date: *856 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + effective_date: *858 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: *855 + sponsorship: *857 required: - action - changes @@ -226612,13 +226793,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *857 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + changes: *859 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: *855 + sponsorship: *857 required: - action - changes @@ -226692,10 +226873,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226778,10 +226959,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -227201,15 +227382,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *786 + enterprise: *788 id: description: The unique identifier of the status. type: integer - installation: *787 + installation: *789 name: type: string - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 sha: description: The Commit SHA. @@ -227318,15 +227499,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *155 + parent_issue: *157 parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *155 - installation: *787 - organization: *788 - repository: *789 + sub_issue: *157 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -227410,15 +227591,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *155 + parent_issue: *157 parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *155 - installation: *787 - organization: *788 - repository: *789 + sub_issue: *157 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -227502,15 +227683,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *155 + sub_issue: *157 sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *155 - installation: *787 - organization: *788 - repository: *789 + parent_issue: *157 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -227594,15 +227775,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *155 + sub_issue: *157 sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *155 - installation: *787 - organization: *788 - repository: *789 + parent_issue: *157 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -227679,12 +227860,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - team: &858 + team: &860 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -227874,9 +228055,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 repository: title: Repository description: A git repository @@ -228334,7 +228515,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *858 + team: *860 required: - action - team @@ -228410,9 +228591,9 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 repository: title: Repository description: A git repository @@ -228870,7 +229051,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *858 + team: *860 required: - action - team @@ -228947,9 +229128,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 repository: title: Repository description: A git repository @@ -229407,7 +229588,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *858 + team: *860 required: - action - team @@ -229551,9 +229732,9 @@ x-webhooks: - from required: - permissions - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 repository: title: Repository description: A git repository @@ -230011,7 +230192,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *858 + team: *860 required: - action - changes @@ -230089,9 +230270,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 repository: title: Repository description: A git repository @@ -230549,7 +230730,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *858 + team: *860 required: - action - team @@ -230625,10 +230806,10 @@ x-webhooks: type: string enum: - started - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -230701,16 +230882,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *786 + enterprise: *788 inputs: type: object nullable: true additionalProperties: true - installation: *787 - organization: *788 + installation: *789 + organization: *790 ref: type: string - repository: *789 + repository: *791 sender: *4 workflow: type: string @@ -230792,10 +230973,10 @@ x-webhooks: type: string enum: - completed - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 workflow_job: allOf: @@ -231032,7 +231213,7 @@ x-webhooks: type: string required: - conclusion - deployment: *529 + deployment: *531 required: - action - repository @@ -231111,10 +231292,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 workflow_job: allOf: @@ -231374,7 +231555,7 @@ x-webhooks: required: - status - steps - deployment: *529 + deployment: *531 required: - action - repository @@ -231453,10 +231634,10 @@ x-webhooks: type: string enum: - queued - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 workflow_job: type: object @@ -231591,7 +231772,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *529 + deployment: *531 required: - action - repository @@ -231670,10 +231851,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 workflow_job: type: object @@ -231809,7 +231990,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *529 + deployment: *531 required: - action - repository @@ -231889,12 +232070,12 @@ x-webhooks: type: string enum: - completed - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - workflow: *808 + workflow: *810 workflow_run: title: Workflow Run type: object @@ -232893,12 +233074,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - workflow: *808 + workflow: *810 workflow_run: title: Workflow Run type: object @@ -233882,12 +234063,12 @@ x-webhooks: type: string enum: - requested - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - workflow: *808 + workflow: *810 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 10f1f5bb13..f140854913 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -48156,6 +48156,809 @@ } } }, + "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": { + "get": { + "summary": "Get a cost center by ID", + "description": "Gets a cost center by ID. The authenticated user must be an enterprise admin.", + "tags": [ + "billing" + ], + "operationId": "billing/get-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to the cost center.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a cost center", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the cost center." + }, + "name": { + "type": "string", + "description": "Name of the cost center." + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource." + } + }, + "required": [ + "type", + "name" + ] + } + } + }, + "required": [ + "id", + "name", + "resources" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", + "name": "Cost Center Name", + "resources": [ + { + "type": "User", + "name": "Monalisa" + }, + { + "type": "Repo", + "name": "octocat/hello-world" + } + ] + } + ] + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + }, + "patch": { + "summary": "Update a cost center name", + "description": "Updates an existing cost center name.", + "tags": [ + "billing" + ], + "operationId": "billing/update-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name" + }, + "parameters": [ + { + "name": "enterprise", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "The slug version of the enterprise name" + }, + { + "name": "cost_center_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "The unique identifier of the cost center" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "The new name for the cost center" + } + } + }, + "examples": { + "update-cost-center": { + "summary": "Update cost center name example", + "value": { + "name": "New Cost Center Name" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response when updating a cost center", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the cost center." + }, + "name": { + "type": "string", + "description": "Name of the cost center." + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource." + } + }, + "required": [ + "type", + "name" + ] + } + } + }, + "required": [ + "id", + "name", + "resources" + ] + }, + "examples": { + "default": { + "value": [ + { + "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", + "name": "Cost Center Name", + "resources": [ + { + "type": "User", + "name": "Monalisa" + }, + { + "type": "Repo", + "name": "octocat/hello-world" + } + ] + } + ] + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "409": { + "description": "Conflict", + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + }, + "delete": { + "summary": "Delete a cost center", + "description": "Archieves a cost center by ID. The authenticated user must be an enterprise admin.", + "tags": [ + "billing" + ], + "operationId": "billing/delete-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to the cost center.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when deleting a cost center", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "A message indicating the result of the deletion operation" + }, + "id": { + "type": "string", + "description": "The unique identifier of the deleted cost center" + }, + "name": { + "type": "string", + "description": "The name of the deleted cost center" + }, + "costCenterState": { + "type": "string", + "enum": [ + "CostCenterArchived" + ], + "description": "The state of the cost center after deletion" + } + }, + "required": [ + "message", + "id", + "name", + "costCenterState" + ] + }, + "examples": { + "default": { + "value": { + "message": "Cost center successfully deleted.", + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "name": "cc3", + "costCenterState": "CostCenterArchived" + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "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" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "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" + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "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" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": { "post": { "summary": "Add users to a cost center", @@ -76906,15 +77709,15 @@ }, "/organizations/{org}/dependabot/repository-access": { "get": { - "summary": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" }, "parameters": [ { @@ -77540,15 +78343,15 @@ } }, "patch": { - "summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", "tags": [ "dependabot" ], "operationId": "dependabot/update-repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" }, "parameters": [ { @@ -77686,7 +78489,7 @@ "/organizations/{org}/dependabot/repository-access/default-level": { "put": { "summary": "Set the default repository access level for Dependabot", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nSets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", "tags": [ "dependabot" ], diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index d8274eb4c6..8592dd6a6f 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -859,7 +859,7 @@ paths: - subscriptions_url - type - url - type: &347 + type: &349 type: string description: The type of credit the user is receiving. enum: @@ -992,7 +992,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &184 + schema: &186 title: Validation Error Simple description: Validation Error Simple type: object @@ -1025,7 +1025,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &696 + - &698 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1143,7 +1143,7 @@ paths: GitHub. type: object nullable: true - properties: &140 + properties: &142 id: description: Unique identifier of the GitHub app example: 37 @@ -1276,7 +1276,7 @@ paths: about itself. example: 5 type: integer - required: &141 + required: &143 - id - node_id - owner @@ -1581,7 +1581,7 @@ paths: schema: type: integer default: 30 - - &269 + - &271 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1597,7 +1597,7 @@ paths: application/json: schema: type: array - items: &270 + items: &272 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1677,7 +1677,7 @@ paths: - installation_id - repository_id examples: - default: &271 + default: &273 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1709,7 +1709,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &706 + schema: &708 title: Scim Error description: Scim Error type: object @@ -1736,7 +1736,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &183 + schema: &185 title: Validation Error description: Validation Error type: object @@ -1805,7 +1805,7 @@ paths: description: Response content: application/json: - schema: &272 + schema: &274 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1919,7 +1919,7 @@ paths: - request - response examples: - default: &273 + default: &275 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2120,7 +2120,7 @@ paths: parameters: - *17 - *19 - - &145 + - &147 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2846,7 +2846,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &328 + properties: &330 id: description: Unique identifier of the repository example: 42 @@ -2866,7 +2866,7 @@ paths: title: License Simple description: License Simple type: object - properties: &156 + properties: &158 key: type: string example: mit @@ -2888,7 +2888,7 @@ paths: html_url: type: string format: uri - required: &157 + required: &159 - key - name - url @@ -3284,7 +3284,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &329 + required: &331 - archive_url - assignees_url - blobs_url @@ -7357,7 +7357,7 @@ paths: description: Response content: application/json: - schema: &185 + schema: &187 type: object properties: total_active_caches_count: @@ -7372,7 +7372,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &186 + default: &188 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7556,7 +7556,7 @@ paths: - public_ip_enabled - platform examples: - default: &187 + default: &189 value: total_count: 2 runners: @@ -7842,7 +7842,7 @@ paths: description: Response content: application/json: - schema: &188 + schema: &190 type: object properties: public_ips: @@ -7867,7 +7867,7 @@ paths: required: - public_ips examples: - default: &189 + default: &191 value: public_ips: current_usage: 17 @@ -7907,7 +7907,7 @@ paths: type: array items: *45 examples: - default: &190 + default: &192 value: id: 4-core cpu_cores: 4 @@ -8164,7 +8164,7 @@ paths: - all - local_only - selected - selected_actions_url: &193 + selected_actions_url: &195 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` @@ -8532,7 +8532,7 @@ paths: description: Success response content: application/json: - schema: &196 + schema: &198 type: object properties: default_workflow_permissions: &53 @@ -8580,7 +8580,7 @@ paths: required: true content: application/json: - schema: &197 + schema: &199 type: object properties: default_workflow_permissions: *53 @@ -9416,7 +9416,7 @@ paths: application/json: schema: type: array - items: &201 + items: &203 title: Runner Application description: Runner Application type: object @@ -9441,7 +9441,7 @@ paths: - download_url - filename examples: - default: &202 + default: &204 value: - os: osx architecture: x64 @@ -9525,7 +9525,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &203 + '201': &205 description: Response content: application/json: @@ -9640,7 +9640,7 @@ paths: - token - expires_at examples: - default: &204 + default: &206 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9680,7 +9680,7 @@ paths: application/json: schema: *65 examples: - default: &205 + default: &207 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9712,7 +9712,7 @@ paths: application/json: schema: *62 examples: - default: &206 + default: &208 value: id: 23 name: MBP @@ -9928,7 +9928,7 @@ paths: - *41 - *61 responses: - '200': &207 + '200': &209 description: Response content: application/json: @@ -9984,7 +9984,7 @@ paths: parameters: - *41 - *61 - - &208 + - &210 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10075,7 +10075,7 @@ paths: required: true content: application/json: - schema: &215 + schema: &217 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10147,7 +10147,7 @@ paths: required: false schema: type: string - - &216 + - &218 name: include description: |- The event types to include: @@ -10165,7 +10165,7 @@ paths: - web - git - all - - &217 + - &219 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -10173,7 +10173,7 @@ paths: required: false schema: type: string - - &218 + - &220 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -10181,7 +10181,7 @@ paths: required: false schema: type: string - - &219 + - &221 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10203,7 +10203,7 @@ paths: application/json: schema: type: array - items: &220 + items: &222 type: object properties: "@timestamp": @@ -10325,7 +10325,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &221 + default: &223 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10926,7 +10926,7 @@ paths: in: query schema: type: string - - &223 + - &225 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -10934,7 +10934,7 @@ paths: required: false schema: type: string - - &224 + - &226 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -10942,7 +10942,7 @@ paths: required: false schema: type: string - - &225 + - &227 name: time_period description: |- The time period to filter by. @@ -10958,7 +10958,7 @@ paths: - week - month default: day - - &226 + - &228 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -10985,7 +10985,7 @@ paths: application/json: schema: type: array - items: &227 + items: &229 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11102,7 +11102,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: &230 + items: &232 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11146,7 +11146,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &228 + default: &230 value: - id: 21 number: 42 @@ -11233,7 +11233,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &235 + - &237 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -11243,7 +11243,7 @@ paths: schema: &89 type: string description: The name of the tool used to generate the code scanning analysis. - - &236 + - &238 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -11266,7 +11266,7 @@ paths: be returned. in: query required: false - schema: &237 + schema: &239 type: string description: State of a code scanning alert. enum: @@ -11291,7 +11291,7 @@ paths: application/json: schema: type: array - items: &238 + items: &240 type: object properties: number: &100 @@ -11320,7 +11320,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &464 + instances_url: &466 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11355,7 +11355,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &465 + dismissed_reason: &467 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -11364,13 +11364,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &466 + dismissed_comment: &468 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &467 + rule: &469 type: object properties: id: @@ -11423,7 +11423,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &468 + tool: &470 type: object properties: name: *89 @@ -11433,15 +11433,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *90 - most_recent_instance: &469 + most_recent_instance: &471 type: object properties: - ref: &462 + ref: &464 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &479 + analysis_key: &481 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11452,7 +11452,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &480 + category: &482 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11501,7 +11501,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &173 + properties: &175 id: type: integer format: int64 @@ -11728,7 +11728,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &174 + required: &176 - archive_url - assignees_url - blobs_url @@ -11797,7 +11797,7 @@ paths: - most_recent_instance - repository examples: - default: &239 + default: &241 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -12614,7 +12614,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &243 type: array description: A list of default code security configurations items: @@ -12630,7 +12630,7 @@ paths: default configuration: *92 examples: - default: &242 + default: &244 value: - default_for_new_repos: public configuration: @@ -13064,7 +13064,7 @@ paths: default: value: default_for_new_repos: all - configuration: &240 + configuration: &242 value: id: 1325 target_type: organization @@ -13147,7 +13147,7 @@ paths: application/json: schema: type: array - items: &243 + items: &245 type: object description: Repositories associated with a code security configuration and attachment status @@ -13171,7 +13171,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &244 + repository: &246 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -13660,7 +13660,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &231 + - &233 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -13719,7 +13719,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &306 + properties: &308 id: description: Unique identifier of the team type: integer @@ -13775,7 +13775,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &307 + required: &309 - id - node_id - url @@ -14028,7 +14028,7 @@ paths: application/json: schema: type: array - items: &136 + items: &138 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -14335,7 +14335,7 @@ paths: - date additionalProperties: true examples: - default: &137 + default: &139 value: - date: '2024-06-24' total_active_users: 24 @@ -14437,7 +14437,7 @@ paths: '500': *85 '403': *29 '404': *6 - '422': &138 + '422': &140 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -14467,7 +14467,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &251 + - &253 name: state in: query description: |- @@ -14476,7 +14476,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &252 + - &254 name: severity in: query description: |- @@ -14485,7 +14485,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &253 + - &255 name: ecosystem in: query description: |- @@ -14494,14 +14494,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &254 + - &256 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &255 + - &257 name: epss_percentage in: query description: |- @@ -14513,7 +14513,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &256 + - &258 name: has in: query description: |- @@ -14527,7 +14527,7 @@ paths: type: string enum: - patch - - &257 + - &259 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -14537,7 +14537,7 @@ paths: enum: - development - runtime - - &258 + - &260 name: sort in: query description: |- @@ -14555,7 +14555,7 @@ paths: - *88 - *86 - *87 - - &259 + - &261 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -14568,7 +14568,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &260 + - &262 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -14588,7 +14588,7 @@ paths: application/json: schema: type: array - items: &261 + items: &263 type: object description: A Dependabot alert. properties: @@ -14651,7 +14651,7 @@ paths: - unknown - direct - transitive - security_advisory: &521 + security_advisory: &523 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -14883,7 +14883,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: &522 + auto_dismissed_at: &524 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -14909,7 +14909,7 @@ paths: - repository additionalProperties: false examples: - default: &262 + default: &264 value: - number: 2 state: dismissed @@ -15326,7 +15326,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &222 + - &224 name: username description: The handle for the GitHub user account. in: path @@ -15433,7 +15433,7 @@ paths: - name - created_on examples: - default: &358 + default: &360 value: total_count: 2 network_configurations: @@ -15656,7 +15656,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &359 + - &361 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -15668,7 +15668,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &362 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -15702,7 +15702,7 @@ paths: - subnet_id - region examples: - default: &361 + default: &363 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -15915,7 +15915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *41 - - &172 + - &174 name: org description: The organization name. The name is not case sensitive. in: path @@ -16004,7 +16004,7 @@ paths: required: true content: application/json: - schema: &326 + schema: &328 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16370,7 +16370,7 @@ paths: type: object description: A repository rule. oneOf: - - &640 + - &642 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16382,7 +16382,7 @@ paths: type: string enum: - creation - - &641 + - &643 title: update description: Only allow users with bypass permission to update matching refs. @@ -16403,7 +16403,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &643 + - &645 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16415,7 +16415,7 @@ paths: type: string enum: - deletion - - &644 + - &646 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16427,7 +16427,7 @@ paths: type: string enum: - required_linear_history - - &645 + - &647 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -16503,7 +16503,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &646 + - &648 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -16527,7 +16527,7 @@ paths: type: string required: - required_deployment_environments - - &647 + - &649 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -16539,7 +16539,7 @@ paths: type: string enum: - required_signatures - - &648 + - &650 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can be merged. @@ -16599,7 +16599,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &649 + - &651 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -16646,7 +16646,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &650 + - &652 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -16658,7 +16658,7 @@ paths: type: string enum: - non_fast_forward - - &651 + - &653 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -16694,7 +16694,7 @@ paths: required: - operator - pattern - - &652 + - &654 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -16730,7 +16730,7 @@ paths: required: - operator - pattern - - &653 + - &655 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -16766,7 +16766,7 @@ paths: required: - operator - pattern - - &654 + - &656 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -16802,7 +16802,7 @@ paths: required: - operator - pattern - - &655 + - &657 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -16838,7 +16838,7 @@ paths: required: - operator - pattern - - &656 + - &658 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -16862,7 +16862,7 @@ paths: type: string required: - restricted_file_paths - - &657 + - &659 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -16886,7 +16886,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &658 + - &660 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -16909,7 +16909,7 @@ paths: type: string required: - restricted_file_extensions - - &659 + - &661 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -16933,7 +16933,7 @@ paths: maximum: 100 required: - max_file_size - - &660 + - &662 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -16982,7 +16982,7 @@ paths: - repository_id required: - workflows - - &661 + - &663 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17139,7 +17139,7 @@ paths: nullable: true anyOf: - *123 - - &333 + - &335 title: Organization ruleset conditions type: object description: |- @@ -17420,7 +17420,7 @@ paths: type: string format: date-time examples: - default: &335 + default: &337 value: - version_id: 3 actor: @@ -17473,7 +17473,7 @@ paths: description: Response content: application/json: - schema: &336 + schema: &338 allOf: - *133 - type: object @@ -17528,7 +17528,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &337 + - &339 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -17539,7 +17539,7 @@ paths: enum: - open - resolved - - &338 + - &340 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -17549,7 +17549,7 @@ paths: required: false schema: type: string - - &339 + - &341 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -17558,7 +17558,7 @@ paths: required: false schema: type: string - - &340 + - &342 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -17574,7 +17574,7 @@ paths: - *17 - *86 - *87 - - &341 + - &343 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -17583,7 +17583,7 @@ paths: required: false schema: type: string - - &342 + - &344 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -17592,7 +17592,7 @@ paths: schema: type: boolean default: false - - &343 + - &345 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -17601,7 +17601,7 @@ paths: schema: type: boolean default: false - - &344 + - &346 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -17617,7 +17617,7 @@ paths: application/json: schema: type: array - items: &345 + items: &347 type: object properties: number: *100 @@ -17636,14 +17636,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &674 + state: &676 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &675 + resolution: &677 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -17750,8 +17750,8 @@ paths: pull request. ' - oneOf: &676 - - &678 + oneOf: &678 + - &680 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -17803,7 +17803,7 @@ paths: - blob_url - commit_sha - commit_url - - &679 + - &681 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -17858,7 +17858,7 @@ paths: - page_url - commit_sha - commit_url - - &680 + - &682 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -17872,7 +17872,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &681 + - &683 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -17886,7 +17886,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &682 + - &684 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -17900,7 +17900,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &683 + - &685 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -17914,7 +17914,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &684 + - &686 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -17928,7 +17928,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &685 + - &687 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -17942,7 +17942,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &686 + - &688 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -17956,7 +17956,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &687 + - &689 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -17970,7 +17970,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &688 + - &690 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -17984,7 +17984,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &689 + - &691 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -17998,7 +17998,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &690 + - &692 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -18018,7 +18018,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &346 + default: &348 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18300,7 +18300,7 @@ paths: description: Response content: application/json: - schema: &349 + schema: &351 type: object properties: total_minutes_used: @@ -18370,7 +18370,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &350 + default: &352 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18401,7 +18401,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &351 + - &353 name: advanced_security_product in: query description: | @@ -18421,7 +18421,7 @@ paths: description: Success content: application/json: - schema: &352 + schema: &354 type: object properties: total_advanced_security_committers: @@ -18476,7 +18476,7 @@ paths: required: - repositories examples: - default: &353 + default: &355 value: total_advanced_security_committers: 2 total_count: 2 @@ -18579,6 +18579,192 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": + get: + summary: Get a cost center by ID + description: Gets a cost center by ID. The authenticated user must be an enterprise + admin. + tags: + - billing + operationId: billing/get-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id + parameters: + - *41 + - &137 + name: cost_center_id + description: The ID corresponding to the cost center. + in: path + required: true + schema: + type: string + responses: + '200': + description: Response when getting a cost center + content: + application/json: + schema: &135 + type: object + properties: + id: + type: string + description: ID of the cost center. + name: + type: string + description: Name of the cost center. + resources: + type: array + items: + type: object + properties: + type: + type: string + description: Type of the resource. + name: + type: string + description: Name of the resource. + required: + - type + - name + required: + - id + - name + - resources + examples: + default: &136 + value: + - id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 + name: Cost Center Name + resources: + - type: User + name: Monalisa + - type: Repo + name: octocat/hello-world + '400': *14 + '403': *29 + '500': *85 + '503': *134 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing + patch: + summary: Update a cost center name + description: Updates an existing cost center name. + tags: + - billing + operationId: billing/update-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name + parameters: + - name: enterprise + in: path + required: true + schema: + type: string + description: The slug version of the enterprise name + - name: cost_center_id + in: path + required: true + schema: + type: string + description: The unique identifier of the cost center + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - name + properties: + name: + type: string + description: The new name for the cost center + examples: + update-cost-center: + summary: Update cost center name example + value: + name: New Cost Center Name + responses: + '200': + description: Response when updating a cost center + content: + application/json: + schema: *135 + examples: + default: *136 + '400': *14 + '403': *29 + '404': *6 + '409': *96 + '500': *85 + '503': *134 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing + delete: + summary: Delete a cost center + description: Archieves a cost center by ID. The authenticated user must be an + enterprise admin. + tags: + - billing + operationId: billing/delete-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center + parameters: + - *41 + - *137 + responses: + '200': + description: Response when deleting a cost center + content: + application/json: + schema: + type: object + properties: + message: + type: string + description: A message indicating the result of the deletion operation + id: + type: string + description: The unique identifier of the deleted cost center + name: + type: string + description: The name of the deleted cost center + costCenterState: + type: string + enum: + - CostCenterArchived + description: The state of the cost center after deletion + required: + - message + - id + - name + - costCenterState + examples: + default: + value: + message: Cost center successfully deleted. + id: 2066deda-923f-43f9-88d2-62395a28c0cdd + name: cc3 + costCenterState: CostCenterArchived + '400': *14 + '404': *6 + '403': *29 + '500': *85 + '503': *134 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": post: summary: Add users to a cost center @@ -18594,13 +18780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *41 - - &135 - name: cost_center_id - description: The ID corresponding to the cost center. - in: path - required: true - schema: - type: string + - *137 requestBody: required: true content: @@ -18657,7 +18837,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *41 - - *135 + - *137 requestBody: required: true content: @@ -18725,7 +18905,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &356 type: object properties: total_gigabytes_bandwidth_used: @@ -18743,7 +18923,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &355 + default: &357 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -18778,7 +18958,7 @@ paths: description: Response content: application/json: - schema: &356 + schema: &358 type: object properties: days_left_in_billing_cycle: @@ -18796,7 +18976,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &357 + default: &359 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -18821,7 +19001,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &175 + - &177 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -18830,7 +19010,7 @@ paths: required: false schema: type: integer - - &176 + - &178 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -18839,7 +19019,7 @@ paths: required: false schema: type: integer - - &177 + - &179 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -18848,7 +19028,7 @@ paths: required: false schema: type: integer - - &178 + - &180 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -18869,7 +19049,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &179 + schema: &181 type: object properties: usageItems: @@ -18922,7 +19102,7 @@ paths: - netAmount - organizationName examples: - default: &180 + default: &182 value: usageItems: - date: '2023-08-01' @@ -19010,13 +19190,13 @@ paths: application/json: schema: type: array - items: *136 + items: *138 examples: - default: *137 + default: *139 '500': *85 '403': *29 '404': *6 - '422': *138 + '422': *140 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19105,7 +19285,7 @@ paths: application/json: schema: type: array - items: &167 + items: &169 title: Event description: Event type: object @@ -19115,7 +19295,7 @@ paths: type: type: string nullable: true - actor: &139 + actor: &141 title: Actor description: Actor type: object @@ -19155,18 +19335,18 @@ paths: - id - name - url - org: *139 + org: *141 payload: type: object properties: action: type: string - issue: &155 + issue: &157 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &579 + properties: &581 id: type: integer format: int64 @@ -19277,7 +19457,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &506 + properties: &508 url: type: string format: uri @@ -19347,7 +19527,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &507 + required: &509 - closed_issues - creator - description @@ -19426,7 +19606,7 @@ paths: timeline_url: type: string format: uri - type: &291 + type: &293 title: Issue Type description: The type of issue. type: object @@ -19485,9 +19665,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 - author_association: &142 + properties: *142 + required: *143 + author_association: &144 title: author_association type: string example: OWNER @@ -19501,7 +19681,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &143 + reactions: &145 title: Reaction Rollup type: object properties: @@ -19551,7 +19731,7 @@ paths: - total - completed - percent_completed - required: &580 + required: &582 - assignee - closed_at - comments @@ -19573,7 +19753,7 @@ paths: - author_association - created_at - updated_at - comment: &577 + comment: &579 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -19621,7 +19801,7 @@ paths: issue_url: type: string format: uri - author_association: *142 + author_association: *144 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -19631,9 +19811,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 - reactions: *143 + properties: *142 + required: *143 + reactions: *145 required: - id - node_id @@ -19809,7 +19989,7 @@ paths: _links: type: object properties: - timeline: &144 + timeline: &146 title: Link With Type description: Hypermedia Link with Type type: object @@ -19821,17 +20001,17 @@ paths: required: - href - type - user: *144 - security_advisories: *144 - current_user: *144 - current_user_public: *144 - current_user_actor: *144 - current_user_organization: *144 + user: *146 + security_advisories: *146 + current_user: *146 + current_user_public: *146 + current_user_actor: *146 + current_user_organization: *146 current_user_organizations: type: array - items: *144 - repository_discussions: *144 - repository_discussions_category: *144 + items: *146 + repository_discussions: *146 + repository_discussions_category: *146 required: - timeline - user @@ -19893,7 +20073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *145 + - *147 - *17 - *19 responses: @@ -19903,7 +20083,7 @@ paths: application/json: schema: type: array - items: &146 + items: &148 title: Base Gist description: Base Gist type: object @@ -20002,7 +20182,7 @@ paths: - created_at - updated_at examples: - default: &147 + default: &149 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20123,7 +20303,7 @@ paths: description: Response content: application/json: - schema: &148 + schema: &150 title: Gist Simple description: Gist Simple type: object @@ -20140,7 +20320,7 @@ paths: url: type: string format: uri - user: &745 + user: &747 title: Public User description: Public User type: object @@ -20502,7 +20682,7 @@ paths: truncated: type: boolean examples: - default: &149 + default: &151 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -20606,7 +20786,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *145 + - *147 - *17 - *19 responses: @@ -20616,9 +20796,9 @@ paths: application/json: schema: type: array - items: *146 + items: *148 examples: - default: *147 + default: *149 headers: Link: *40 '422': *15 @@ -20640,7 +20820,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *145 + - *147 - *17 - *19 responses: @@ -20650,9 +20830,9 @@ paths: application/json: schema: type: array - items: *146 + items: *148 examples: - default: *147 + default: *149 headers: Link: *40 '401': *25 @@ -20680,7 +20860,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &150 + - &152 name: gist_id description: The unique identifier of the gist. in: path @@ -20692,10 +20872,10 @@ paths: description: Response content: application/json: - schema: *148 + schema: *150 examples: - default: *149 - '403': &153 + default: *151 + '403': &155 description: Forbidden Gist content: application/json: @@ -20743,7 +20923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *150 + - *152 requestBody: required: true content: @@ -20803,9 +20983,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *150 examples: - updateGist: *149 + updateGist: *151 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -20963,7 +21143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *150 + - *152 responses: '204': description: Response @@ -20992,7 +21172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *150 + - *152 - *17 - *19 responses: @@ -21002,7 +21182,7 @@ paths: application/json: schema: type: array - items: &151 + items: &153 title: Gist Comment description: A comment made to a gist. type: object @@ -21037,7 +21217,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *142 + author_association: *144 required: - url - id @@ -21102,7 +21282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *150 + - *152 requestBody: required: true content: @@ -21127,9 +21307,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *153 examples: - default: &152 + default: &154 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21187,8 +21367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *150 - - &154 + - *152 + - &156 name: comment_id description: The unique identifier of the comment. in: path @@ -21201,12 +21381,12 @@ paths: description: Response content: application/json: - schema: *151 + schema: *153 examples: - default: *152 + default: *154 '304': *37 '404': *6 - '403': *153 + '403': *155 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21228,8 +21408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *150 - - *154 + - *152 + - *156 requestBody: required: true content: @@ -21254,9 +21434,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *153 examples: - default: *152 + default: *154 '404': *6 x-github: githubCloudOnly: false @@ -21273,8 +21453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *150 - - *154 + - *152 + - *156 responses: '204': description: Response @@ -21297,7 +21477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *150 + - *152 - *17 - *19 responses: @@ -21398,7 +21578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *150 + - *152 - *17 - *19 responses: @@ -21408,7 +21588,7 @@ paths: application/json: schema: type: array - items: *148 + items: *150 examples: default: value: @@ -21473,13 +21653,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *150 + - *152 responses: '201': description: Response content: application/json: - schema: *146 + schema: *148 examples: default: value: @@ -21550,7 +21730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *150 + - *152 responses: '204': description: Response if gist is starred @@ -21580,7 +21760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *150 + - *152 responses: '204': description: Response @@ -21602,7 +21782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *150 + - *152 responses: '204': description: Response @@ -21631,7 +21811,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *150 + - *152 - name: sha in: path required: true @@ -21642,9 +21822,9 @@ paths: description: Response content: application/json: - schema: *148 + schema: *150 examples: - default: *149 + default: *151 '422': *15 '404': *6 '403': *29 @@ -22010,7 +22190,7 @@ paths: - closed - all default: open - - &294 + - &296 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22029,7 +22209,7 @@ paths: - comments default: created - *88 - - *145 + - *147 - name: collab in: query required: false @@ -22059,9 +22239,9 @@ paths: application/json: schema: type: array - items: *155 + items: *157 examples: - default: &295 + default: &297 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22345,8 +22525,8 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 examples: default: value: @@ -22631,7 +22811,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &158 + X-CommonMarker-Version: &160 example: 0.17.4 schema: type: string @@ -22686,7 +22866,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *158 + X-CommonMarker-Version: *160 content: text/html: schema: @@ -22715,7 +22895,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &161 + - &163 name: account_id description: account_id parameter in: path @@ -22727,7 +22907,7 @@ paths: description: Response content: application/json: - schema: &160 + schema: &162 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -22757,7 +22937,7 @@ paths: nullable: true id: type: integer - plan: &159 + plan: &161 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -22846,7 +23026,7 @@ paths: nullable: true updated_at: type: string - plan: *159 + plan: *161 required: - url - id @@ -22854,7 +23034,7 @@ paths: - login - marketplace_purchase examples: - default: &162 + default: &164 value: url: https://api.github.com/orgs/github type: Organization @@ -22939,9 +23119,9 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: &163 + default: &165 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -22981,14 +23161,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &164 + - &166 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &165 + - &167 name: sort description: The property to sort the results by. in: query @@ -23018,9 +23198,9 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: - default: &166 + default: &168 value: - url: https://api.github.com/orgs/github type: Organization @@ -23094,15 +23274,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *161 + - *163 responses: '200': description: Response content: application/json: - schema: *160 + schema: *162 examples: - default: *162 + default: *164 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -23134,9 +23314,9 @@ paths: application/json: schema: type: array - items: *159 + items: *161 examples: - default: *163 + default: *165 headers: Link: *40 '401': *25 @@ -23159,8 +23339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *164 - - *165 + - *166 + - *167 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23180,9 +23360,9 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: - default: *166 + default: *168 headers: Link: *40 '401': *25 @@ -23446,14 +23626,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &381 + - &383 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &382 + - &384 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -23470,7 +23650,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -23524,7 +23704,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &395 + '301': &397 description: Moved permanently content: application/json: @@ -23546,7 +23726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &609 + - &611 name: all description: If `true`, show notifications marked as read. in: query @@ -23554,7 +23734,7 @@ paths: schema: type: boolean default: false - - &610 + - &612 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -23563,8 +23743,8 @@ paths: schema: type: boolean default: false - - *145 - - &611 + - *147 + - &613 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -23589,18 +23769,18 @@ paths: application/json: schema: type: array - items: &168 + items: &170 title: Thread description: Thread type: object properties: id: type: string - repository: &200 + repository: &202 title: Minimal Repository description: Minimal Repository type: object - properties: &264 + properties: &266 id: type: integer format: int64 @@ -23876,7 +24056,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &330 + security_and_analysis: &332 nullable: true type: object properties: @@ -23954,7 +24134,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &265 + required: &267 - archive_url - assignees_url - blobs_url @@ -24042,7 +24222,7 @@ paths: - url - subscription_url examples: - default: &612 + default: &614 value: - id: '1' repository: @@ -24208,7 +24388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &169 + - &171 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -24222,7 +24402,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *170 examples: default: value: @@ -24325,7 +24505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *169 + - *171 responses: '205': description: Reset Content @@ -24348,7 +24528,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *169 + - *171 responses: '204': description: No content @@ -24371,13 +24551,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *169 + - *171 responses: '200': description: Response content: application/json: - schema: &170 + schema: &172 title: Thread Subscription description: Thread Subscription type: object @@ -24414,7 +24594,7 @@ paths: - url - subscribed examples: - default: &171 + default: &173 value: subscribed: true ignored: false @@ -24445,7 +24625,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *169 + - *171 requestBody: required: false content: @@ -24466,9 +24646,9 @@ paths: description: Response content: application/json: - schema: *170 + schema: *172 examples: - default: *171 + default: *173 '304': *37 '403': *29 '401': *25 @@ -24491,7 +24671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *169 + - *171 responses: '204': description: Response @@ -24588,7 +24768,7 @@ paths: type: array items: *59 examples: - default: &763 + default: &765 value: - login: github id: 1 @@ -24652,7 +24832,7 @@ paths: type: integer custom_roles: type: array - items: &246 + items: &248 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -24700,7 +24880,7 @@ paths: - created_at - updated_at examples: - default: &247 + default: &249 value: id: 8030 name: Security Engineer @@ -24734,9 +24914,9 @@ paths: deprecated: true "/organizations/{org}/dependabot/repository-access": get: - summary: Lists repositories that organization admins have allowed Dependabot - to access when updating dependencies. + summary: Lists the repositories Dependabot can access in an organization description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -24745,9 +24925,9 @@ paths: operationId: dependabot/repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - - *172 + - *174 - name: page in: query description: The page number of results to fetch. @@ -24791,8 +24971,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *173 - required: *174 + properties: *175 + required: *176 nullable: true additionalProperties: false examples: @@ -24876,9 +25056,10 @@ paths: category: dependabot subcategory: repository-access patch: - summary: Updates repositories to the list of repositories that organization - admins have allowed Dependabot to access when updating dependencies. + summary: Updates Dependabot's repository access list for an organization description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -24895,9 +25076,9 @@ paths: operationId: dependabot/update-repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -24949,13 +25130,13 @@ paths: put: summary: Set the default repository access level for Dependabot description: |- - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. Sets the default level of repository access Dependabot will have while performing an update. Available values are: - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. tags: - dependabot operationId: dependabot/set-repository-access-default-level @@ -24963,7 +25144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#set-the-default-repository-access-level-for-dependabot parameters: - - *172 + - *174 requestBody: required: true content: @@ -25010,19 +25191,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - *172 - - *175 - - *176 + - *174 - *177 - *178 + - *179 + - *180 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *179 + schema: *181 examples: - default: *180 + default: *182 '400': *14 '403': *29 '500': *85 @@ -25052,13 +25233,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: &181 + schema: &183 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -25391,7 +25572,7 @@ paths: - updated_at - archived_at examples: - default-response: &182 + default-response: &184 value: login: github id: 1 @@ -25493,7 +25674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *172 + - *174 requestBody: required: false content: @@ -25716,17 +25897,17 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 '422': description: Validation failed content: application/json: schema: oneOf: - - *183 - - *184 + - *185 + - *186 '409': *96 x-github: githubCloudOnly: false @@ -25750,7 +25931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *172 + - *174 responses: '202': *39 '404': *6 @@ -25775,15 +25956,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *185 + schema: *187 examples: - default: *186 + default: *188 headers: Link: *40 x-github: @@ -25806,7 +25987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -25824,7 +26005,7 @@ paths: type: integer repository_cache_usages: type: array - items: &400 + items: &402 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -25879,7 +26060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -25899,7 +26080,7 @@ paths: type: array items: *42 examples: - default: *187 + default: *189 headers: Link: *40 x-github: @@ -25919,7 +26100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -26006,7 +26187,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26042,7 +26223,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26077,15 +26258,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *188 + schema: *190 examples: - default: *189 + default: *191 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26103,7 +26284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26121,7 +26302,7 @@ paths: type: array items: *45 examples: - default: *190 + default: *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26139,7 +26320,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26183,7 +26364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *47 responses: '200': @@ -26212,7 +26393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *47 requestBody: required: true @@ -26269,7 +26450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *47 responses: '202': @@ -26298,13 +26479,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *172 + - *174 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &191 + schema: &193 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -26318,7 +26499,7 @@ paths: required: - include_claim_keys examples: - default: &192 + default: &194 value: include_claim_keys: - repo @@ -26340,20 +26521,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 responses: '201': description: Empty response content: application/json: - schema: &211 + schema: &213 title: Empty Object description: An object without any properties. type: object @@ -26383,7 +26564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26392,7 +26573,7 @@ paths: schema: type: object properties: - enabled_repositories: &194 + enabled_repositories: &196 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -26406,7 +26587,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *193 + selected_actions_url: *195 required: - enabled_repositories examples: @@ -26435,7 +26616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *172 + - *174 responses: '204': description: Response @@ -26446,7 +26627,7 @@ paths: schema: type: object properties: - enabled_repositories: *194 + enabled_repositories: *196 allowed_actions: *49 required: - enabled_repositories @@ -26474,7 +26655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -26494,7 +26675,7 @@ paths: type: array items: *64 examples: - default: &757 + default: &759 value: total_count: 1 repositories: @@ -26634,7 +26815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *172 + - *174 responses: '204': description: Response @@ -26678,8 +26859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *172 - - &195 + - *174 + - &197 name: repository_id description: The unique identifier of the repository. in: path @@ -26707,8 +26888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *172 - - *195 + - *174 + - *197 responses: '204': description: Response @@ -26731,7 +26912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -26762,7 +26943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *172 + - *174 responses: '204': description: Response @@ -26794,13 +26975,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *196 + schema: *198 examples: default: *55 x-github: @@ -26823,7 +27004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *172 + - *174 responses: '204': description: Success response @@ -26834,7 +27015,7 @@ paths: required: false content: application/json: - schema: *197 + schema: *199 examples: default: *55 x-github: @@ -26856,7 +27037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *172 + - *174 - *17 - *19 - name: visible_to_repository @@ -26881,7 +27062,7 @@ paths: type: number runner_groups: type: array - items: &198 + items: &200 type: object properties: id: @@ -26997,7 +27178,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -27069,9 +27250,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: &199 + default: &201 value: id: 2 name: octo-runner-group @@ -27106,14 +27287,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *172 + - *174 - *58 responses: '200': description: Response content: application/json: - schema: *198 + schema: *200 examples: default: value: @@ -27149,7 +27330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *172 + - *174 - *58 requestBody: required: true @@ -27204,9 +27385,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *200 examples: - default: *199 + default: *201 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -27225,7 +27406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *172 + - *174 - *58 responses: '204': @@ -27249,7 +27430,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - - *172 + - *174 - *58 - *17 - *19 @@ -27270,7 +27451,7 @@ paths: type: array items: *42 examples: - default: *187 + default: *189 headers: Link: *40 x-github: @@ -27292,7 +27473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *172 + - *174 - *58 - *19 - *17 @@ -27311,9 +27492,9 @@ paths: type: number repositories: type: array - items: *200 + items: *202 examples: - default: &748 + default: &750 value: total_count: 1 repositories: @@ -27565,7 +27746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *172 + - *174 - *58 requestBody: required: true @@ -27610,9 +27791,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *172 + - *174 - *58 - - *195 + - *197 responses: '204': description: Response @@ -27634,9 +27815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *172 + - *174 - *58 - - *195 + - *197 responses: '204': description: Response @@ -27659,7 +27840,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *172 + - *174 - *58 - *17 - *19 @@ -27701,7 +27882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *172 + - *174 - *58 requestBody: required: true @@ -27746,7 +27927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *172 + - *174 - *58 - *61 responses: @@ -27770,7 +27951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *172 + - *174 - *58 - *61 responses: @@ -27802,7 +27983,7 @@ paths: in: query schema: type: string - - *172 + - *174 - *17 - *19 responses: @@ -27846,7 +28027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -27854,9 +28035,9 @@ paths: application/json: schema: type: array - items: *201 + items: *203 examples: - default: *202 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27878,7 +28059,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -27921,7 +28102,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *203 + '201': *205 '404': *6 '422': *7 '409': *96 @@ -27952,7 +28133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *172 + - *174 responses: '201': description: Response @@ -27960,7 +28141,7 @@ paths: application/json: schema: *65 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27988,7 +28169,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *172 + - *174 responses: '201': description: Response @@ -27996,7 +28177,7 @@ paths: application/json: schema: *65 examples: - default: *205 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28018,7 +28199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 responses: '200': @@ -28027,7 +28208,7 @@ paths: application/json: schema: *62 examples: - default: *206 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28048,7 +28229,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *172 + - *174 - *61 responses: '204': @@ -28075,7 +28256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 responses: '200': *67 @@ -28100,7 +28281,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 requestBody: required: true @@ -28149,7 +28330,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 requestBody: required: true @@ -28199,10 +28380,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 responses: - '200': *207 + '200': *209 '404': *6 x-github: githubCloudOnly: false @@ -28229,9 +28410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *172 + - *174 - *61 - - *208 + - *210 responses: '200': *67 '404': *6 @@ -28258,7 +28439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *172 + - *174 - *17 - *19 responses: @@ -28276,7 +28457,7 @@ paths: type: integer secrets: type: array - items: &209 + items: &211 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -28349,13 +28530,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: &420 + schema: &422 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -28384,7 +28565,7 @@ paths: - key_id - key examples: - default: &421 + default: &423 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28409,8 +28590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *172 - - &210 + - *174 + - &212 name: secret_name description: The name of the secret. in: path @@ -28422,7 +28603,7 @@ paths: description: Response content: application/json: - schema: *209 + schema: *211 examples: default: value: @@ -28452,8 +28633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -28510,7 +28691,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -28536,8 +28717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 responses: '204': description: Response @@ -28563,8 +28744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - *19 - *17 responses: @@ -28582,9 +28763,9 @@ paths: type: integer repositories: type: array - items: *200 + items: *202 examples: - default: &214 + default: &216 value: total_count: 1 repositories: @@ -28676,8 +28857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -28729,8 +28910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -28763,8 +28944,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -28796,8 +28977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *172 - - &405 + - *174 + - &407 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -28821,7 +29002,7 @@ paths: type: integer variables: type: array - items: &212 + items: &214 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -28906,7 +29087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *172 + - *174 requestBody: required: true content: @@ -28954,7 +29135,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -28979,8 +29160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *172 - - &213 + - *174 + - &215 name: name description: The name of the variable. in: path @@ -28992,7 +29173,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: default: value: @@ -29022,8 +29203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 requestBody: required: true content: @@ -29085,8 +29266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 responses: '204': description: Response @@ -29112,8 +29293,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 - *19 - *17 responses: @@ -29131,9 +29312,9 @@ paths: type: integer repositories: type: array - items: *200 + items: *202 examples: - default: *214 + default: *216 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29159,8 +29340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 requestBody: required: true content: @@ -29209,8 +29390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 - name: repository_id in: path required: true @@ -29244,8 +29425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *172 - - *213 + - *174 + - *215 - name: repository_id in: path required: true @@ -29276,7 +29457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -29303,11 +29484,11 @@ paths: required: true content: application/json: - schema: *215 + schema: *217 examples: default: *71 parameters: - - *172 + - *174 responses: '200': description: Response @@ -29331,7 +29512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *172 + - *174 responses: '204': description: Response @@ -29359,7 +29540,7 @@ paths: - *17 - *86 - *87 - - *172 + - *174 requestBody: required: true content: @@ -29382,12 +29563,12 @@ paths: required: - subject_digests examples: - default: &778 + default: &780 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &779 + withPredicateType: &781 value: subject_digests: - sha256:abc123 @@ -29445,7 +29626,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &780 + default: &782 value: attestations_subject_digests: - sha256:abc: @@ -29554,7 +29735,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *172 + - *174 requestBody: required: true content: @@ -29619,7 +29800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *172 + - *174 - name: subject_digest description: Subject Digest in: path @@ -29650,7 +29831,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *172 + - *174 - name: attestation_id description: Attestation ID in: path @@ -29688,7 +29869,7 @@ paths: - *17 - *86 - *87 - - *172 + - *174 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -29739,7 +29920,7 @@ paths: bundle_url: type: string examples: - default: &434 + default: &436 value: attestations: - bundle: @@ -29857,7 +30038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *172 + - *174 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -29865,10 +30046,10 @@ paths: required: false schema: type: string - - *216 - - *217 - *218 - *219 + - *220 + - *221 - *17 responses: '200': @@ -29877,9 +30058,9 @@ paths: application/json: schema: type: array - items: *220 + items: *222 examples: - default: *221 + default: *223 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -29896,7 +30077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -29908,7 +30089,7 @@ paths: type: array items: *4 examples: - default: &296 + default: &298 value: - login: octocat id: 1 @@ -29946,8 +30127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: If the user is blocked @@ -29972,8 +30153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -29993,8 +30174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -30020,17 +30201,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *172 - - &229 + - *174 + - &231 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *223 - - *224 - *225 - *226 + - *227 + - *228 - *17 - *19 responses: @@ -30040,9 +30221,9 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: - default: *228 + default: *230 '404': *6 '500': *85 "/orgs/{org}/bypass-requests/secret-scanning": @@ -30065,12 +30246,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *172 - - *229 - - *223 - - *224 + - *174 + - *231 - *225 - *226 + - *227 + - *228 - *17 - *19 responses: @@ -30080,7 +30261,7 @@ paths: application/json: schema: type: array - items: &451 + items: &453 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -30194,7 +30375,7 @@ paths: type: array description: The responses to the bypass request. nullable: true - items: *230 + items: *232 url: type: string format: uri @@ -30205,7 +30386,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &452 + default: &454 value: - id: 21 number: 42 @@ -30289,7 +30470,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *172 + - *174 - *19 - *17 - *88 @@ -30297,7 +30478,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &232 + schema: &234 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -30323,7 +30504,7 @@ paths: application/json: schema: type: array - items: &233 + items: &235 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -30354,7 +30535,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *231 + items: *233 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -30372,7 +30553,7 @@ paths: type: string format: date-time nullable: true - state: *232 + state: *234 contact_link: description: The contact link of the campaign. type: string @@ -30493,7 +30674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -30587,9 +30768,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: &234 + default: &236 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -30660,7 +30841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *172 + - *174 - name: campaign_number description: The campaign number. in: path @@ -30672,9 +30853,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 '404': *6 '422': description: Unprocessable Entity @@ -30702,7 +30883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *172 + - *174 - name: campaign_number description: The campaign number. in: path @@ -30751,7 +30932,7 @@ paths: type: string format: uri nullable: true - state: *232 + state: *234 examples: default: value: @@ -30761,9 +30942,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 '400': description: Bad Request content: @@ -30796,7 +30977,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *172 + - *174 - name: campaign_number description: The campaign number. in: path @@ -30829,9 +31010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *172 - - *235 - - *236 + - *174 + - *237 + - *238 - *86 - *87 - *19 @@ -30842,7 +31023,7 @@ paths: be returned. in: query required: false - schema: *237 + schema: *239 - name: sort description: The property by which to sort the results. in: query @@ -30858,7 +31039,7 @@ paths: be returned. in: query required: false - schema: &463 + schema: &465 type: string description: Severity of a code scanning alert. enum: @@ -30876,9 +31057,9 @@ paths: application/json: schema: type: array - items: *238 + items: *240 examples: - default: *239 + default: *241 headers: Link: *40 '404': *6 @@ -30904,7 +31085,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *172 + - *174 - name: target_type in: query description: The target type of the code security configuration @@ -31015,7 +31196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *172 + - *174 requestBody: required: true content: @@ -31219,7 +31400,7 @@ paths: application/json: schema: *92 examples: - default: *240 + default: *242 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31241,15 +31422,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: *242 + default: *244 '304': *37 '403': *29 '404': *6 @@ -31275,7 +31456,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *172 + - *174 requestBody: required: true content: @@ -31324,7 +31505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *172 + - *174 - *94 responses: '200': @@ -31333,7 +31514,7 @@ paths: application/json: schema: *92 examples: - default: *240 + default: *242 '304': *37 '403': *29 '404': *6 @@ -31357,7 +31538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *172 + - *174 - *94 requestBody: required: true @@ -31596,7 +31777,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *172 + - *174 - *94 responses: '204': *120 @@ -31627,7 +31808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *172 + - *174 - *94 requestBody: required: true @@ -31691,7 +31872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *172 + - *174 - *94 requestBody: required: true @@ -31737,7 +31918,7 @@ paths: default: value: default_for_new_repos: all - configuration: *240 + configuration: *242 '403': *29 '404': *6 x-github: @@ -31761,7 +31942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *172 + - *174 - *94 - name: per_page description: The number of results per page (max 100). For more information, @@ -31790,13 +31971,13 @@ paths: application/json: schema: type: array - items: *243 + items: *245 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *244 + repository: *246 '403': *29 '404': *6 x-github: @@ -31820,7 +32001,7 @@ paths: parameters: - *17 - *19 - - *172 + - *174 responses: '200': description: Response @@ -31836,7 +32017,7 @@ paths: type: integer codespaces: type: array - items: &297 + items: &299 type: object title: Codespace description: A codespace. @@ -31861,12 +32042,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *200 + repository: *202 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &492 + properties: &494 name: type: string description: The name of the machine. @@ -31908,7 +32089,7 @@ paths: - ready - in_progress nullable: true - required: &493 + required: &495 - name - display_name - operating_system @@ -32113,7 +32294,7 @@ paths: - pulls_url - recent_folders examples: - default: &298 + default: &300 value: total_count: 3 codespaces: @@ -32545,7 +32726,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *172 + - *174 deprecated: true requestBody: required: true @@ -32612,7 +32793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *172 + - *174 deprecated: true requestBody: required: true @@ -32667,7 +32848,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *172 + - *174 requestBody: required: true content: @@ -32719,7 +32900,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *172 + - *174 - *17 - *19 responses: @@ -32737,7 +32918,7 @@ paths: type: integer secrets: type: array - items: &245 + items: &247 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -32776,7 +32957,7 @@ paths: - updated_at - visibility examples: - default: &494 + default: &496 value: total_count: 2 secrets: @@ -32808,13 +32989,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: &495 + schema: &497 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -32843,7 +33024,7 @@ paths: - key_id - key examples: - default: &496 + default: &498 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32866,16 +33047,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 responses: '200': description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: &498 + default: &500 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -32902,8 +33083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -32958,7 +33139,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -32984,8 +33165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 responses: '204': description: Response @@ -33010,8 +33191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - *19 - *17 responses: @@ -33029,9 +33210,9 @@ paths: type: integer repositories: type: array - items: *200 + items: *202 examples: - default: *214 + default: *216 '404': *6 x-github: githubCloudOnly: false @@ -33053,8 +33234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -33104,8 +33285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -33138,8 +33319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -33178,7 +33359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *172 + - *174 responses: '200': description: OK @@ -33319,7 +33500,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *172 + - *174 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -33380,7 +33561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *172 + - *174 requestBody: content: application/json: @@ -33458,7 +33639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *172 + - *174 requestBody: content: application/json: @@ -33538,7 +33719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *172 + - *174 requestBody: content: application/json: @@ -33615,7 +33796,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *172 + - *174 requestBody: content: application/json: @@ -33696,7 +33877,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *172 + - *174 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -33728,13 +33909,13 @@ paths: application/json: schema: type: array - items: *136 + items: *138 examples: - default: *137 + default: *139 '500': *85 '403': *29 '404': *6 - '422': *138 + '422': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33756,7 +33937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *172 + - *174 - *17 - name: page description: Page token @@ -33900,7 +34081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *172 + - *174 - name: credential_id in: path required: true @@ -33931,7 +34112,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *172 + - *174 responses: '200': description: Response - list of custom role names @@ -33946,7 +34127,7 @@ paths: type: integer custom_roles: type: array - items: *246 + items: *248 examples: default: value: @@ -34033,12 +34214,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *172 + - *174 requestBody: required: true content: application/json: - schema: &249 + schema: &251 type: object properties: name: @@ -34079,9 +34260,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '422': *15 '404': *6 x-github: @@ -34105,8 +34286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *172 - - &248 + - *174 + - &250 name: role_id description: The unique identifier of the role. in: path @@ -34118,9 +34299,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '404': *6 x-github: githubCloudOnly: true @@ -34142,13 +34323,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *172 - - *248 + - *174 + - *250 requestBody: required: true content: application/json: - schema: &250 + schema: &252 type: object properties: name: @@ -34186,9 +34367,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '422': *15 '404': *6 x-github: @@ -34212,8 +34393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *172 - - *248 + - *174 + - *250 responses: '204': description: Response @@ -34241,12 +34422,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *172 + - *174 requestBody: required: true content: application/json: - schema: *249 + schema: *251 examples: default: value: @@ -34260,9 +34441,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '422': *15 '404': *6 x-github: @@ -34292,16 +34473,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *172 - - *248 + - *174 + - *250 responses: '200': description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '404': *6 x-github: githubCloudOnly: true @@ -34329,13 +34510,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *172 - - *248 + - *174 + - *250 requestBody: required: true content: application/json: - schema: *250 + schema: *252 examples: default: value: @@ -34350,9 +34531,9 @@ paths: description: Response content: application/json: - schema: *246 + schema: *248 examples: - default: *247 + default: *249 '422': *15 '404': *6 x-github: @@ -34382,8 +34563,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *172 - - *248 + - *174 + - *250 responses: '204': description: Response @@ -34411,20 +34592,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *172 - - *251 - - *252 + - *174 - *253 - *254 - *255 - *256 - *257 - *258 + - *259 + - *260 - *88 - *86 - *87 - - *259 - - *260 + - *261 + - *262 - *17 responses: '200': @@ -34433,9 +34614,9 @@ paths: application/json: schema: type: array - items: *261 + items: *263 examples: - default: *262 + default: *264 '304': *37 '400': *14 '403': *29 @@ -34461,7 +34642,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *172 + - *174 - *17 - *19 responses: @@ -34479,7 +34660,7 @@ paths: type: integer secrets: type: array - items: &263 + items: &265 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -34550,13 +34731,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: &525 + schema: &527 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -34573,7 +34754,7 @@ paths: - key_id - key examples: - default: &526 + default: &528 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -34596,14 +34777,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 responses: '200': description: Response content: application/json: - schema: *263 + schema: *265 examples: default: value: @@ -34631,8 +34812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -34687,7 +34868,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -34711,8 +34892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 responses: '204': description: Response @@ -34736,8 +34917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - *19 - *17 responses: @@ -34755,9 +34936,9 @@ paths: type: integer repositories: type: array - items: *200 + items: *202 examples: - default: *214 + default: *216 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34778,8 +34959,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -34829,8 +35010,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -34861,8 +35042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *172 - - *210 + - *174 + - *212 - name: repository_id in: path required: true @@ -34898,8 +35079,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *172 - - &534 + - *174 + - &536 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -34907,7 +35088,7 @@ paths: required: false schema: type: string - - &535 + - &537 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -34915,7 +35096,7 @@ paths: required: false schema: type: string - - &536 + - &538 name: time_period description: |- The time period to filter by. @@ -34931,7 +35112,7 @@ paths: - week - month default: month - - &537 + - &539 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -34946,7 +35127,7 @@ paths: - denied - all default: all - - *229 + - *231 - *17 - *19 responses: @@ -34956,7 +35137,7 @@ paths: application/json: schema: type: array - items: &538 + items: &540 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -35112,7 +35293,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &539 + default: &541 value: - id: 21 number: 42 @@ -35198,12 +35379,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *172 - - *229 - - *223 - - *224 + - *174 + - *231 - *225 - - &540 + - *226 + - *227 + - &542 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -35229,7 +35410,7 @@ paths: application/json: schema: type: array - items: &541 + items: &543 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -35339,7 +35520,7 @@ paths: type: array description: The responses to the dismissal request. nullable: true - items: *230 + items: *232 url: type: string format: uri @@ -35350,7 +35531,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &542 + default: &544 value: - id: 21 number: 42 @@ -35430,7 +35611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -35438,7 +35619,7 @@ paths: application/json: schema: type: array - items: &309 + items: &311 title: Package description: A software package type: object @@ -35488,8 +35669,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *264 - required: *265 + properties: *266 + required: *267 nullable: true created_at: type: string @@ -35508,7 +35689,7 @@ paths: - created_at - updated_at examples: - default: &310 + default: &312 value: - id: 197 name: hello_docker @@ -35586,7 +35767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *172 + - *174 - *17 - *19 responses: @@ -35596,7 +35777,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: 200-response: value: @@ -35666,7 +35847,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *172 + - *174 - name: group_id description: The unique identifier of the group. in: path @@ -35692,7 +35873,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &378 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -35773,7 +35954,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &377 + default: &379 value: group_id: '123' group_name: Octocat admins @@ -35811,7 +35992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *172 + - *174 - *17 - name: page description: Page token @@ -35828,7 +36009,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -35865,7 +36046,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &375 + default: &377 value: groups: - group_id: '123' @@ -35899,7 +36080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *172 + - *174 - *17 - *19 responses: @@ -35909,7 +36090,7 @@ paths: application/json: schema: type: array - items: &288 + items: &290 title: Organization Invitation description: Organization Invitation type: object @@ -35956,7 +36137,7 @@ paths: - invitation_teams_url - node_id examples: - default: &289 + default: &291 value: - id: 1 login: monalisa @@ -36015,7 +36196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -36023,7 +36204,7 @@ paths: application/json: schema: type: array - items: &331 + items: &333 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -36037,7 +36218,7 @@ paths: - name - description examples: - default: &332 + default: &334 value: - name: add_assignee description: Assign or remove a user @@ -36068,7 +36249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *172 + - *174 - *17 - *19 responses: @@ -36078,7 +36259,7 @@ paths: application/json: schema: type: array - items: &266 + items: &268 title: Org Hook description: Org Hook type: object @@ -36187,7 +36368,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *172 + - *174 requestBody: required: true content: @@ -36247,9 +36428,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: &267 + default: &269 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -36293,8 +36474,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *172 - - &268 + - *174 + - &270 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -36307,9 +36488,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: - default: *267 + default: *269 '404': *6 x-github: githubCloudOnly: false @@ -36330,8 +36511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 requestBody: required: false content: @@ -36376,7 +36557,7 @@ paths: description: Response content: application/json: - schema: *266 + schema: *268 examples: default: value: @@ -36415,8 +36596,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 responses: '204': description: Response @@ -36441,8 +36622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *172 - - *268 + - *174 + - *270 responses: '200': description: Response @@ -36470,8 +36651,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *172 - - *268 + - *174 + - *270 requestBody: required: false content: @@ -36519,10 +36700,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 - *17 - - *269 + - *271 responses: '200': description: Response @@ -36530,9 +36711,9 @@ paths: application/json: schema: type: array - items: *270 + items: *272 examples: - default: *271 + default: *273 '400': *14 '422': *15 x-github: @@ -36555,17 +36736,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 - *16 responses: '200': description: Response content: application/json: - schema: *272 + schema: *274 examples: - default: *273 + default: *275 '400': *14 '422': *15 x-github: @@ -36588,8 +36769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 - *16 responses: '202': *39 @@ -36615,8 +36796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *172 - - *268 + - *174 + - *270 responses: '204': description: Response @@ -36638,8 +36819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *172 - - &278 + - *174 + - &280 name: actor_type in: path description: The type of the actor @@ -36652,14 +36833,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &279 + - &281 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &274 + - &276 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -36667,7 +36848,7 @@ paths: required: true schema: type: string - - &275 + - &277 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -36760,13 +36941,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *172 - - *274 - - *275 + - *174 + - *276 + - *277 - *19 - *17 - *88 - - &284 + - &286 name: sort description: The property to sort the results by. in: query @@ -36844,15 +37025,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *172 - - *274 - - *275 + - *174 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: &276 + schema: &278 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -36868,7 +37049,7 @@ paths: type: integer format: int64 examples: - default: &277 + default: &279 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -36888,24 +37069,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *172 - - &280 + - *174 + - &282 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *274 - - *275 + - *276 + - *277 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: enabledForGitHubApps: true category: orgs @@ -36923,19 +37104,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *172 - - *274 - - *275 - - *278 - - *279 + - *174 + - *276 + - *277 + - *280 + - *281 responses: '200': description: Response content: application/json: - schema: *276 + schema: *278 examples: - default: *277 + default: *279 x-github: enabledForGitHubApps: true category: orgs @@ -36952,10 +37133,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *172 - - *274 - - *275 - - &281 + - *174 + - *276 + - *277 + - &283 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -36968,7 +37149,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &284 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -36984,7 +37165,7 @@ paths: type: integer format: int64 examples: - default: &283 + default: &285 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -37020,19 +37201,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *172 - - *280 - - *274 - - *275 - - *281 + - *174 + - *282 + - *276 + - *277 + - *283 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: *283 + default: *285 x-github: enabledForGitHubApps: true category: orgs @@ -37049,20 +37230,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *172 - - *278 - - *279 - - *274 - - *275 + - *174 + - *280 - *281 + - *276 + - *277 + - *283 responses: '200': description: Response content: application/json: - schema: *282 + schema: *284 examples: - default: *283 + default: *285 x-github: enabledForGitHubApps: true category: orgs @@ -37079,14 +37260,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *172 - - *280 - - *274 - - *275 + - *174 + - *282 + - *276 + - *277 - *19 - *17 - *88 - - *284 + - *286 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -37159,7 +37340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *172 + - *174 responses: '200': description: Response @@ -37167,7 +37348,7 @@ paths: application/json: schema: *22 examples: - default: &573 + default: &575 value: id: 1 account: @@ -37236,7 +37417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -37325,7 +37506,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -37333,12 +37514,12 @@ paths: application/json: schema: anyOf: - - &286 + - &288 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &285 + limit: &287 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -37363,7 +37544,7 @@ paths: properties: {} additionalProperties: false examples: - default: &287 + default: &289 value: limit: collaborators_only origin: organization @@ -37387,18 +37568,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: application/json: - schema: &574 + schema: &576 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *285 + limit: *287 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -37422,9 +37603,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *287 + default: *289 '422': *15 x-github: githubCloudOnly: false @@ -37442,7 +37623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *172 + - *174 responses: '204': description: Response @@ -37468,7 +37649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *172 + - *174 - *17 - *19 - name: role @@ -37502,9 +37683,9 @@ paths: application/json: schema: type: array - items: *288 + items: *290 examples: - default: *289 + default: *291 headers: Link: *40 '404': *6 @@ -37528,7 +37709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *172 + - *174 requestBody: required: false content: @@ -37582,7 +37763,7 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: default: value: @@ -37638,8 +37819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *172 - - &290 + - *174 + - &292 name: invitation_id description: The unique identifier of the invitation. in: path @@ -37672,8 +37853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *172 - - *290 + - *174 + - *292 - *17 - *19 responses: @@ -37683,9 +37864,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: &308 + default: &310 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -37720,7 +37901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -37728,7 +37909,7 @@ paths: application/json: schema: type: array - items: *291 + items: *293 examples: default: value: @@ -37766,7 +37947,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -37813,9 +37994,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: &292 + default: &294 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -37847,8 +38028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - - *172 - - &293 + - *174 + - &295 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -37901,9 +38082,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: - default: *292 + default: *294 '404': *6 '422': *7 x-github: @@ -37927,8 +38108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - - *172 - - *293 + - *174 + - *295 responses: '204': description: Response @@ -37961,7 +38142,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *172 + - *174 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -37991,7 +38172,7 @@ paths: - closed - all default: open - - *294 + - *296 - name: type description: Can be the name of an issue type. in: query @@ -38010,7 +38191,7 @@ paths: - comments default: created - *88 - - *145 + - *147 - *17 - *19 responses: @@ -38020,9 +38201,9 @@ paths: application/json: schema: type: array - items: *155 + items: *157 examples: - default: *295 + default: *297 headers: Link: *40 '404': *6 @@ -38044,7 +38225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *172 + - *174 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -38082,7 +38263,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '422': *15 @@ -38102,8 +38283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response if requester is an organization member and user is @@ -38134,8 +38315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -38161,8 +38342,8 @@ paths: parameters: - *17 - *19 - - *172 - - *222 + - *174 + - *224 responses: '200': description: Response @@ -38178,9 +38359,9 @@ paths: type: integer codespaces: type: array - items: *297 + items: *299 examples: - default: *298 + default: *300 '304': *37 '500': *85 '401': *25 @@ -38205,9 +38386,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *172 - - *222 - - &299 + - *174 + - *224 + - &301 name: codespace_name in: path required: true @@ -38240,17 +38421,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *172 - - *222 - - *299 + - *174 + - *224 + - *301 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: &491 + default: &493 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -38423,8 +38604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -38498,14 +38679,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '200': description: Response content: application/json: - schema: &300 + schema: &302 title: Org Membership description: Org Membership type: object @@ -38557,7 +38738,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &301 + response-if-user-has-an-active-admin-membership-with-organization: &303 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -38625,8 +38806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 requestBody: required: false content: @@ -38654,9 +38835,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: - response-if-user-already-had-membership-with-organization: *301 + response-if-user-already-had-membership-with-organization: *303 '422': *15 '403': *29 x-github: @@ -38677,8 +38858,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -38703,7 +38884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *172 + - *174 - *17 - *19 - name: exclude @@ -38724,7 +38905,7 @@ paths: application/json: schema: type: array - items: &302 + items: &304 title: Migration description: A migration. type: object @@ -38977,7 +39158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *172 + - *174 requestBody: required: true content: @@ -39053,7 +39234,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -39231,8 +39412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *172 - - &303 + - *174 + - &305 name: migration_id description: The unique identifier of the migration. in: path @@ -39259,7 +39440,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -39428,8 +39609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *172 - - *303 + - *174 + - *305 responses: '302': description: Response @@ -39450,8 +39631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *172 - - *303 + - *174 + - *305 responses: '204': description: Response @@ -39474,9 +39655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *172 - - *303 - - &762 + - *174 + - *305 + - &764 name: repo_name description: repo_name parameter in: path @@ -39503,8 +39684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *172 - - *303 + - *174 + - *305 - *17 - *19 responses: @@ -39514,9 +39695,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: &315 + default: &317 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39655,7 +39836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -39709,7 +39890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response - list of organization roles @@ -39725,7 +39906,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &304 + items: &306 title: Organization Role description: Organization roles type: object @@ -39885,7 +40066,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *172 + - *174 requestBody: required: true content: @@ -39932,7 +40113,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -39983,8 +40164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *172 - - &305 + - *174 + - &307 name: team_slug description: The slug of the team name. in: path @@ -40015,9 +40196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *172 - - *305 - - *248 + - *174 + - *307 + - *250 responses: '204': description: Response @@ -40046,9 +40227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *172 - - *305 - - *248 + - *174 + - *307 + - *250 responses: '204': description: Response @@ -40073,8 +40254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -40099,9 +40280,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *172 - - *222 - - *248 + - *174 + - *224 + - *250 responses: '204': description: Response @@ -40131,9 +40312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *172 - - *222 - - *248 + - *174 + - *224 + - *250 responses: '204': description: Response @@ -40161,14 +40342,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *172 - - *248 + - *174 + - *250 responses: '200': description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -40225,8 +40406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *172 - - *248 + - *174 + - *250 requestBody: required: true content: @@ -40265,7 +40446,7 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: default: value: @@ -40318,8 +40499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *172 - - *248 + - *174 + - *250 responses: '204': description: Response @@ -40344,8 +40525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *172 - - *248 + - *174 + - *250 - *17 - *19 responses: @@ -40423,8 +40604,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *306 - required: *307 + properties: *308 + required: *309 nullable: true required: - id @@ -40439,7 +40620,7 @@ paths: - slug - parent examples: - default: *308 + default: *310 headers: Link: *40 '404': @@ -40468,8 +40649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *172 - - *248 + - *174 + - *250 - *17 - *19 responses: @@ -40497,13 +40678,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &348 + items: &350 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *306 - required: *307 + properties: *308 + required: *309 name: nullable: true type: string @@ -40598,7 +40779,7 @@ paths: - type - url examples: - default: *296 + default: *298 headers: Link: *40 '404': @@ -40622,7 +40803,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *172 + - *174 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -40649,7 +40830,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -40674,8 +40855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *172 - - *222 + - *174 + - *224 requestBody: required: false content: @@ -40732,8 +40913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -40790,8 +40971,8 @@ paths: - docker - nuget - container - - *172 - - &764 + - *174 + - &766 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -40827,12 +41008,12 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *310 + default: *312 '403': *29 '401': *25 - '400': &766 + '400': &768 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -40854,7 +41035,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &311 + - &313 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -40872,20 +41053,20 @@ paths: - docker - nuget - container - - &312 + - &314 name: package_name description: The name of the package. in: path required: true schema: type: string - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: default: value: @@ -40937,9 +41118,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *311 - - *312 - - *172 + - *313 + - *314 + - *174 responses: '204': description: Response @@ -40971,9 +41152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *311 - - *312 - - *172 + - *313 + - *314 + - *174 - name: token description: package token schema: @@ -41005,9 +41186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *311 - - *312 - - *172 + - *313 + - *314 + - *174 - *19 - *17 - name: state @@ -41027,7 +41208,7 @@ paths: application/json: schema: type: array - items: &313 + items: &315 title: Package Version description: A version of a software package type: object @@ -41152,10 +41333,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *311 - - *312 - - *172 - - &314 + - *313 + - *314 + - *174 + - &316 name: package_version_id description: Unique identifier of the package version. in: path @@ -41167,7 +41348,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -41203,10 +41384,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *311 - - *312 - - *172 + - *313 - *314 + - *174 + - *316 responses: '204': description: Response @@ -41238,10 +41419,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *311 - - *312 - - *172 + - *313 - *314 + - *174 + - *316 responses: '204': description: Response @@ -41268,10 +41449,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *172 + - *174 - *17 - *19 - - &316 + - &318 name: sort description: The property by which to sort the results. in: query @@ -41282,7 +41463,7 @@ paths: - created_at default: created_at - *88 - - &317 + - &319 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -41293,7 +41474,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &318 + - &320 name: repository description: The name of the repository to use to filter the results. in: query @@ -41301,7 +41482,7 @@ paths: schema: type: string example: Hello-World - - &319 + - &321 name: permission description: The permission to use to filter the results. in: query @@ -41309,7 +41490,7 @@ paths: schema: type: string example: issues_read - - &320 + - &322 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -41319,7 +41500,7 @@ paths: schema: type: string format: date-time - - &321 + - &323 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -41329,7 +41510,7 @@ paths: schema: type: string format: date-time - - &322 + - &324 name: token_id description: The ID of the token in: query @@ -41493,7 +41674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *172 + - *174 requestBody: required: true content: @@ -41559,7 +41740,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *172 + - *174 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -41620,7 +41801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *172 + - *174 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -41640,9 +41821,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -41665,17 +41846,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *172 + - *174 - *17 - *19 - - *316 - - *88 - - *317 - *318 + - *88 - *319 - *320 - *321 - *322 + - *323 + - *324 responses: '500': *85 '422': *15 @@ -41824,7 +42005,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *172 + - *174 requestBody: required: true content: @@ -41884,7 +42065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *172 + - *174 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -41936,7 +42117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *172 + - *174 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -41955,9 +42136,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -41981,7 +42162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -41999,7 +42180,7 @@ paths: type: integer configurations: type: array - items: &323 + items: &325 title: Organization private registry description: Private registry configuration for an organization type: object @@ -42075,7 +42256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -42216,7 +42397,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &324 + org-private-registry-with-selected-visibility: &326 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -42257,7 +42438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -42305,16 +42486,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - - *172 - - *210 + - *174 + - *212 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *323 + schema: *325 examples: - default: *324 + default: *326 '404': *6 x-github: githubCloudOnly: false @@ -42335,8 +42516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - - *172 - - *210 + - *174 + - *212 requestBody: required: true content: @@ -42419,8 +42600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - - *172 - - *210 + - *174 + - *212 responses: '204': description: Response @@ -42445,7 +42626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *172 + - *174 - name: state description: Indicates the state of the projects to return. in: query @@ -42466,7 +42647,7 @@ paths: application/json: schema: type: array - items: &325 + items: &327 title: Project description: Projects are a way to organize columns and cards of work. @@ -42613,7 +42794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *172 + - *174 requestBody: required: true content: @@ -42639,7 +42820,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: default: value: @@ -42677,7 +42858,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &392 + '410': &394 description: Gone content: application/json: @@ -42704,7 +42885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -42741,7 +42922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -42805,7 +42986,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *172 + - *174 - *118 responses: '200': @@ -42837,13 +43018,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *172 + - *174 - *118 requestBody: required: true content: application/json: - schema: *326 + schema: *328 examples: default: value: @@ -42884,7 +43065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *172 + - *174 - *118 responses: '204': *120 @@ -42908,7 +43089,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *172 + - *174 - *17 - *19 - name: repository_query @@ -42946,7 +43127,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &327 + items: &329 title: Custom Property Value description: Custom property name and associated value type: object @@ -43013,7 +43194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *172 + - *174 requestBody: required: true content: @@ -43033,7 +43214,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *327 + items: *329 required: - repository_names - properties @@ -43074,7 +43255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *172 + - *174 - *17 - *19 responses: @@ -43086,7 +43267,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -43105,8 +43286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response if user is a public member @@ -43130,8 +43311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -43152,8 +43333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *172 - - *222 + - *174 + - *224 responses: '204': description: Response @@ -43177,7 +43358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *172 + - *174 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -43224,9 +43405,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -43247,7 +43428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *172 + - *174 requestBody: required: true content: @@ -43429,7 +43610,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &396 title: Full Repository description: Full Repository type: object @@ -43706,8 +43887,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *328 - required: *329 + properties: *330 + required: *331 nullable: true temp_clone_token: type: string @@ -43794,8 +43975,8 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true organization: title: Simple User @@ -43822,7 +44003,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &513 + properties: &515 url: type: string format: uri @@ -43838,12 +44019,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &514 + required: &516 - url - key - name - html_url - security_and_analysis: *330 + security_and_analysis: *332 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -43927,7 +44108,7 @@ paths: - network_count - subscribers_count examples: - default: &396 + default: &398 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44445,7 +44626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response @@ -44453,9 +44634,9 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -44477,10 +44658,10 @@ paths: category: orgs subcategory: rules parameters: - - *172 + - *174 - *17 - *19 - - &662 + - &664 name: targets description: | A comma-separated list of rule targets to filter by. @@ -44545,7 +44726,7 @@ paths: category: orgs subcategory: rules parameters: - - *172 + - *174 requestBody: description: Request body required: true @@ -44571,7 +44752,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *128 - conditions: *333 + conditions: *335 rules: type: array description: An array of rules within the ruleset. @@ -44615,7 +44796,7 @@ paths: application/json: schema: *130 examples: - default: &334 + default: &336 value: id: 21 name: super cool ruleset @@ -44669,8 +44850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *172 - - &663 + - *174 + - &665 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -44680,16 +44861,16 @@ paths: schema: type: string x-multi-segment: true - - *229 - - *225 - - &664 + - *231 + - *227 + - &666 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &665 + - &667 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -44709,7 +44890,7 @@ paths: description: Response content: application/json: - schema: &666 + schema: &668 title: Rule Suites description: Response type: array @@ -44764,7 +44945,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &667 + default: &669 value: - id: 21 actor_id: 12 @@ -44807,8 +44988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *172 - - &668 + - *174 + - &670 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -44824,7 +45005,7 @@ paths: description: Response content: application/json: - schema: &669 + schema: &671 title: Rule Suite description: Response type: object @@ -44923,7 +45104,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &670 + default: &672 value: id: 21 actor_id: 12 @@ -44984,7 +45165,7 @@ paths: category: orgs subcategory: rules parameters: - - *172 + - *174 - name: ruleset_id description: The ID of the ruleset. in: path @@ -44998,7 +45179,7 @@ paths: application/json: schema: *130 examples: - default: *334 + default: *336 '404': *6 '500': *85 put: @@ -45016,7 +45197,7 @@ paths: category: orgs subcategory: rules parameters: - - *172 + - *174 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45047,7 +45228,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *128 - conditions: *333 + conditions: *335 rules: description: An array of rules within the ruleset. type: array @@ -45088,7 +45269,7 @@ paths: application/json: schema: *130 examples: - default: *334 + default: *336 '404': *6 '500': *85 delete: @@ -45106,7 +45287,7 @@ paths: category: orgs subcategory: rules parameters: - - *172 + - *174 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45129,7 +45310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *172 + - *174 - *17 - *19 - name: ruleset_id @@ -45147,7 +45328,7 @@ paths: type: array items: *133 examples: - default: *335 + default: *337 '404': *6 '500': *85 x-github: @@ -45166,7 +45347,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *172 + - *174 - name: ruleset_id description: The ID of the ruleset. in: path @@ -45184,7 +45365,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -45246,15 +45427,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *172 - - *337 - - *338 + - *174 - *339 - *340 + - *341 + - *342 - *88 - *19 - *17 - - &672 + - &674 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -45264,7 +45445,7 @@ paths: required: false schema: type: string - - &673 + - &675 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -45274,10 +45455,10 @@ paths: required: false schema: type: string - - *341 - - *342 - *343 - *344 + - *345 + - *346 responses: '200': description: Response @@ -45285,9 +45466,9 @@ paths: application/json: schema: type: array - items: *345 + items: *347 examples: - default: *346 + default: *348 headers: Link: *40 '404': *6 @@ -45313,7 +45494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *172 + - *174 - *88 - name: sort description: The property to sort the results by. @@ -45357,7 +45538,7 @@ paths: application/json: schema: type: array - items: &694 + items: &696 description: A repository security advisory. type: object properties: @@ -45577,7 +45758,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *349 credits_detailed: type: array nullable: true @@ -45587,7 +45768,7 @@ paths: type: object properties: user: *4 - type: *347 + type: *349 state: type: string description: The state of the user's acceptance of the @@ -45611,7 +45792,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *231 + items: *233 private_fork: readOnly: true nullable: true @@ -45648,7 +45829,7 @@ paths: - private_fork additionalProperties: false examples: - default: &695 + default: &697 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -46027,7 +46208,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *172 + - *174 responses: '200': description: Response @@ -46035,9 +46216,9 @@ paths: application/json: schema: type: array - items: *348 + items: *350 examples: - default: *308 + default: *310 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46060,8 +46241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '204': description: Response @@ -46086,8 +46267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '204': description: Response @@ -46116,15 +46297,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46148,8 +46329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *172 - - *351 + - *174 + - *353 - *17 - *19 responses: @@ -46157,9 +46338,9 @@ paths: description: Success content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -46181,15 +46362,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46211,15 +46392,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -46239,7 +46420,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization parameters: - - *172 + - *174 - *17 - *19 responses: @@ -46259,7 +46440,7 @@ paths: type: array items: *113 examples: - default: *358 + default: *360 headers: Link: *40 x-github: @@ -46280,7 +46461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization parameters: - - *172 + - *174 requestBody: required: true content: @@ -46344,7 +46525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - - *172 + - *174 - *115 responses: '200': @@ -46374,7 +46555,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - - *172 + - *174 - *115 requestBody: required: true @@ -46435,7 +46616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - - *172 + - *174 - *115 responses: '204': @@ -46459,16 +46640,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - - *172 - - *359 + - *174 + - *361 responses: '200': description: Response content: application/json: - schema: *360 + schema: *362 examples: - default: *361 + default: *363 headers: Link: *40 x-github: @@ -46487,7 +46668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *172 + - *174 - *17 - name: page description: Page token @@ -46506,7 +46687,7 @@ paths: description: Response content: application/json: - schema: &383 + schema: &385 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -46552,7 +46733,7 @@ paths: type: string nullable: true examples: - default: &384 + default: &386 value: groups: - group_id: '123' @@ -46597,8 +46778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *172 - - *305 + - *174 + - *307 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -46630,13 +46811,13 @@ paths: application/json: schema: type: array - items: *136 + items: *138 examples: - default: *137 + default: *139 '500': *85 '403': *29 '404': *6 - '422': *138 + '422': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46654,7 +46835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *172 + - *174 - *17 - *19 responses: @@ -46664,9 +46845,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 headers: Link: *40 '403': *29 @@ -46688,7 +46869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *172 + - *174 requestBody: required: true content: @@ -46760,7 +46941,7 @@ paths: description: Response content: application/json: - schema: &362 + schema: &364 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -46823,8 +47004,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *306 - required: *307 + properties: *308 + required: *309 nullable: true members_count: type: integer @@ -47070,7 +47251,7 @@ paths: - repos_count - organization examples: - default: &363 + default: &365 value: id: 1 node_id: MDQ6VGVhbTE= @@ -47140,16 +47321,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *172 - - *305 + - *174 + - *307 responses: '200': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 x-github: githubCloudOnly: false @@ -47170,8 +47351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *172 - - *305 + - *174 + - *307 requestBody: required: false content: @@ -47233,16 +47414,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '201': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 '422': *15 '403': *29 @@ -47267,8 +47448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '204': description: Response @@ -47294,8 +47475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *172 - - *305 + - *174 + - *307 - *88 - *17 - *19 @@ -47312,7 +47493,7 @@ paths: application/json: schema: type: array - items: &364 + items: &366 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -47391,7 +47572,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *143 + reactions: *145 required: - author - body @@ -47411,7 +47592,7 @@ paths: - updated_at - url examples: - default: &735 + default: &737 value: - author: login: octocat @@ -47485,8 +47666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *172 - - *305 + - *174 + - *307 requestBody: required: true content: @@ -47520,9 +47701,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &365 + default: &367 value: author: login: octocat @@ -47594,9 +47775,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *172 - - *305 - - &366 + - *174 + - *307 + - &368 name: discussion_number description: The number that identifies the discussion. in: path @@ -47608,9 +47789,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47632,9 +47813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 requestBody: required: false content: @@ -47657,9 +47838,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &736 + default: &738 value: author: login: octocat @@ -47729,9 +47910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 responses: '204': description: Response @@ -47757,9 +47938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 - *88 - *17 - *19 @@ -47770,7 +47951,7 @@ paths: application/json: schema: type: array - items: &367 + items: &369 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -47827,7 +48008,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *143 + reactions: *145 required: - author - body @@ -47842,7 +48023,7 @@ paths: - updated_at - url examples: - default: &737 + default: &739 value: - author: login: octocat @@ -47910,9 +48091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 requestBody: required: true content: @@ -47934,9 +48115,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &368 + default: &370 value: author: login: octocat @@ -48002,10 +48183,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *172 - - *305 - - *366 - - &369 + - *174 + - *307 + - *368 + - &371 name: comment_number description: The number that identifies the comment. in: path @@ -48017,9 +48198,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *368 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48041,10 +48222,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *172 - - *305 - - *366 - - *369 + - *174 + - *307 + - *368 + - *371 requestBody: required: true content: @@ -48066,9 +48247,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &738 + default: &740 value: author: login: octocat @@ -48132,10 +48313,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *172 - - *305 - - *366 - - *369 + - *174 + - *307 + - *368 + - *371 responses: '204': description: Response @@ -48161,10 +48342,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *172 - - *305 - - *366 - - *369 + - *174 + - *307 + - *368 + - *371 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -48190,7 +48371,7 @@ paths: application/json: schema: type: array - items: &370 + items: &372 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -48233,7 +48414,7 @@ paths: - content - created_at examples: - default: &372 + default: &374 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -48283,10 +48464,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *172 - - *305 - - *366 - - *369 + - *174 + - *307 + - *368 + - *371 requestBody: required: true content: @@ -48319,9 +48500,9 @@ paths: team discussion comment content: application/json: - schema: *370 + schema: *372 examples: - default: &371 + default: &373 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -48350,9 +48531,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48375,11 +48556,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *172 - - *305 - - *366 - - *369 - - &373 + - *174 + - *307 + - *368 + - *371 + - &375 name: reaction_id description: The unique identifier of the reaction. in: path @@ -48411,9 +48592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -48439,9 +48620,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 x-github: @@ -48467,9 +48648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *172 - - *305 - - *366 + - *174 + - *307 + - *368 requestBody: required: true content: @@ -48501,16 +48682,16 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -48533,10 +48714,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *172 - - *305 - - *366 - - *373 + - *174 + - *307 + - *368 + - *375 responses: '204': description: Response @@ -48559,16 +48740,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '200': description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -48587,8 +48768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *172 - - *305 + - *174 + - *307 requestBody: required: true content: @@ -48611,9 +48792,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *377 + default: *379 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -48632,8 +48813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '204': description: Response @@ -48657,8 +48838,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *172 - - *305 + - *174 + - *307 - *17 - *19 responses: @@ -48668,9 +48849,9 @@ paths: application/json: schema: type: array - items: *288 + items: *290 examples: - default: *289 + default: *291 headers: Link: *40 x-github: @@ -48692,8 +48873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *172 - - *305 + - *174 + - *307 - name: role description: Filters members returned by their role in the team. in: query @@ -48716,7 +48897,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -48746,15 +48927,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *172 - - *305 - - *222 + - *174 + - *307 + - *224 responses: '200': description: Response content: application/json: - schema: &378 + schema: &380 title: Team Membership description: Team Membership type: object @@ -48781,7 +48962,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &739 + response-if-user-is-a-team-maintainer: &741 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -48817,9 +48998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *172 - - *305 - - *222 + - *174 + - *307 + - *224 requestBody: required: false content: @@ -48844,9 +49025,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - response-if-users-membership-with-team-is-now-pending: &740 + response-if-users-membership-with-team-is-now-pending: &742 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -48881,9 +49062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *172 - - *305 - - *222 + - *174 + - *307 + - *224 responses: '204': description: Response @@ -48908,8 +49089,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *172 - - *305 + - *174 + - *307 - *17 - *19 responses: @@ -48919,7 +49100,7 @@ paths: application/json: schema: type: array - items: &379 + items: &381 title: Team Project description: A team's access to a project. type: object @@ -48987,7 +49168,7 @@ paths: - updated_at - permissions examples: - default: &741 + default: &743 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49050,9 +49231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *172 - - *305 - - &380 + - *174 + - *307 + - &382 name: project_id description: The unique identifier of the project. in: path @@ -49064,9 +49245,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &742 + default: &744 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -49128,9 +49309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *172 - - *305 - - *380 + - *174 + - *307 + - *382 requestBody: required: false content: @@ -49196,9 +49377,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *172 - - *305 - - *380 + - *174 + - *307 + - *382 responses: '204': description: Response @@ -49225,8 +49406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *172 - - *305 + - *174 + - *307 - *17 - *19 responses: @@ -49236,9 +49417,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -49267,16 +49448,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *172 - - *305 - - *381 - - *382 + - *174 + - *307 + - *383 + - *384 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &743 + schema: &745 title: Team Repository description: A team's access to a repository. type: object @@ -49299,8 +49480,8 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true forks: type: integer @@ -49845,10 +50026,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *172 - - *305 - - *381 - - *382 + - *174 + - *307 + - *383 + - *384 requestBody: required: false content: @@ -49893,10 +50074,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *172 - - *305 - - *381 - - *382 + - *174 + - *307 + - *383 + - *384 responses: '204': description: Response @@ -49922,16 +50103,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *172 - - *305 + - *174 + - *307 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: *384 + default: *386 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -49953,8 +50134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *172 - - *305 + - *174 + - *307 requestBody: required: true content: @@ -49997,7 +50178,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *385 examples: default: value: @@ -50029,8 +50210,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *172 - - *305 + - *174 + - *307 - *17 - *19 responses: @@ -50040,9 +50221,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - response-if-child-teams-exist: &744 + response-if-child-teams-exist: &746 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -50095,7 +50276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *172 + - *174 - name: security_product in: path description: The security feature to enable or disable. @@ -50169,7 +50350,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &385 + - &387 name: card_id description: The unique identifier of the card. in: path @@ -50181,7 +50362,7 @@ paths: description: Response content: application/json: - schema: &386 + schema: &388 title: Project Card description: Project cards represent a scope of work. type: object @@ -50248,7 +50429,7 @@ paths: - created_at - updated_at examples: - default: &387 + default: &389 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -50304,7 +50485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *385 + - *387 requestBody: required: false content: @@ -50331,9 +50512,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: - default: *387 + default: *389 '304': *37 '403': *29 '401': *25 @@ -50360,7 +50541,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *385 + - *387 responses: '204': description: Response @@ -50404,7 +50585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *385 + - *387 requestBody: required: true content: @@ -50515,7 +50696,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &388 + - &390 name: column_id description: The unique identifier of the column. in: path @@ -50527,7 +50708,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &391 title: Project Column description: Project columns contain cards of work. type: object @@ -50573,7 +50754,7 @@ paths: - created_at - updated_at examples: - default: &390 + default: &392 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -50608,7 +50789,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *388 + - *390 requestBody: required: true content: @@ -50632,9 +50813,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: - default: *390 + default: *392 '304': *37 '403': *29 '401': *25 @@ -50659,7 +50840,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *388 + - *390 responses: '204': description: Response @@ -50688,7 +50869,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *388 + - *390 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -50709,7 +50890,7 @@ paths: application/json: schema: type: array - items: *386 + items: *388 examples: default: value: @@ -50768,7 +50949,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *388 + - *390 requestBody: required: true content: @@ -50808,9 +50989,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *388 examples: - default: *387 + default: *389 '304': *37 '403': *29 '401': *25 @@ -50820,8 +51001,8 @@ paths: application/json: schema: oneOf: - - *183 - - *184 + - *185 + - *186 '503': description: Response content: @@ -50866,7 +51047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *388 + - *390 requestBody: required: true content: @@ -50926,15 +51107,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *380 + - *382 responses: '200': description: Response content: application/json: - schema: *325 + schema: *327 examples: - default: &391 + default: &393 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -50991,7 +51172,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *380 + - *382 requestBody: required: false content: @@ -51037,9 +51218,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: - default: *391 + default: *393 '404': description: Not Found if the authenticated user does not have access to the project @@ -51060,7 +51241,7 @@ paths: items: type: string '401': *25 - '410': *392 + '410': *394 '422': *7 x-github: githubCloudOnly: false @@ -51083,7 +51264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *380 + - *382 responses: '204': description: Delete Success @@ -51104,7 +51285,7 @@ paths: items: type: string '401': *25 - '410': *392 + '410': *394 '404': *6 x-github: githubCloudOnly: false @@ -51128,7 +51309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *380 + - *382 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -51155,7 +51336,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '404': *6 @@ -51185,8 +51366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *380 - - *222 + - *382 + - *224 requestBody: required: false content: @@ -51238,8 +51419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *380 - - *222 + - *382 + - *224 responses: '204': description: Response @@ -51270,8 +51451,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *380 - - *222 + - *382 + - *224 responses: '200': description: Response @@ -51344,7 +51525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *380 + - *382 - *17 - *19 responses: @@ -51354,7 +51535,7 @@ paths: application/json: schema: type: array - items: *389 + items: *391 examples: default: value: @@ -51392,7 +51573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *380 + - *382 requestBody: required: true content: @@ -51415,7 +51596,7 @@ paths: description: Response content: application/json: - schema: *389 + schema: *391 examples: default: value: @@ -51480,7 +51661,7 @@ paths: resources: type: object properties: - core: &393 + core: &395 title: Rate Limit type: object properties: @@ -51497,21 +51678,21 @@ paths: - remaining - reset - used - graphql: *393 - search: *393 - code_search: *393 - source_import: *393 - integration_manifest: *393 - code_scanning_upload: *393 - actions_runner_registration: *393 - scim: *393 - dependency_snapshots: *393 - dependency_sbom: *393 - code_scanning_autofix: *393 + graphql: *395 + search: *395 + code_search: *395 + source_import: *395 + integration_manifest: *395 + code_scanning_upload: *395 + actions_runner_registration: *395 + scim: *395 + dependency_snapshots: *395 + dependency_sbom: *395 + code_scanning_autofix: *395 required: - core - search - rate: *393 + rate: *395 required: - rate - resources @@ -51615,14 +51796,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *394 + schema: *396 examples: default-response: summary: Default response @@ -52127,7 +52308,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *395 + '301': *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52145,8 +52326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -52400,10 +52581,10 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *396 - '307': &397 + default: *398 + '307': &399 description: Temporary Redirect content: application/json: @@ -52432,8 +52613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -52455,7 +52636,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *397 + '307': *399 '404': *6 '409': *96 x-github: @@ -52479,11 +52660,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 - - &412 + - &414 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -52506,7 +52687,7 @@ paths: type: integer artifacts: type: array - items: &398 + items: &400 title: Artifact description: An artifact type: object @@ -52584,7 +52765,7 @@ paths: - expires_at - updated_at examples: - default: &413 + default: &415 value: total_count: 2 artifacts: @@ -52645,9 +52826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *381 - - *382 - - &399 + - *383 + - *384 + - &401 name: artifact_id description: The unique identifier of the artifact. in: path @@ -52659,7 +52840,7 @@ paths: description: Response content: application/json: - schema: *398 + schema: *400 examples: default: value: @@ -52697,9 +52878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *381 - - *382 - - *399 + - *383 + - *384 + - *401 responses: '204': description: Response @@ -52723,9 +52904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *381 - - *382 - - *399 + - *383 + - *384 + - *401 - name: archive_format in: path required: true @@ -52739,7 +52920,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52762,14 +52943,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *400 + schema: *402 examples: default: value: @@ -52795,11 +52976,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 - - &401 + - &403 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -52833,7 +53014,7 @@ paths: description: Response content: application/json: - schema: &402 + schema: &404 title: Repository actions caches description: Repository actions caches type: object @@ -52875,7 +53056,7 @@ paths: - total_count - actions_caches examples: - default: &403 + default: &405 value: total_count: 1 actions_caches: @@ -52907,23 +53088,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *381 - - *382 + - *383 + - *384 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *401 + - *403 responses: '200': description: Response content: application/json: - schema: *402 + schema: *404 examples: - default: *403 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52943,8 +53124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *381 - - *382 + - *383 + - *384 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -52975,9 +53156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *381 - - *382 - - &404 + - *383 + - *384 + - &406 name: job_id description: The unique identifier of the job. in: path @@ -52989,7 +53170,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &418 title: Job description: Information of a job execution in a workflow run type: object @@ -53296,9 +53477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *381 - - *382 - - *404 + - *383 + - *384 + - *406 responses: '302': description: Response @@ -53326,9 +53507,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *381 - - *382 - - *404 + - *383 + - *384 + - *406 requestBody: required: false content: @@ -53349,7 +53530,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -53373,8 +53554,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Status response @@ -53424,8 +53605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -53459,7 +53640,7 @@ paths: description: Empty response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -53488,8 +53669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -53507,7 +53688,7 @@ paths: type: integer secrets: type: array - items: &418 + items: &420 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -53527,7 +53708,7 @@ paths: - created_at - updated_at examples: - default: &419 + default: &421 value: total_count: 2 secrets: @@ -53560,9 +53741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *381 - - *382 - - *405 + - *383 + - *384 + - *407 - *19 responses: '200': @@ -53579,7 +53760,7 @@ paths: type: integer variables: type: array - items: &422 + items: &424 title: Actions Variable type: object properties: @@ -53609,7 +53790,7 @@ paths: - created_at - updated_at examples: - default: &423 + default: &425 value: total_count: 2 variables: @@ -53642,8 +53823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -53652,11 +53833,11 @@ paths: schema: type: object properties: - enabled: &406 + enabled: &408 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *193 + selected_actions_url: *195 required: - enabled examples: @@ -53685,8 +53866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -53697,7 +53878,7 @@ paths: schema: type: object properties: - enabled: *406 + enabled: *408 allowed_actions: *49 required: - enabled @@ -53728,14 +53909,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: &407 + schema: &409 type: object properties: access_level: @@ -53753,7 +53934,7 @@ paths: required: - access_level examples: - default: &408 + default: &410 value: access_level: organization x-github: @@ -53778,15 +53959,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: application/json: - schema: *407 + schema: *409 examples: - default: *408 + default: *410 responses: '204': description: Response @@ -53810,8 +53991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -53842,8 +54023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -53875,14 +54056,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *196 + schema: *198 examples: default: *55 x-github: @@ -53905,8 +54086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Success response @@ -53917,7 +54098,7 @@ paths: required: true content: application/json: - schema: *197 + schema: *199 examples: default: *55 x-github: @@ -53946,8 +54127,8 @@ paths: in: query schema: type: string - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -53991,8 +54172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -54000,9 +54181,9 @@ paths: application/json: schema: type: array - items: *201 + items: *203 examples: - default: *202 + default: *204 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54024,8 +54205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -54068,7 +54249,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *203 + '201': *205 '404': *6 '422': *7 '409': *96 @@ -54099,8 +54280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '201': description: Response @@ -54108,7 +54289,7 @@ paths: application/json: schema: *65 examples: - default: *204 + default: *206 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54136,8 +54317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '201': description: Response @@ -54145,7 +54326,7 @@ paths: application/json: schema: *65 examples: - default: *205 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54167,8 +54348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 responses: '200': @@ -54177,7 +54358,7 @@ paths: application/json: schema: *62 examples: - default: *206 + default: *208 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54198,8 +54379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 responses: '204': @@ -54226,8 +54407,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 responses: '200': *67 @@ -54252,8 +54433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 requestBody: required: true @@ -54302,8 +54483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 requestBody: required: true @@ -54353,11 +54534,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 responses: - '200': *207 + '200': *209 '404': *6 x-github: githubCloudOnly: false @@ -54384,10 +54565,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *61 - - *208 + - *210 responses: '200': *67 '404': *6 @@ -54415,9 +54596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *381 - - *382 - - &426 + - *383 + - *384 + - &428 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -54425,7 +54606,7 @@ paths: required: false schema: type: string - - &427 + - &429 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -54433,7 +54614,7 @@ paths: required: false schema: type: string - - &428 + - &430 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -54442,7 +54623,7 @@ paths: required: false schema: type: string - - &429 + - &431 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -54469,7 +54650,7 @@ paths: - pending - *17 - *19 - - &430 + - &432 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -54478,7 +54659,7 @@ paths: schema: type: string format: date-time - - &409 + - &411 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -54487,13 +54668,13 @@ paths: schema: type: boolean default: false - - &431 + - &433 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &432 + - &434 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -54516,7 +54697,7 @@ paths: type: integer workflow_runs: type: array - items: &410 + items: &412 title: Workflow Run description: An invocation of a workflow type: object @@ -54611,7 +54792,7 @@ paths: that triggered the run. type: array nullable: true - items: &453 + items: &455 title: Pull Request Minimal type: object properties: @@ -54730,7 +54911,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &457 + properties: &459 id: type: string description: SHA for the commit @@ -54781,7 +54962,7 @@ paths: - name - email nullable: true - required: &458 + required: &460 - id - tree_id - message @@ -54789,8 +54970,8 @@ paths: - author - committer nullable: true - repository: *200 - head_repository: *200 + repository: *202 + head_repository: *202 head_repository_id: type: integer example: 5 @@ -54828,7 +55009,7 @@ paths: - workflow_url - pull_requests examples: - default: &433 + default: &435 value: total_count: 1 workflow_runs: @@ -55064,24 +55245,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *381 - - *382 - - &411 + - *383 + - *384 + - &413 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *409 + - *411 responses: '200': description: Response content: application/json: - schema: *410 + schema: *412 examples: - default: &414 + default: &416 value: id: 30433642 name: Build @@ -55322,9 +55503,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '204': description: Response @@ -55347,9 +55528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '200': description: Response @@ -55468,15 +55649,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '201': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -55503,12 +55684,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 - *17 - *19 - - *412 + - *414 responses: '200': description: Response @@ -55524,9 +55705,9 @@ paths: type: integer artifacts: type: array - items: *398 + items: *400 examples: - default: *413 + default: *415 headers: Link: *40 x-github: @@ -55550,25 +55731,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *381 - - *382 - - *411 - - &415 + - *383 + - *384 + - *413 + - &417 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *409 + - *411 responses: '200': description: Response content: application/json: - schema: *410 + schema: *412 examples: - default: *414 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55591,10 +55772,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *381 - - *382 - - *411 - - *415 + - *383 + - *384 + - *413 + - *417 - *17 - *19 responses: @@ -55612,9 +55793,9 @@ paths: type: integer jobs: type: array - items: *416 + items: *418 examples: - default: &417 + default: &419 value: total_count: 1 jobs: @@ -55727,10 +55908,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *381 - - *382 - - *411 - - *415 + - *383 + - *384 + - *413 + - *417 responses: '302': description: Response @@ -55758,15 +55939,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '202': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -55793,9 +55974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 requestBody: required: true content: @@ -55862,15 +56043,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '202': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -55897,9 +56078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -55929,9 +56110,9 @@ paths: type: integer jobs: type: array - items: *416 + items: *418 examples: - default: *417 + default: *419 headers: Link: *40 x-github: @@ -55956,9 +56137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '302': description: Response @@ -55985,9 +56166,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '204': description: Response @@ -56014,9 +56195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '200': description: Response @@ -56076,7 +56257,7 @@ paths: items: type: object properties: - type: &543 + type: &545 type: string description: The type of reviewer. enum: @@ -56086,7 +56267,7 @@ paths: reviewer: anyOf: - *4 - - *231 + - *233 required: - environment - wait_timer @@ -56161,9 +56342,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 requestBody: required: true content: @@ -56210,7 +56391,7 @@ paths: application/json: schema: type: array - items: &529 + items: &531 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -56298,8 +56479,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 required: - id - node_id @@ -56316,7 +56497,7 @@ paths: - created_at - updated_at examples: - default: &530 + default: &532 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -56372,9 +56553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 requestBody: required: false content: @@ -56395,7 +56576,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -56418,9 +56599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 requestBody: required: false content: @@ -56441,7 +56622,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -56474,9 +56655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *381 - - *382 - - *411 + - *383 + - *384 + - *413 responses: '200': description: Response @@ -56613,8 +56794,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -56632,9 +56813,9 @@ paths: type: integer secrets: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *40 x-github: @@ -56659,16 +56840,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *421 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56690,17 +56871,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: &556 + default: &558 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -56726,9 +56907,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 requestBody: required: true content: @@ -56759,7 +56940,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -56785,9 +56966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '204': description: Response @@ -56812,9 +56993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *381 - - *382 - - *405 + - *383 + - *384 + - *407 - *19 responses: '200': @@ -56831,9 +57012,9 @@ paths: type: integer variables: type: array - items: *422 + items: *424 examples: - default: *423 + default: *425 headers: Link: *40 x-github: @@ -56856,8 +57037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -56884,7 +57065,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -56909,17 +57090,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *381 - - *382 - - *213 + - *383 + - *384 + - *215 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: &557 + default: &559 value: name: USERNAME value: octocat @@ -56945,9 +57126,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *381 - - *382 - - *213 + - *383 + - *384 + - *215 requestBody: required: true content: @@ -56989,9 +57170,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *381 - - *382 - - *213 + - *383 + - *384 + - *215 responses: '204': description: Response @@ -57016,8 +57197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -57035,7 +57216,7 @@ paths: type: integer workflows: type: array - items: &424 + items: &426 title: Workflow description: A GitHub Actions workflow type: object @@ -57142,9 +57323,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *381 - - *382 - - &425 + - *383 + - *384 + - &427 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -57159,7 +57340,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -57192,9 +57373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *381 - - *382 - - *425 + - *383 + - *384 + - *427 responses: '204': description: Response @@ -57219,9 +57400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *381 - - *382 - - *425 + - *383 + - *384 + - *427 responses: '204': description: Response @@ -57272,9 +57453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *381 - - *382 - - *425 + - *383 + - *384 + - *427 responses: '204': description: Response @@ -57301,19 +57482,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *381 - - *382 - - *425 - - *426 + - *383 + - *384 - *427 - *428 - *429 - - *17 - - *19 - *430 - - *409 - *431 + - *17 + - *19 - *432 + - *411 + - *433 + - *434 responses: '200': description: Response @@ -57329,9 +57510,9 @@ paths: type: integer workflow_runs: type: array - items: *410 + items: *412 examples: - default: *433 + default: *435 headers: Link: *40 x-github: @@ -57364,9 +57545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *381 - - *382 - - *425 + - *383 + - *384 + - *427 responses: '200': description: Response @@ -57427,8 +57608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *381 - - *382 + - *383 + - *384 - *88 - *17 - *86 @@ -57592,8 +57773,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -57605,7 +57786,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '404': *6 @@ -57630,8 +57811,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *381 - - *382 + - *383 + - *384 - name: assignee in: path required: true @@ -57667,8 +57848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -57780,8 +57961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *86 - *87 @@ -57835,7 +58016,7 @@ paths: bundle_url: type: string examples: - default: *434 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57855,8 +58036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -57864,7 +58045,7 @@ paths: application/json: schema: type: array - items: &435 + items: &437 title: Autolink reference description: An autolink reference. type: object @@ -57914,8 +58095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -57954,9 +58135,9 @@ paths: description: response content: application/json: - schema: *435 + schema: *437 examples: - default: &436 + default: &438 value: id: 1 key_prefix: TICKET- @@ -57987,9 +58168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *381 - - *382 - - &437 + - *383 + - *384 + - &439 name: autolink_id description: The unique identifier of the autolink. in: path @@ -58001,9 +58182,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -58023,9 +58204,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *381 - - *382 - - *437 + - *383 + - *384 + - *439 responses: '204': description: Response @@ -58049,8 +58230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response if Dependabot is enabled @@ -58098,8 +58279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -58120,8 +58301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -58141,8 +58322,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *381 - - *382 + - *383 + - *384 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -58180,7 +58361,7 @@ paths: - url protected: type: boolean - protection: &439 + protection: &441 title: Branch Protection description: Branch Protection type: object @@ -58222,7 +58403,7 @@ paths: required: - contexts - checks - enforce_admins: &442 + enforce_admins: &444 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -58237,7 +58418,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &444 + required_pull_request_reviews: &446 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -58258,7 +58439,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *231 + items: *233 apps: description: The list of apps with review dismissal access. @@ -58287,7 +58468,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *231 + items: *233 apps: description: The list of apps allowed to bypass pull request requirements. @@ -58313,7 +58494,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &441 + restrictions: &443 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -58620,9 +58801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *381 - - *382 - - &440 + - *383 + - *384 + - &442 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -58636,14 +58817,14 @@ paths: description: Response content: application/json: - schema: &450 + schema: &452 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &502 + commit: &504 title: Commit description: Commit type: object @@ -58677,7 +58858,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &438 + properties: &440 name: type: string example: '"Chris Wanstrath"' @@ -58692,7 +58873,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *438 + properties: *440 nullable: true message: type: string @@ -58713,7 +58894,7 @@ paths: required: - sha - url - verification: &563 + verification: &565 title: Verification type: object properties: @@ -58747,12 +58928,12 @@ paths: nullable: true oneOf: - *4 - - *211 + - *213 committer: nullable: true oneOf: - *4 - - *211 + - *213 parents: type: array items: @@ -58783,7 +58964,7 @@ paths: type: integer files: type: array - items: &517 + items: &519 title: Diff Entry description: Diff Entry type: object @@ -58866,7 +59047,7 @@ paths: - self protected: type: boolean - protection: *439 + protection: *441 protection_url: type: string format: uri @@ -58973,7 +59154,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *395 + '301': *397 '404': *6 x-github: githubCloudOnly: false @@ -58995,15 +59176,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *439 + schema: *441 examples: default: value: @@ -59197,9 +59378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -59454,7 +59635,7 @@ paths: url: type: string format: uri - required_status_checks: &447 + required_status_checks: &449 title: Status Check Policy description: Status Check Policy type: object @@ -59530,7 +59711,7 @@ paths: items: *4 teams: type: array - items: *231 + items: *233 apps: type: array items: *5 @@ -59548,7 +59729,7 @@ paths: items: *4 teams: type: array - items: *231 + items: *233 apps: type: array items: *5 @@ -59606,7 +59787,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *441 + restrictions: *443 required_conversation_resolution: type: object properties: @@ -59718,9 +59899,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -59745,17 +59926,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: &443 + default: &445 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -59777,17 +59958,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *443 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59806,9 +59987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -59833,17 +60014,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: &445 + default: &447 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -59939,9 +60120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -60039,9 +60220,9 @@ paths: description: Response content: application/json: - schema: *444 + schema: *446 examples: - default: *445 + default: *447 '422': *15 x-github: githubCloudOnly: false @@ -60062,9 +60243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -60091,17 +60272,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: &446 + default: &448 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -60124,17 +60305,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *442 + schema: *444 examples: - default: *446 + default: *448 '404': *6 x-github: githubCloudOnly: false @@ -60154,9 +60335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -60181,17 +60362,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: &448 + default: &450 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -60217,9 +60398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -60271,9 +60452,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *449 examples: - default: *448 + default: *450 '404': *6 '422': *15 x-github: @@ -60295,9 +60476,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -60321,9 +60502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response @@ -60357,9 +60538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -60426,9 +60607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -60492,9 +60673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: content: application/json: @@ -60560,15 +60741,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -60659,9 +60840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '204': description: Response @@ -60684,9 +60865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response @@ -60696,7 +60877,7 @@ paths: type: array items: *5 examples: - default: &449 + default: &451 value: - id: 1 slug: octoapp @@ -60753,9 +60934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -60789,7 +60970,7 @@ paths: type: array items: *5 examples: - default: *449 + default: *451 '422': *15 x-github: githubCloudOnly: false @@ -60810,9 +60991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -60846,7 +61027,7 @@ paths: type: array items: *5 examples: - default: *449 + default: *451 '422': *15 x-github: githubCloudOnly: false @@ -60867,9 +61048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -60903,7 +61084,7 @@ paths: type: array items: *5 examples: - default: *449 + default: *451 '422': *15 x-github: githubCloudOnly: false @@ -60925,9 +61106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response @@ -60935,9 +61116,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 '404': *6 x-github: githubCloudOnly: false @@ -60957,9 +61138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -60995,9 +61176,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 '422': *15 x-github: githubCloudOnly: false @@ -61018,9 +61199,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: false content: @@ -61056,9 +61237,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 '422': *15 x-github: githubCloudOnly: false @@ -61079,9 +61260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: content: application/json: @@ -61116,9 +61297,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 '422': *15 x-github: githubCloudOnly: false @@ -61140,9 +61321,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 responses: '200': description: Response @@ -61152,7 +61333,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 '404': *6 x-github: githubCloudOnly: false @@ -61176,9 +61357,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -61211,7 +61392,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -61236,9 +61417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -61271,7 +61452,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -61296,9 +61477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -61331,7 +61512,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -61358,9 +61539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 requestBody: required: true content: @@ -61382,7 +61563,7 @@ paths: description: Response content: application/json: - schema: *450 + schema: *452 examples: default: value: @@ -61496,12 +61677,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *381 - - *382 - - *223 - - *224 + - *383 + - *384 - *225 - *226 + - *227 + - *228 - *17 - *19 responses: @@ -61511,9 +61692,9 @@ paths: application/json: schema: type: array - items: *227 + items: *229 examples: - default: *228 + default: *230 '404': *6 '500': *85 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -61533,8 +61714,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: bypass_request_number in: path required: true @@ -61548,7 +61729,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *229 examples: default: value: @@ -61607,12 +61788,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *381 - - *382 - - *223 - - *224 + - *383 + - *384 - *225 - *226 + - *227 + - *228 - *17 - *19 responses: @@ -61622,9 +61803,9 @@ paths: application/json: schema: type: array - items: *451 + items: *453 examples: - default: *452 + default: *454 '404': *6 '403': *29 '500': *85 @@ -61648,8 +61829,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *381 - - *382 + - *383 + - *384 - name: bypass_request_number in: path required: true @@ -61661,7 +61842,7 @@ paths: description: A single bypass request. content: application/json: - schema: *451 + schema: *453 examples: default: value: @@ -61719,8 +61900,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *381 - - *382 + - *383 + - *384 - name: bypass_request_number in: path required: true @@ -61791,8 +61972,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *381 - - *382 + - *383 + - *384 - name: bypass_response_id in: path required: true @@ -61825,8 +62006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -62105,7 +62286,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &456 title: CheckRun description: A check performed on the code of a given code change type: object @@ -62216,16 +62397,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *453 - deployment: &798 + items: *455 + deployment: &800 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -62292,8 +62473,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 required: - id - node_id @@ -62505,9 +62686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *381 - - *382 - - &455 + - *383 + - *384 + - &457 name: check_run_id description: The unique identifier of the check run. in: path @@ -62519,9 +62700,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: &456 + default: &458 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -62621,9 +62802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *381 - - *382 - - *455 + - *383 + - *384 + - *457 requestBody: required: true content: @@ -62863,9 +63044,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *456 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62885,9 +63066,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *381 - - *382 - - *455 + - *383 + - *384 + - *457 - *17 - *19 responses: @@ -62982,15 +63163,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *381 - - *382 - - *455 + - *383 + - *384 + - *457 responses: '201': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -63028,8 +63209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -63051,7 +63232,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &459 + schema: &461 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -63115,7 +63296,7 @@ paths: nullable: true pull_requests: type: array - items: *453 + items: *455 nullable: true app: title: GitHub app @@ -63126,9 +63307,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 - repository: *200 + properties: *142 + required: *143 + repository: *202 created_at: type: string format: date-time @@ -63137,12 +63318,12 @@ paths: type: string format: date-time nullable: true - head_commit: &824 + head_commit: &826 title: Simple Commit description: A commit. type: object - properties: *457 - required: *458 + properties: *459 + required: *460 latest_check_runs_count: type: integer check_runs_url: @@ -63170,7 +63351,7 @@ paths: - check_runs_url - pull_requests examples: - default: &460 + default: &462 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -63461,9 +63642,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63482,8 +63663,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -63544,7 +63725,7 @@ paths: required: - app_id - setting - repository: *200 + repository: *202 examples: default: value: @@ -63792,9 +63973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *381 - - *382 - - &461 + - *383 + - *384 + - &463 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -63806,9 +63987,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *460 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63831,17 +64012,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *381 - - *382 - - *461 - - &510 + - *383 + - *384 + - *463 + - &512 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &511 + - &513 name: status description: Returns check runs with the specified `status`. in: query @@ -63880,9 +64061,9 @@ paths: type: integer check_runs: type: array - items: *454 + items: *456 examples: - default: &512 + default: &514 value: total_count: 1 check_runs: @@ -63984,15 +64165,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *381 - - *382 - - *461 + - *383 + - *384 + - *463 responses: '201': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -64019,21 +64200,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *381 - - *382 - - *235 - - *236 + - *383 + - *384 + - *237 + - *238 - *19 - *17 - - &477 + - &479 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *462 - - &478 + schema: *464 + - &480 name: pr description: The number of the pull request for the results you want to list. in: query @@ -64058,13 +64239,13 @@ paths: be returned. in: query required: false - schema: *237 + schema: *239 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *463 + schema: *465 responses: '200': description: Response @@ -64080,7 +64261,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *464 + instances_url: *466 state: *91 fixed_at: *110 dismissed_by: @@ -64091,11 +64272,11 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *465 - dismissed_comment: *466 - rule: *467 - tool: *468 - most_recent_instance: *469 + dismissed_reason: *467 + dismissed_comment: *468 + rule: *469 + tool: *470 + most_recent_instance: *471 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -64218,7 +64399,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &470 + '403': &472 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -64245,9 +64426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *381 - - *382 - - &471 + - *383 + - *384 + - &473 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -64261,7 +64442,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &474 type: object properties: number: *100 @@ -64269,7 +64450,7 @@ paths: updated_at: *108 url: *105 html_url: *106 - instances_url: *464 + instances_url: *466 state: *91 fixed_at: *110 dismissed_by: @@ -64280,8 +64461,8 @@ paths: required: *21 nullable: true dismissed_at: *109 - dismissed_reason: *465 - dismissed_comment: *466 + dismissed_reason: *467 + dismissed_comment: *468 rule: type: object properties: @@ -64335,8 +64516,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *468 - most_recent_instance: *469 + tool: *470 + most_recent_instance: *471 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -64432,7 +64613,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -64452,9 +64633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 requestBody: required: true content: @@ -64469,8 +64650,8 @@ paths: enum: - open - dismissed - dismissed_reason: *465 - dismissed_comment: *466 + dismissed_reason: *467 + dismissed_comment: *468 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -64489,7 +64670,7 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: default: value: @@ -64565,7 +64746,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &476 + '403': &478 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -64592,15 +64773,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 responses: '200': description: Response content: application/json: - schema: &473 + schema: &475 type: object properties: status: @@ -64626,13 +64807,13 @@ paths: - description - started_at examples: - default: &474 + default: &476 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &475 + '400': &477 description: Bad Request content: application/json: @@ -64643,7 +64824,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -64668,29 +64849,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 responses: '200': description: OK content: application/json: - schema: *473 + schema: *475 examples: - default: *474 + default: *476 '202': description: Accepted content: application/json: - schema: *473 + schema: *475 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *475 + '400': *477 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -64722,9 +64903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 requestBody: required: false content: @@ -64769,8 +64950,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *475 - '403': *476 + '400': *477 + '403': *478 '404': *6 '422': description: Unprocessable Entity @@ -64794,13 +64975,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 - *19 - *17 - - *477 - - *478 + - *479 + - *480 responses: '200': description: Response @@ -64808,7 +64989,7 @@ paths: application/json: schema: type: array - items: *469 + items: *471 examples: default: value: @@ -64847,7 +65028,7 @@ paths: end_column: 50 classifications: - source - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -64881,25 +65062,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *381 - - *382 - - *235 - - *236 + - *383 + - *384 + - *237 + - *238 - *19 - *17 - - *478 + - *480 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *462 + schema: *464 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &481 + schema: &483 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -64920,23 +65101,23 @@ paths: application/json: schema: type: array - items: &482 + items: &484 type: object properties: - ref: *462 - commit_sha: &490 + ref: *464 + commit_sha: &492 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *479 + analysis_key: *481 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *480 + category: *482 error: type: string example: error reading field xyz @@ -64960,8 +65141,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *481 - tool: *468 + sarif_id: *483 + tool: *470 deletable: type: boolean warning: @@ -65022,7 +65203,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -65058,8 +65239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65072,7 +65253,7 @@ paths: description: Response content: application/json: - schema: *482 + schema: *484 examples: response: summary: application/json response @@ -65126,7 +65307,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *470 + '403': *472 '404': *6 '422': description: Response if analysis could not be processed @@ -65213,8 +65394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -65267,7 +65448,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *476 + '403': *478 '404': *6 '503': *134 x-github: @@ -65289,8 +65470,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -65298,7 +65479,7 @@ paths: application/json: schema: type: array - items: &483 + items: &485 title: CodeQL Database description: A CodeQL database. type: object @@ -65409,7 +65590,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -65438,8 +65619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: language in: path description: The language of the CodeQL database. @@ -65451,7 +65632,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -65483,9 +65664,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &519 + '302': &521 description: Found - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -65507,8 +65688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *381 - - *382 + - *383 + - *384 - name: language in: path description: The language of the CodeQL database. @@ -65518,7 +65699,7 @@ paths: responses: '204': description: Response - '403': *476 + '403': *478 '404': *6 '503': *134 x-github: @@ -65546,8 +65727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -65556,7 +65737,7 @@ paths: type: object additionalProperties: false properties: - language: &484 + language: &486 type: string description: The language targeted by the CodeQL query enum: @@ -65635,7 +65816,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &488 + schema: &490 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -65645,7 +65826,7 @@ paths: description: The ID of the variant analysis. controller_repo: *97 actor: *4 - query_language: *484 + query_language: *486 query_pack_url: type: string description: The download url for the query pack. @@ -65692,7 +65873,7 @@ paths: items: type: object properties: - repository: &485 + repository: &487 title: Repository Identifier description: Repository Identifier type: object @@ -65728,7 +65909,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &489 + analysis_status: &491 type: string description: The new status of the CodeQL variant analysis repository task. @@ -65760,7 +65941,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &486 + access_mismatch_repos: &488 type: object properties: repository_count: @@ -65774,7 +65955,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *485 + items: *487 required: - repository_count - repositories @@ -65796,8 +65977,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *486 - over_limit_repos: *486 + no_codeql_db_repos: *488 + over_limit_repos: *488 required: - access_mismatch_repos - not_found_repos @@ -65813,7 +65994,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &487 + value: &489 summary: Default response value: id: 1 @@ -65965,10 +66146,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *487 + value: *489 repository_lists: summary: Response for a successful variant analysis submission - value: *487 + value: *489 '404': *6 '422': description: Unable to process variant analysis submission @@ -65996,8 +66177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *381 - - *382 + - *383 + - *384 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -66009,9 +66190,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *487 + default: *489 '404': *6 '503': *134 x-github: @@ -66034,7 +66215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *381 + - *383 - name: repo in: path description: The name of the controller repository. @@ -66069,7 +66250,7 @@ paths: type: object properties: repository: *97 - analysis_status: *489 + analysis_status: *491 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -66194,8 +66375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -66280,7 +66461,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *470 + '403': *472 '404': *6 '503': *134 x-github: @@ -66301,8 +66482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -66369,7 +66550,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -66394,7 +66575,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *476 + '403': *478 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -66459,8 +66640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -66468,7 +66649,7 @@ paths: schema: type: object properties: - commit_sha: *490 + commit_sha: *492 ref: type: string description: |- @@ -66526,7 +66707,7 @@ paths: schema: type: object properties: - id: *481 + id: *483 url: type: string description: The REST API URL for checking the status of the upload. @@ -66540,7 +66721,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *476 + '403': *478 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -66563,8 +66744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *381 - - *382 + - *383 + - *384 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -66610,7 +66791,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *470 + '403': *472 '404': description: Not Found if the sarif id does not match any upload '503': *134 @@ -66635,8 +66816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -66717,8 +66898,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *381 - - *382 + - *383 + - *384 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -66838,8 +67019,8 @@ paths: parameters: - *17 - *19 - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -66855,7 +67036,7 @@ paths: type: integer codespaces: type: array - items: *297 + items: *299 examples: default: value: @@ -67153,8 +67334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -67217,17 +67398,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '400': *14 '401': *25 '403': *29 @@ -67256,8 +67437,8 @@ paths: parameters: - *17 - *19 - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -67321,8 +67502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -67357,14 +67538,14 @@ paths: type: integer machines: type: array - items: &751 + items: &753 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *492 - required: *493 + properties: *494 + required: *495 examples: - default: &752 + default: &754 value: total_count: 2 machines: @@ -67404,8 +67585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *381 - - *382 + - *383 + - *384 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -67489,8 +67670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *381 - - *382 + - *383 + - *384 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -67556,8 +67737,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -67575,7 +67756,7 @@ paths: type: integer secrets: type: array - items: &497 + items: &499 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -67595,7 +67776,7 @@ paths: - created_at - updated_at examples: - default: *494 + default: *496 headers: Link: *40 x-github: @@ -67618,16 +67799,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *496 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -67647,17 +67828,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '200': description: Response content: application/json: - schema: *497 + schema: *499 examples: - default: *498 + default: *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67677,9 +67858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 requestBody: required: true content: @@ -67707,7 +67888,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -67731,9 +67912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '204': description: Response @@ -67761,8 +67942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *381 - - *382 + - *383 + - *384 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -67804,7 +67985,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &499 + properties: &501 login: type: string example: octocat @@ -67897,7 +68078,7 @@ paths: user_view_type: type: string example: public - required: &500 + required: &502 - avatar_url - events_url - followers_url @@ -67971,9 +68152,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *381 - - *382 - - *222 + - *383 + - *384 + - *224 responses: '204': description: Response if user is a collaborator @@ -68019,9 +68200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *381 - - *382 - - *222 + - *383 + - *384 + - *224 requestBody: required: false content: @@ -68047,7 +68228,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &576 + schema: &578 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -68058,7 +68239,7 @@ paths: example: 42 type: integer format: int64 - repository: *200 + repository: *202 invitee: title: Simple User description: A GitHub user. @@ -68236,7 +68417,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *183 + schema: *185 '403': *29 x-github: triggersNotification: true @@ -68276,9 +68457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *381 - - *382 - - *222 + - *383 + - *384 + - *224 responses: '204': description: No Content when collaborator was removed from the repository. @@ -68309,9 +68490,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *381 - - *382 - - *222 + - *383 + - *384 + - *224 responses: '200': description: if user has admin permissions @@ -68331,8 +68512,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *499 - required: *500 + properties: *501 + required: *502 nullable: true required: - permission @@ -68387,8 +68568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -68398,7 +68579,7 @@ paths: application/json: schema: type: array - items: &501 + items: &503 title: Commit Comment description: Commit Comment type: object @@ -68439,8 +68620,8 @@ paths: updated_at: type: string format: date-time - author_association: *142 - reactions: *143 + author_association: *144 + reactions: *145 required: - url - html_url @@ -68456,7 +68637,7 @@ paths: - created_at - updated_at examples: - default: &504 + default: &506 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68515,17 +68696,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '200': description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: &505 + default: &507 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -68582,9 +68763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -68606,7 +68787,7 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: default: value: @@ -68657,9 +68838,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '204': description: Response @@ -68680,9 +68861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -68708,9 +68889,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 '404': *6 @@ -68731,9 +68912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -68765,16 +68946,16 @@ paths: description: Reaction exists content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Reaction created content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -68796,10 +68977,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *381 - - *382 - - *154 - - *373 + - *383 + - *384 + - *156 + - *375 responses: '204': description: Response @@ -68848,8 +69029,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *381 - - *382 + - *383 + - *384 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -68905,9 +69086,9 @@ paths: application/json: schema: type: array - items: *502 + items: *504 examples: - default: &627 + default: &629 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -69001,9 +69182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *381 - - *382 - - &503 + - *383 + - *384 + - &505 name: commit_sha description: The SHA of the commit. in: path @@ -69075,9 +69256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *381 - - *382 - - *503 + - *383 + - *384 + - *505 - *17 - *19 responses: @@ -69087,9 +69268,9 @@ paths: application/json: schema: type: array - items: *501 + items: *503 examples: - default: *504 + default: *506 headers: Link: *40 x-github: @@ -69117,9 +69298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *381 - - *382 - - *503 + - *383 + - *384 + - *505 requestBody: required: true content: @@ -69154,9 +69335,9 @@ paths: description: Response content: application/json: - schema: *501 + schema: *503 examples: - default: *505 + default: *507 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -69184,9 +69365,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *381 - - *382 - - *503 + - *383 + - *384 + - *505 - *17 - *19 responses: @@ -69196,7 +69377,7 @@ paths: application/json: schema: type: array - items: &618 + items: &620 title: Pull Request Simple description: Pull Request Simple type: object @@ -69302,8 +69483,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *506 - required: *507 + properties: *508 + required: *509 nullable: true active_lock_reason: type: string @@ -69348,7 +69529,7 @@ paths: nullable: true requested_teams: type: array - items: *231 + items: *233 nullable: true head: type: object @@ -69399,7 +69580,7 @@ paths: _links: type: object properties: - comments: &508 + comments: &510 title: Link description: Hypermedia Link type: object @@ -69408,13 +69589,13 @@ paths: type: string required: - href - commits: *508 - statuses: *508 - html: *508 - issue: *508 - review_comments: *508 - review_comment: *508 - self: *508 + commits: *510 + statuses: *510 + html: *510 + issue: *510 + review_comments: *510 + review_comment: *510 + self: *510 required: - comments - commits @@ -69424,8 +69605,8 @@ paths: - review_comments - review_comment - self - author_association: *142 - auto_merge: &620 + author_association: *144 + auto_merge: &622 title: Auto merge description: The status of auto merging a pull request. type: object @@ -69488,7 +69669,7 @@ paths: - author_association - auto_merge examples: - default: &619 + default: &621 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -70025,11 +70206,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *381 - - *382 + - *383 + - *384 - *19 - *17 - - &509 + - &511 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -70044,9 +70225,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: - default: &605 + default: &607 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70159,11 +70340,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *381 - - *382 - - *509 - - *510 + - *383 + - *384 - *511 + - *512 + - *513 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -70197,9 +70378,9 @@ paths: type: integer check_runs: type: array - items: *454 + items: *456 examples: - default: *512 + default: *514 headers: Link: *40 x-github: @@ -70224,9 +70405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *381 - - *382 - - *509 + - *383 + - *384 + - *511 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -70234,7 +70415,7 @@ paths: schema: type: integer example: 1 - - *510 + - *512 - *17 - *19 responses: @@ -70252,7 +70433,7 @@ paths: type: integer check_suites: type: array - items: *459 + items: *461 examples: default: value: @@ -70452,9 +70633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *381 - - *382 - - *509 + - *383 + - *384 + - *511 - *17 - *19 responses: @@ -70521,7 +70702,7 @@ paths: type: string total_count: type: integer - repository: *200 + repository: *202 commit_url: type: string format: uri @@ -70652,9 +70833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *381 - - *382 - - *509 + - *383 + - *384 + - *511 - *17 - *19 responses: @@ -70664,7 +70845,7 @@ paths: application/json: schema: type: array - items: &699 + items: &701 title: Status description: The status of a commit. type: object @@ -70745,7 +70926,7 @@ paths: site_admin: false headers: Link: *40 - '301': *395 + '301': *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70773,8 +70954,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -70803,20 +70984,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *513 - required: *514 + properties: *515 + required: *516 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &515 + properties: &517 url: type: string format: uri html_url: type: string format: uri - required: &516 + required: &518 - url - html_url nullable: true @@ -70824,32 +71005,32 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true contributing: title: Community Health File type: object - properties: *515 - required: *516 + properties: *517 + required: *518 nullable: true readme: title: Community Health File type: object - properties: *515 - required: *516 + properties: *517 + required: *518 nullable: true issue_template: title: Community Health File type: object - properties: *515 - required: *516 + properties: *517 + required: *518 nullable: true pull_request_template: title: Community Health File type: object - properties: *515 - required: *516 + properties: *517 + required: *518 nullable: true required: - code_of_conduct @@ -70976,8 +71157,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *381 - - *382 + - *383 + - *384 - *19 - *17 - name: basehead @@ -71020,8 +71201,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *502 - merge_base_commit: *502 + base_commit: *504 + merge_base_commit: *504 status: type: string enum: @@ -71041,10 +71222,10 @@ paths: example: 6 commits: type: array - items: *502 + items: *504 files: type: array - items: *517 + items: *519 required: - url - html_url @@ -71330,8 +71511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *381 - - *382 + - *383 + - *384 - name: path description: path parameter in: path @@ -71474,7 +71655,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &518 + response-if-content-is-a-file: &520 summary: Response if content is a file value: type: file @@ -71606,7 +71787,7 @@ paths: - size - type - url - - &632 + - &634 title: Content File description: Content File type: object @@ -71807,7 +71988,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *518 + response-if-content-is-a-file: *520 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -71876,7 +72057,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *519 + '302': *521 '304': *37 x-github: githubCloudOnly: false @@ -71899,8 +72080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *381 - - *382 + - *383 + - *384 - name: path description: path parameter in: path @@ -71993,7 +72174,7 @@ paths: description: Response content: application/json: - schema: &520 + schema: &522 title: File Commit description: File Commit type: object @@ -72145,7 +72326,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: example-for-creating-a-file: value: @@ -72199,7 +72380,7 @@ paths: schema: oneOf: - *3 - - &558 + - &560 description: Repository rule violation was detected type: object properties: @@ -72220,7 +72401,7 @@ paths: items: type: object properties: - placeholder_id: &691 + placeholder_id: &693 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -72252,8 +72433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *381 - - *382 + - *383 + - *384 - name: path description: path parameter in: path @@ -72314,7 +72495,7 @@ paths: description: Response content: application/json: - schema: *520 + schema: *522 examples: default: value: @@ -72369,8 +72550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *381 - - *382 + - *383 + - *384 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -72493,22 +72674,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *381 - - *382 - - *251 - - *252 + - *383 + - *384 - *253 - *254 + - *255 + - *256 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *255 - - *256 - *257 - *258 + - *259 + - *260 - *88 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -72528,8 +72709,8 @@ paths: default: 30 - *86 - *87 - - *259 - - *260 + - *261 + - *262 responses: '200': description: Response @@ -72537,7 +72718,7 @@ paths: application/json: schema: type: array - items: &523 + items: &525 type: object description: A Dependabot alert. properties: @@ -72583,7 +72764,7 @@ paths: - unknown - direct - transitive - security_advisory: *521 + security_advisory: *523 security_vulnerability: *104 url: *105 html_url: *106 @@ -72614,7 +72795,7 @@ paths: nullable: true maxLength: 280 fixed_at: *110 - auto_dismissed_at: *522 + auto_dismissed_at: *524 required: - number - state @@ -72844,9 +73025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *381 - - *382 - - &524 + - *383 + - *384 + - &526 name: alert_number in: path description: |- @@ -72861,7 +73042,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -72974,9 +73155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *381 - - *382 - - *524 + - *383 + - *384 + - *526 requestBody: required: true content: @@ -73021,7 +73202,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -73150,8 +73331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -73169,7 +73350,7 @@ paths: type: integer secrets: type: array - items: &527 + items: &529 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -73222,16 +73403,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: *526 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73251,15 +73432,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '200': description: Response content: application/json: - schema: *527 + schema: *529 examples: default: value: @@ -73285,9 +73466,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 requestBody: required: true content: @@ -73315,7 +73496,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -73339,9 +73520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *381 - - *382 - - *210 + - *383 + - *384 + - *212 responses: '204': description: Response @@ -73363,8 +73544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *381 - - *382 + - *383 + - *384 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -73524,8 +73705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -73764,8 +73945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -73840,7 +74021,7 @@ paths: - version - url additionalProperties: false - metadata: &528 + metadata: &530 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -73873,7 +74054,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *528 + metadata: *530 resolved: type: object description: A collection of resolved package dependencies. @@ -73886,7 +74067,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *528 + metadata: *530 relationship: type: string description: A notation of whether a dependency is requested @@ -74015,8 +74196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *381 - - *382 + - *383 + - *384 - name: sha description: The SHA recorded at creation time. in: query @@ -74056,9 +74237,9 @@ paths: application/json: schema: type: array - items: *529 + items: *531 examples: - default: *530 + default: *532 headers: Link: *40 x-github: @@ -74124,8 +74305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -74206,7 +74387,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: simple-example: summary: Simple example @@ -74279,9 +74460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *381 - - *382 - - &531 + - *383 + - *384 + - &533 name: deployment_id description: deployment_id parameter in: path @@ -74293,7 +74474,7 @@ paths: description: Response content: application/json: - schema: *529 + schema: *531 examples: default: value: @@ -74358,9 +74539,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *381 - - *382 - - *531 + - *383 + - *384 + - *533 responses: '204': description: Response @@ -74382,9 +74563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *381 - - *382 - - *531 + - *383 + - *384 + - *533 - *17 - *19 responses: @@ -74394,7 +74575,7 @@ paths: application/json: schema: type: array - items: &532 + items: &534 title: Deployment Status description: The status of a deployment. type: object @@ -74485,8 +74666,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 required: - id - node_id @@ -74555,9 +74736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *381 - - *382 - - *531 + - *383 + - *384 + - *533 requestBody: required: true content: @@ -74632,9 +74813,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: &533 + default: &535 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -74690,9 +74871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *381 - - *382 - - *531 + - *383 + - *384 + - *533 - name: status_id in: path required: true @@ -74703,9 +74884,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *534 examples: - default: *533 + default: *535 '404': *6 x-github: githubCloudOnly: false @@ -74732,12 +74913,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 - - *534 - - *535 + - *383 + - *384 - *536 - *537 + - *538 + - *539 - *17 - *19 responses: @@ -74747,9 +74928,9 @@ paths: application/json: schema: type: array - items: *538 + items: *540 examples: - default: *539 + default: *541 '404': *6 '403': *29 '500': *85 @@ -74773,8 +74954,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: alert_number in: path required: true @@ -74786,7 +74967,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *538 + schema: *540 examples: default: value: @@ -74842,8 +75023,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: alert_number in: path required: true @@ -74902,12 +75083,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 - - *223 - - *224 + - *383 + - *384 - *225 - - *540 + - *226 + - *227 + - *542 - *17 - *19 responses: @@ -74917,9 +75098,9 @@ paths: application/json: schema: type: array - items: *541 + items: *543 examples: - default: *542 + default: *544 '404': *6 '403': *29 '500': *85 @@ -74944,8 +75125,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: alert_number in: path required: true @@ -74957,7 +75138,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *541 + schema: *543 examples: default: value: @@ -75015,8 +75196,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: alert_number in: path required: true @@ -75085,8 +75266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -75143,8 +75324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -75161,7 +75342,7 @@ paths: type: integer environments: type: array - items: &544 + items: &546 title: Environment description: Details of a deployment environment type: object @@ -75213,7 +75394,7 @@ paths: type: type: string example: wait_timer - wait_timer: &546 + wait_timer: &548 type: integer example: 30 description: The amount of time to delay a job after @@ -75250,11 +75431,11 @@ paths: items: type: object properties: - type: *543 + type: *545 reviewer: anyOf: - *4 - - *231 + - *233 required: - id - node_id @@ -75274,7 +75455,7 @@ paths: - id - node_id - type - deployment_branch_policy: &547 + deployment_branch_policy: &549 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -75390,9 +75571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *381 - - *382 - - &545 + - *383 + - *384 + - &547 name: environment_name in: path required: true @@ -75405,9 +75586,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: &548 + default: &550 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -75491,9 +75672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 requestBody: required: false content: @@ -75502,7 +75683,7 @@ paths: type: object nullable: true properties: - wait_timer: *546 + wait_timer: *548 prevent_self_review: type: boolean example: false @@ -75519,13 +75700,13 @@ paths: items: type: object properties: - type: *543 + type: *545 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *547 + deployment_branch_policy: *549 additionalProperties: false examples: default: @@ -75545,9 +75726,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *546 examples: - default: *548 + default: *550 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -75571,9 +75752,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 responses: '204': description: Default response @@ -75598,9 +75779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 - *17 - *19 responses: @@ -75618,7 +75799,7 @@ paths: example: 2 branch_policies: type: array - items: &549 + items: &551 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -75675,9 +75856,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 requestBody: required: true content: @@ -75723,9 +75904,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - example-wildcard: &550 + example-wildcard: &552 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -75767,10 +75948,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *381 - - *382 - - *545 - - &551 + - *383 + - *384 + - *547 + - &553 name: branch_policy_id in: path required: true @@ -75782,9 +75963,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75803,10 +75984,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *381 - - *382 - - *545 - - *551 + - *383 + - *384 + - *547 + - *553 requestBody: required: true content: @@ -75834,9 +76015,9 @@ paths: description: Response content: application/json: - schema: *549 + schema: *551 examples: - default: *550 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75855,10 +76036,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *381 - - *382 - - *545 - - *551 + - *383 + - *384 + - *547 + - *553 responses: '204': description: Response @@ -75883,9 +76064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *545 - - *382 - - *381 + - *547 + - *384 + - *383 responses: '200': description: List of deployment protection rules @@ -75901,7 +76082,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &552 + items: &554 title: Deployment protection rule description: Deployment protection rule type: object @@ -75920,7 +76101,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &553 + app: &555 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -76019,9 +76200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *545 - - *382 - - *381 + - *547 + - *384 + - *383 requestBody: content: application/json: @@ -76042,9 +76223,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *552 + schema: *554 examples: - default: &554 + default: &556 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -76079,9 +76260,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *545 - - *382 - - *381 + - *547 + - *384 + - *383 - *19 - *17 responses: @@ -76100,7 +76281,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *553 + items: *555 examples: default: value: @@ -76135,10 +76316,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *381 - - *382 - - *545 - - &555 + - *383 + - *384 + - *547 + - &557 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -76150,9 +76331,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *554 examples: - default: *554 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76173,10 +76354,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *545 - - *382 - - *381 - - *555 + - *547 + - *384 + - *383 + - *557 responses: '204': description: Response @@ -76202,9 +76383,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 - *17 - *19 responses: @@ -76222,9 +76403,9 @@ paths: type: integer secrets: type: array - items: *418 + items: *420 examples: - default: *419 + default: *421 headers: Link: *40 x-github: @@ -76249,17 +76430,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 responses: '200': description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *421 + default: *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76281,18 +76462,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *381 - - *382 - - *545 - - *210 + - *383 + - *384 + - *547 + - *212 responses: '200': description: Response content: application/json: - schema: *418 + schema: *420 examples: - default: *556 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76314,10 +76495,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *381 - - *382 - - *545 - - *210 + - *383 + - *384 + - *547 + - *212 requestBody: required: true content: @@ -76348,7 +76529,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -76374,10 +76555,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *381 - - *382 - - *545 - - *210 + - *383 + - *384 + - *547 + - *212 responses: '204': description: Default response @@ -76402,10 +76583,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *381 - - *382 - - *545 - - *405 + - *383 + - *384 + - *547 + - *407 - *19 responses: '200': @@ -76422,9 +76603,9 @@ paths: type: integer variables: type: array - items: *422 + items: *424 examples: - default: *423 + default: *425 headers: Link: *40 x-github: @@ -76447,9 +76628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *381 - - *382 - - *545 + - *383 + - *384 + - *547 requestBody: required: true content: @@ -76476,7 +76657,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -76501,18 +76682,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *381 - - *382 - - *545 - - *213 + - *383 + - *384 + - *547 + - *215 responses: '200': description: Response content: application/json: - schema: *422 + schema: *424 examples: - default: *557 + default: *559 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76533,10 +76714,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *381 - - *382 - - *213 - - *545 + - *383 + - *384 + - *215 + - *547 requestBody: required: true content: @@ -76578,10 +76759,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *381 - - *382 - - *213 - - *545 + - *383 + - *384 + - *215 + - *547 responses: '204': description: Response @@ -76603,8 +76784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -76614,7 +76795,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: 200-response: value: @@ -76681,8 +76862,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *381 - - *382 + - *383 + - *384 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -76704,7 +76885,7 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: default: value: @@ -76841,8 +77022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -76874,9 +77055,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *396 + default: *398 '400': *14 '422': *15 '403': *29 @@ -76897,8 +77078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -76957,8 +77138,8 @@ paths: application/json: schema: oneOf: - - *183 - - *558 + - *185 + - *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76983,8 +77164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *381 - - *382 + - *383 + - *384 - name: file_sha in: path required: true @@ -77083,8 +77264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -77193,7 +77374,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &561 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -77407,15 +77588,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *381 - - *382 - - *503 + - *383 + - *384 + - *505 responses: '200': description: Response content: application/json: - schema: *559 + schema: *561 examples: default: value: @@ -77471,9 +77652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *381 - - *382 - - &560 + - *383 + - *384 + - &562 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -77490,7 +77671,7 @@ paths: application/json: schema: type: array - items: &561 + items: &563 title: Git Reference description: Git references within a repository type: object @@ -77565,17 +77746,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *381 - - *382 - - *560 + - *383 + - *384 + - *562 responses: '200': description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: &562 + default: &564 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -77604,8 +77785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -77634,9 +77815,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *562 + default: *564 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -77662,9 +77843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *381 - - *382 - - *560 + - *383 + - *384 + - *562 requestBody: required: true content: @@ -77693,9 +77874,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *563 examples: - default: *562 + default: *564 '422': *15 '409': *96 x-github: @@ -77713,9 +77894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *381 - - *382 - - *560 + - *383 + - *384 + - *562 responses: '204': description: Response @@ -77770,8 +77951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -77838,7 +78019,7 @@ paths: description: Response content: application/json: - schema: &564 + schema: &566 title: Git Tag description: Metadata for a Git tag type: object @@ -77889,7 +78070,7 @@ paths: - sha - type - url - verification: *563 + verification: *565 required: - sha - url @@ -77899,7 +78080,7 @@ paths: - tag - message examples: - default: &565 + default: &567 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -77972,8 +78153,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *381 - - *382 + - *383 + - *384 - name: tag_sha in: path required: true @@ -77984,9 +78165,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *566 examples: - default: *565 + default: *567 '404': *6 '409': *96 x-github: @@ -78010,8 +78191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -78084,7 +78265,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &568 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -78180,8 +78361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *381 - - *382 + - *383 + - *384 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -78204,7 +78385,7 @@ paths: description: Response content: application/json: - schema: *566 + schema: *568 examples: default-response: summary: Default response @@ -78263,8 +78444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -78274,7 +78455,7 @@ paths: application/json: schema: type: array - items: &567 + items: &569 title: Webhook description: Webhooks for repositories. type: object @@ -78328,7 +78509,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &832 + last_response: &834 title: Hook Response type: object properties: @@ -78402,8 +78583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -78455,9 +78636,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: &568 + default: &570 value: type: Repository id: 12345678 @@ -78505,17 +78686,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 responses: '200': description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 '404': *6 x-github: githubCloudOnly: false @@ -78535,9 +78716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 requestBody: required: true content: @@ -78582,9 +78763,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 '422': *15 '404': *6 x-github: @@ -78605,9 +78786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 responses: '204': description: Response @@ -78631,9 +78812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 responses: '200': description: Response @@ -78660,9 +78841,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 requestBody: required: false content: @@ -78706,11 +78887,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 - *17 - - *269 + - *271 responses: '200': description: Response @@ -78718,9 +78899,9 @@ paths: application/json: schema: type: array - items: *270 + items: *272 examples: - default: *271 + default: *273 '400': *14 '422': *15 x-github: @@ -78739,18 +78920,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 - *16 responses: '200': description: Response content: application/json: - schema: *272 + schema: *274 examples: - default: *273 + default: *275 '400': *14 '422': *15 x-github: @@ -78769,9 +78950,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 - *16 responses: '202': *39 @@ -78794,9 +78975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 responses: '204': description: Response @@ -78821,9 +79002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *381 - - *382 - - *268 + - *383 + - *384 + - *270 responses: '204': description: Response @@ -78881,14 +79062,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: &569 + schema: &571 title: Import description: A repository import from an external source. type: object @@ -78987,7 +79168,7 @@ paths: - html_url - authors_url examples: - default: &572 + default: &574 value: vcs: subversion use_lfs: true @@ -79003,7 +79184,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &570 + '503': &572 description: Unavailable due to service under maintenance. content: application/json: @@ -79032,8 +79213,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -79081,7 +79262,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: default: value: @@ -79106,7 +79287,7 @@ paths: type: string '422': *15 '404': *6 - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79134,8 +79315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -79184,7 +79365,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: example-1: summary: Example 1 @@ -79232,7 +79413,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79255,12 +79436,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79286,9 +79467,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *381 - - *382 - - &775 + - *383 + - *384 + - &777 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -79302,7 +79483,7 @@ paths: application/json: schema: type: array - items: &571 + items: &573 title: Porter Author description: Porter Author type: object @@ -79356,7 +79537,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79381,8 +79562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *381 - - *382 + - *383 + - *384 - name: author_id in: path required: true @@ -79412,7 +79593,7 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: default: value: @@ -79425,7 +79606,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79449,8 +79630,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -79491,7 +79672,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79519,8 +79700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -79547,11 +79728,11 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *572 + default: *574 '422': *15 - '503': *570 + '503': *572 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79574,8 +79755,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -79583,8 +79764,8 @@ paths: application/json: schema: *22 examples: - default: *573 - '301': *395 + default: *575 + '301': *397 '404': *6 x-github: githubCloudOnly: false @@ -79604,8 +79785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -79613,12 +79794,12 @@ paths: application/json: schema: anyOf: - - *286 + - *288 - type: object properties: {} additionalProperties: false examples: - default: &575 + default: &577 value: limit: collaborators_only origin: repository @@ -79643,13 +79824,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: application/json: - schema: *574 + schema: *576 examples: default: summary: Example request body @@ -79661,9 +79842,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *575 + default: *577 '409': description: Response x-github: @@ -79685,8 +79866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -79709,8 +79890,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -79720,9 +79901,9 @@ paths: application/json: schema: type: array - items: *576 + items: *578 examples: - default: &768 + default: &770 value: - id: 1 repository: @@ -79853,9 +80034,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *381 - - *382 - - *290 + - *383 + - *384 + - *292 requestBody: required: false content: @@ -79884,7 +80065,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *578 examples: default: value: @@ -80015,9 +80196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *381 - - *382 - - *290 + - *383 + - *384 + - *292 responses: '204': description: Response @@ -80048,8 +80229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *381 - - *382 + - *383 + - *384 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -80097,7 +80278,7 @@ paths: required: false schema: type: string - - *294 + - *296 - name: sort description: What to sort results by. in: query @@ -80110,7 +80291,7 @@ paths: - comments default: created - *88 - - *145 + - *147 - *17 - *19 responses: @@ -80120,9 +80301,9 @@ paths: application/json: schema: type: array - items: *155 + items: *157 examples: - default: &587 + default: &589 value: - id: 1 node_id: MDU6SXNzdWUx @@ -80270,7 +80451,7 @@ paths: state_reason: completed headers: Link: *40 - '301': *395 + '301': *397 '422': *15 '404': *6 x-github: @@ -80299,8 +80480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -80382,9 +80563,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: &582 + default: &584 value: id: 1 node_id: MDU6SXNzdWUx @@ -80540,7 +80721,7 @@ paths: '422': *15 '503': *134 '404': *6 - '410': *392 + '410': *394 x-github: triggersNotification: true githubCloudOnly: false @@ -80568,9 +80749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *381 - - *382 - - *165 + - *383 + - *384 + - *167 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -80580,7 +80761,7 @@ paths: enum: - asc - desc - - *145 + - *147 - *17 - *19 responses: @@ -80590,9 +80771,9 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: &584 + default: &586 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80650,17 +80831,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '200': description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: &578 + default: &580 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -80714,9 +80895,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -80738,9 +80919,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *578 + default: *580 '422': *15 x-github: githubCloudOnly: false @@ -80758,9 +80939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '204': description: Response @@ -80780,9 +80961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -80808,9 +80989,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 '404': *6 @@ -80831,9 +81012,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -80865,16 +81046,16 @@ paths: description: Reaction exists content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Reaction created content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -80896,10 +81077,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *381 - - *382 - - *154 - - *373 + - *383 + - *384 + - *156 + - *375 responses: '204': description: Response @@ -80919,8 +81100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -80930,7 +81111,7 @@ paths: application/json: schema: type: array - items: &581 + items: &583 title: Issue Event description: Issue Event type: object @@ -80973,8 +81154,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *579 - required: *580 + properties: *581 + required: *582 nullable: true label: title: Issue Event Label @@ -81018,7 +81199,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *231 + requested_team: *233 dismissed_review: title: Issue Event Dismissed Review type: object @@ -81083,7 +81264,7 @@ paths: required: - from - to - author_association: *142 + author_association: *144 lock_reason: type: string nullable: true @@ -81096,8 +81277,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 required: - id - node_id @@ -81281,8 +81462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *381 - - *382 + - *383 + - *384 - name: event_id in: path required: true @@ -81293,7 +81474,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: default: value: @@ -81486,7 +81667,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *392 + '410': *394 '403': *29 x-github: githubCloudOnly: false @@ -81520,9 +81701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *381 - - *382 - - &583 + - *383 + - *384 + - &585 name: issue_number description: The number that identifies the issue. in: path @@ -81534,12 +81715,12 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 - '301': *395 + default: *584 + '301': *397 '404': *6 - '410': *392 + '410': *394 '304': *37 x-github: githubCloudOnly: false @@ -81564,9 +81745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: false content: @@ -81669,15 +81850,15 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 '422': *15 '503': *134 '403': *29 - '301': *395 + '301': *397 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81695,9 +81876,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: false content: @@ -81723,9 +81904,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81741,9 +81922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: content: application/json: @@ -81768,9 +81949,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81792,9 +81973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - name: assignee in: path required: true @@ -81834,10 +82015,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *381 - - *382 - - *583 - - *145 + - *383 + - *384 + - *585 + - *147 - *17 - *19 responses: @@ -81847,13 +82028,13 @@ paths: application/json: schema: type: array - items: *577 + items: *579 examples: - default: *584 + default: *586 headers: Link: *40 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81882,9 +82063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: true content: @@ -81906,16 +82087,16 @@ paths: description: Response content: application/json: - schema: *577 + schema: *579 examples: - default: *578 + default: *580 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *392 + '410': *394 '422': *15 '404': *6 x-github: @@ -81935,9 +82116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - *17 - *19 responses: @@ -81951,7 +82132,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &588 + - &590 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -81982,8 +82163,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 label: type: object properties: @@ -82005,7 +82186,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &589 + - &591 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -82036,8 +82217,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 label: type: object properties: @@ -82125,8 +82306,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 assignee: *4 assigner: *4 required: @@ -82141,7 +82322,7 @@ paths: - performed_via_github_app - assignee - assigner - - &590 + - &592 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -82172,8 +82353,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 milestone: type: object properties: @@ -82192,7 +82373,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &591 + - &593 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -82223,8 +82404,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 milestone: type: object properties: @@ -82243,7 +82424,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &592 + - &594 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -82274,8 +82455,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 rename: type: object properties: @@ -82297,7 +82478,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &593 + - &595 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -82328,10 +82509,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 review_requester: *4 - requested_team: *231 + requested_team: *233 requested_reviewer: *4 required: - review_requester @@ -82344,7 +82525,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &594 + - &596 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -82375,10 +82556,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 review_requester: *4 - requested_team: *231 + requested_team: *233 requested_reviewer: *4 required: - review_requester @@ -82391,7 +82572,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &595 + - &597 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -82422,8 +82603,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 dismissed_review: type: object properties: @@ -82451,7 +82632,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &596 + - &598 title: Locked Issue Event description: Locked Issue Event type: object @@ -82482,8 +82663,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 lock_reason: type: string example: '"off-topic"' @@ -82499,7 +82680,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &597 + - &599 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -82530,8 +82711,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 project_card: type: object properties: @@ -82565,7 +82746,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &598 + - &600 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -82596,8 +82777,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 project_card: type: object properties: @@ -82631,7 +82812,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &599 + - &601 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -82662,8 +82843,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 project_card: type: object properties: @@ -82697,7 +82878,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &600 + - &602 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -82788,7 +82969,7 @@ paths: color: red headers: Link: *40 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82805,9 +82986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - *17 - *19 responses: @@ -82817,7 +82998,7 @@ paths: application/json: schema: type: array - items: &585 + items: &587 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -82864,7 +83045,7 @@ paths: - color - default examples: - default: &586 + default: &588 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -82882,9 +83063,9 @@ paths: default: false headers: Link: *40 - '301': *395 + '301': *397 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82901,9 +83082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: false content: @@ -82962,12 +83143,12 @@ paths: application/json: schema: type: array - items: *585 + items: *587 examples: - default: *586 - '301': *395 + default: *588 + '301': *397 '404': *6 - '410': *392 + '410': *394 '422': *15 x-github: githubCloudOnly: false @@ -82984,9 +83165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: false content: @@ -83046,12 +83227,12 @@ paths: application/json: schema: type: array - items: *585 + items: *587 examples: - default: *586 - '301': *395 + default: *588 + '301': *397 '404': *6 - '410': *392 + '410': *394 '422': *15 x-github: githubCloudOnly: false @@ -83068,15 +83249,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 responses: '204': description: Response - '301': *395 + '301': *397 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83095,9 +83276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - name: name in: path required: true @@ -83110,7 +83291,7 @@ paths: application/json: schema: type: array - items: *585 + items: *587 examples: default: value: @@ -83121,9 +83302,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *395 + '301': *397 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83143,9 +83324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: false content: @@ -83173,7 +83354,7 @@ paths: '204': description: Response '403': *29 - '410': *392 + '410': *394 '404': *6 '422': *15 x-github: @@ -83191,9 +83372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 responses: '204': description: Response @@ -83215,9 +83396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -83243,13 +83424,13 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83267,9 +83448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: true content: @@ -83301,16 +83482,16 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -83332,10 +83513,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *381 - - *382 - - *583 - - *373 + - *383 + - *384 + - *585 + - *375 responses: '204': description: Response @@ -83364,9 +83545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: true content: @@ -83388,9 +83569,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -83423,9 +83604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - *17 - *19 responses: @@ -83435,13 +83616,13 @@ paths: application/json: schema: type: array - items: *155 + items: *157 examples: - default: *587 + default: *589 headers: Link: *40 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83469,9 +83650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: true content: @@ -83498,16 +83679,16 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *392 + '410': *394 '422': *15 '404': *6 x-github: @@ -83527,9 +83708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 requestBody: required: true content: @@ -83560,9 +83741,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: *582 + default: *584 '403': *29 '404': *6 '422': *7 @@ -83584,9 +83765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *381 - - *382 - - *583 + - *383 + - *384 + - *585 - *17 - *19 responses: @@ -83601,8 +83782,6 @@ paths: description: Timeline Event type: object anyOf: - - *588 - - *589 - *590 - *591 - *592 @@ -83614,6 +83793,8 @@ paths: - *598 - *599 - *600 + - *601 + - *602 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -83656,7 +83837,7 @@ paths: issue_url: type: string format: uri - author_association: *142 + author_association: *144 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -83666,9 +83847,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 - reactions: *143 + properties: *142 + required: *143 + reactions: *145 required: - event - actor @@ -83699,7 +83880,7 @@ paths: properties: type: type: string - issue: *155 + issue: *157 required: - event - created_at @@ -83895,7 +84076,7 @@ paths: type: string body_text: type: string - author_association: *142 + author_association: *144 required: - event - id @@ -83918,7 +84099,7 @@ paths: type: string comments: type: array - items: &621 + items: &623 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -84007,7 +84188,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *142 + author_association: *144 _links: type: object properties: @@ -84091,7 +84272,7 @@ paths: enum: - line - file - reactions: *143 + reactions: *145 body_html: type: string example: '"

comment body

"' @@ -84127,7 +84308,7 @@ paths: type: string comments: type: array - items: *501 + items: *503 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -84158,8 +84339,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 assignee: *4 required: - id @@ -84202,8 +84383,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 assignee: *4 required: - id @@ -84246,8 +84427,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 state_reason: type: string nullable: true @@ -84416,7 +84597,7 @@ paths: headers: Link: *40 '404': *6 - '410': *392 + '410': *394 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84433,8 +84614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -84444,7 +84625,7 @@ paths: application/json: schema: type: array - items: &601 + items: &603 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -84509,8 +84690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -84546,9 +84727,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &602 + default: &604 value: id: 1 key: ssh-rsa AAA... @@ -84582,9 +84763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *381 - - *382 - - &603 + - *383 + - *384 + - &605 name: key_id description: The unique identifier of the key. in: path @@ -84596,9 +84777,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *602 + default: *604 '404': *6 x-github: githubCloudOnly: false @@ -84616,9 +84797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *381 - - *382 - - *603 + - *383 + - *384 + - *605 responses: '204': description: Response @@ -84638,8 +84819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -84649,9 +84830,9 @@ paths: application/json: schema: type: array - items: *585 + items: *587 examples: - default: *586 + default: *588 headers: Link: *40 '404': *6 @@ -84672,8 +84853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -84709,9 +84890,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: &604 + default: &606 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84743,8 +84924,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *381 - - *382 + - *383 + - *384 - name: name in: path required: true @@ -84755,9 +84936,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: - default: *604 + default: *606 '404': *6 x-github: githubCloudOnly: false @@ -84774,8 +84955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *381 - - *382 + - *383 + - *384 - name: name in: path required: true @@ -84814,7 +84995,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *587 examples: default: value: @@ -84840,8 +85021,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *381 - - *382 + - *383 + - *384 - name: name in: path required: true @@ -84867,8 +85048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -84904,8 +85085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '202': *39 '403': @@ -84933,8 +85114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -84960,9 +85141,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *381 - - *382 - - *477 + - *383 + - *384 + - *479 responses: '200': description: Response @@ -85024,8 +85205,8 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true required: - _links @@ -85107,8 +85288,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -85173,8 +85354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -85208,9 +85389,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *502 + schema: *504 examples: - default: *605 + default: *607 '204': description: Response when already merged '404': @@ -85235,8 +85416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *381 - - *382 + - *383 + - *384 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -85277,12 +85458,12 @@ paths: application/json: schema: type: array - items: &606 + items: &608 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *506 - required: *507 + properties: *508 + required: *509 examples: default: value: @@ -85338,8 +85519,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -85379,9 +85560,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: &607 + default: &609 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -85440,9 +85621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *381 - - *382 - - &608 + - *383 + - *384 + - &610 name: milestone_number description: The number that identifies the milestone. in: path @@ -85454,9 +85635,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 '404': *6 x-github: githubCloudOnly: false @@ -85473,9 +85654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *381 - - *382 - - *608 + - *383 + - *384 + - *610 requestBody: required: false content: @@ -85513,9 +85694,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: - default: *607 + default: *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85531,9 +85712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *381 - - *382 - - *608 + - *383 + - *384 + - *610 responses: '204': description: Response @@ -85554,9 +85735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *381 - - *382 - - *608 + - *383 + - *384 + - *610 - *17 - *19 responses: @@ -85566,9 +85747,9 @@ paths: application/json: schema: type: array - items: *585 + items: *587 examples: - default: *586 + default: *588 headers: Link: *40 x-github: @@ -85587,12 +85768,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *381 - - *382 - - *609 - - *610 - - *145 + - *383 + - *384 - *611 + - *612 + - *147 + - *613 - *17 - *19 responses: @@ -85602,9 +85783,9 @@ paths: application/json: schema: type: array - items: *168 + items: *170 examples: - default: *612 + default: *614 headers: Link: *40 x-github: @@ -85628,8 +85809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -85687,14 +85868,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: &613 + schema: &615 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -85819,7 +86000,7 @@ paths: - custom_404 - public examples: - default: &614 + default: &616 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -85860,8 +86041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -85915,9 +86096,9 @@ paths: description: Response content: application/json: - schema: *613 + schema: *615 examples: - default: *614 + default: *616 '422': *15 '409': *96 x-github: @@ -85940,8 +86121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -86048,8 +86229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -86075,8 +86256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -86086,7 +86267,7 @@ paths: application/json: schema: type: array - items: &615 + items: &617 title: Page Build description: Page Build type: object @@ -86180,8 +86361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *381 - - *382 + - *383 + - *384 responses: '201': description: Response @@ -86226,16 +86407,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: &616 + default: &618 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -86283,8 +86464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *381 - - *382 + - *383 + - *384 - name: build_id in: path required: true @@ -86295,9 +86476,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *617 examples: - default: *616 + default: *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86317,8 +86498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -86423,9 +86604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *381 - - *382 - - &617 + - *383 + - *384 + - &619 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -86483,9 +86664,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *381 - - *382 - - *617 + - *383 + - *384 + - *619 responses: '204': *120 '404': *6 @@ -86512,8 +86693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -86744,7 +86925,7 @@ paths: description: Empty response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -86771,8 +86952,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Private vulnerability reporting status @@ -86809,8 +86990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': *120 '422': *14 @@ -86831,8 +87012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': *120 '422': *14 @@ -86855,8 +87036,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *381 - - *382 + - *383 + - *384 - name: state description: Indicates the state of the projects to return. in: query @@ -86877,7 +87058,7 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: default: value: @@ -86917,7 +87098,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *392 + '410': *394 '422': *7 x-github: githubCloudOnly: false @@ -86940,8 +87121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -86967,13 +87148,13 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: - default: *391 + default: *393 '401': *25 '403': *29 '404': *6 - '410': *392 + '410': *394 '422': *7 x-github: githubCloudOnly: false @@ -86996,8 +87177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -87005,7 +87186,7 @@ paths: application/json: schema: type: array - items: *327 + items: *329 examples: default: value: @@ -87036,8 +87217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -87049,7 +87230,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *327 + items: *329 required: - properties examples: @@ -87099,8 +87280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *381 - - *382 + - *383 + - *384 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -87160,9 +87341,9 @@ paths: application/json: schema: type: array - items: *618 + items: *620 examples: - default: *619 + default: *621 headers: Link: *40 '304': *37 @@ -87194,8 +87375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -87260,7 +87441,7 @@ paths: description: Response content: application/json: - schema: &623 + schema: &625 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -87371,8 +87552,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *506 - required: *507 + properties: *508 + required: *509 nullable: true active_lock_reason: type: string @@ -87417,7 +87598,7 @@ paths: nullable: true requested_teams: type: array - items: *348 + items: *350 nullable: true head: type: object @@ -87456,14 +87637,14 @@ paths: _links: type: object properties: - comments: *508 - commits: *508 - statuses: *508 - html: *508 - issue: *508 - review_comments: *508 - review_comment: *508 - self: *508 + comments: *510 + commits: *510 + statuses: *510 + html: *510 + issue: *510 + review_comments: *510 + review_comment: *510 + self: *510 required: - comments - commits @@ -87473,8 +87654,8 @@ paths: - review_comments - review_comment - self - author_association: *142 - auto_merge: *620 + author_association: *144 + auto_merge: *622 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -87566,7 +87747,7 @@ paths: - merged_by - review_comments examples: - default: &624 + default: &626 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -88093,8 +88274,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: sort in: query required: false @@ -88113,7 +88294,7 @@ paths: enum: - asc - desc - - *145 + - *147 - *17 - *19 responses: @@ -88123,9 +88304,9 @@ paths: application/json: schema: type: array - items: *621 + items: *623 examples: - default: &626 + default: &628 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88202,17 +88383,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '200': description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: &622 + default: &624 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -88287,9 +88468,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -88311,9 +88492,9 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: - default: *622 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88329,9 +88510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 responses: '204': description: Response @@ -88352,9 +88533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -88380,9 +88561,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 '404': *6 @@ -88403,9 +88584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *381 - - *382 - - *154 + - *383 + - *384 + - *156 requestBody: required: true content: @@ -88437,16 +88618,16 @@ paths: description: Reaction exists content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Reaction created content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -88468,10 +88649,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *381 - - *382 - - *154 - - *373 + - *383 + - *384 + - *156 + - *375 responses: '204': description: Response @@ -88514,9 +88695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *381 - - *382 - - &625 + - *383 + - *384 + - &627 name: pull_number description: The number that identifies the pull request. in: path @@ -88529,9 +88710,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *623 + schema: *625 examples: - default: *624 + default: *626 '304': *37 '404': *6 '406': @@ -88566,9 +88747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: false content: @@ -88610,9 +88791,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *625 examples: - default: *624 + default: *626 '422': *15 '403': *29 x-github: @@ -88634,9 +88815,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: true content: @@ -88696,17 +88877,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '401': *25 '403': *29 '404': *6 @@ -88736,10 +88917,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *381 - - *382 - - *625 - - *165 + - *383 + - *384 + - *627 + - *167 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -88749,7 +88930,7 @@ paths: enum: - asc - desc - - *145 + - *147 - *17 - *19 responses: @@ -88759,9 +88940,9 @@ paths: application/json: schema: type: array - items: *621 + items: *623 examples: - default: *626 + default: *628 headers: Link: *40 x-github: @@ -88794,9 +88975,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: true content: @@ -88901,7 +89082,7 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: example-for-a-multi-line-comment: value: @@ -88989,10 +89170,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *381 - - *382 - - *625 - - *154 + - *383 + - *384 + - *627 + - *156 requestBody: required: true content: @@ -89014,7 +89195,7 @@ paths: description: Response content: application/json: - schema: *621 + schema: *623 examples: default: value: @@ -89100,9 +89281,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 - *17 - *19 responses: @@ -89112,9 +89293,9 @@ paths: application/json: schema: type: array - items: *502 + items: *504 examples: - default: *627 + default: *629 headers: Link: *40 x-github: @@ -89144,9 +89325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 - *17 - *19 responses: @@ -89156,7 +89337,7 @@ paths: application/json: schema: type: array - items: *517 + items: *519 examples: default: value: @@ -89194,9 +89375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 responses: '204': description: Response if pull request has been merged @@ -89219,9 +89400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: false content: @@ -89332,9 +89513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 responses: '200': description: Response @@ -89350,7 +89531,7 @@ paths: items: *4 teams: type: array - items: *231 + items: *233 required: - users - teams @@ -89409,9 +89590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: false content: @@ -89448,7 +89629,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: default: value: @@ -89984,9 +90165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: true content: @@ -90020,7 +90201,7 @@ paths: description: Response content: application/json: - schema: *618 + schema: *620 examples: default: value: @@ -90525,9 +90706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 - *17 - *19 responses: @@ -90537,7 +90718,7 @@ paths: application/json: schema: type: array - items: &628 + items: &630 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -90606,7 +90787,7 @@ paths: type: string body_text: type: string - author_association: *142 + author_association: *144 required: - id - node_id @@ -90688,9 +90869,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: false content: @@ -90776,9 +90957,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: - default: &630 + default: &632 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90841,10 +91022,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 - - &629 + - *383 + - *384 + - *627 + - &631 name: review_id description: The unique identifier of the review. in: path @@ -90856,9 +91037,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: - default: &631 + default: &633 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -90917,10 +91098,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 - - *629 + - *383 + - *384 + - *627 + - *631 requestBody: required: true content: @@ -90943,7 +91124,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: default: value: @@ -91005,18 +91186,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 - - *629 + - *383 + - *384 + - *627 + - *631 responses: '200': description: Response content: application/json: - schema: *628 + schema: *630 examples: - default: *630 + default: *632 '422': *7 '404': *6 x-github: @@ -91043,10 +91224,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *381 - - *382 - - *625 - - *629 + - *383 + - *384 + - *627 + - *631 - *17 - *19 responses: @@ -91125,13 +91306,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *142 + author_association: *144 _links: type: object properties: - self: *508 - html: *508 - pull_request: *508 + self: *510 + html: *510 + pull_request: *510 required: - self - html @@ -91140,7 +91321,7 @@ paths: type: string body_html: type: string - reactions: *143 + reactions: *145 side: description: The side of the first line of the range for a multi-line comment. @@ -91281,10 +91462,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 - - *629 + - *383 + - *384 + - *627 + - *631 requestBody: required: true content: @@ -91312,7 +91493,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: default: value: @@ -91375,10 +91556,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *381 - - *382 - - *625 - - *629 + - *383 + - *384 + - *627 + - *631 requestBody: required: true content: @@ -91413,9 +91594,9 @@ paths: description: Response content: application/json: - schema: *628 + schema: *630 examples: - default: *631 + default: *633 '404': *6 '422': *7 '403': *29 @@ -91437,9 +91618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *381 - - *382 - - *625 + - *383 + - *384 + - *627 requestBody: required: false content: @@ -91502,8 +91683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *381 - - *382 + - *383 + - *384 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -91516,9 +91697,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: &633 + default: &635 value: type: file encoding: base64 @@ -91560,8 +91741,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *381 - - *382 + - *383 + - *384 - name: dir description: The alternate path to look for a README file in: path @@ -91581,9 +91762,9 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: - default: *633 + default: *635 '404': *6 '422': *15 x-github: @@ -91605,8 +91786,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -91616,7 +91797,7 @@ paths: application/json: schema: type: array - items: &634 + items: &636 title: Release description: A release. type: object @@ -91679,7 +91860,7 @@ paths: author: *4 assets: type: array - items: &635 + items: &637 title: Release Asset description: Data related to a release. type: object @@ -91754,7 +91935,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *143 + reactions: *145 required: - assets_url - upload_url @@ -91865,8 +92046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -91942,9 +92123,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: &638 + default: &640 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -92048,9 +92229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *381 - - *382 - - &636 + - *383 + - *384 + - &638 name: asset_id description: The unique identifier of the asset. in: path @@ -92062,9 +92243,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *637 examples: - default: &637 + default: &639 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -92099,7 +92280,7 @@ paths: type: User site_admin: false '404': *6 - '302': *519 + '302': *521 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92115,9 +92296,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *381 - - *382 - - *636 + - *383 + - *384 + - *638 requestBody: required: false content: @@ -92145,9 +92326,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *637 examples: - default: *637 + default: *639 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92163,9 +92344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *381 - - *382 - - *636 + - *383 + - *384 + - *638 responses: '204': description: Response @@ -92189,8 +92370,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -92275,16 +92456,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *638 + default: *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92301,8 +92482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *381 - - *382 + - *383 + - *384 - name: tag description: tag parameter in: path @@ -92315,9 +92496,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *638 + default: *640 '404': *6 x-github: githubCloudOnly: false @@ -92339,9 +92520,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *381 - - *382 - - &639 + - *383 + - *384 + - &641 name: release_id description: The unique identifier of the release. in: path @@ -92355,9 +92536,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *634 + schema: *636 examples: - default: *638 + default: *640 '401': description: Unauthorized x-github: @@ -92375,9 +92556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 requestBody: required: false content: @@ -92441,9 +92622,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *636 examples: - default: *638 + default: *640 '404': description: Not Found if the discussion category name is invalid content: @@ -92464,9 +92645,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 responses: '204': description: Response @@ -92486,9 +92667,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 - *17 - *19 responses: @@ -92498,7 +92679,7 @@ paths: application/json: schema: type: array - items: *635 + items: *637 examples: default: value: @@ -92580,9 +92761,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 - name: name in: query required: true @@ -92608,7 +92789,7 @@ paths: description: Response for successful upload content: application/json: - schema: *635 + schema: *637 examples: response-for-successful-upload: value: @@ -92663,9 +92844,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -92689,9 +92870,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 '404': *6 @@ -92712,9 +92893,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *381 - - *382 - - *639 + - *383 + - *384 + - *641 requestBody: required: true content: @@ -92744,16 +92925,16 @@ paths: description: Reaction exists content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '201': description: Reaction created content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 '422': *15 x-github: githubCloudOnly: false @@ -92775,10 +92956,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *381 - - *382 - - *639 - - *373 + - *383 + - *384 + - *641 + - *375 responses: '204': description: Response @@ -92802,9 +92983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *381 - - *382 - - *440 + - *383 + - *384 + - *442 - *17 - *19 responses: @@ -92820,8 +93001,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *640 - - &642 + - *642 + - &644 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -92840,66 +93021,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *641 - - *642 - allOf: - *643 - - *642 - - allOf: - *644 - - *642 - allOf: - *645 - - *642 + - *644 - allOf: - *646 - - *642 + - *644 - allOf: - *647 - - *642 + - *644 - allOf: - *648 - - *642 + - *644 - allOf: - *649 - - *642 + - *644 - allOf: - *650 - - *642 + - *644 - allOf: - *651 - - *642 + - *644 - allOf: - *652 - - *642 + - *644 - allOf: - *653 - - *642 + - *644 - allOf: - *654 - - *642 + - *644 - allOf: - *655 - - *642 + - *644 - allOf: - *656 - - *642 + - *644 - allOf: - *657 - - *642 + - *644 - allOf: - *658 - - *642 + - *644 - allOf: - *659 - - *642 + - *644 - allOf: - *660 - - *642 + - *644 - allOf: - *661 - - *642 + - *644 + - allOf: + - *662 + - *644 + - allOf: + - *663 + - *644 examples: default: value: @@ -92938,8 +93119,8 @@ paths: category: repos subcategory: rules parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 - name: includes_parents @@ -92950,7 +93131,7 @@ paths: schema: type: boolean default: true - - *662 + - *664 responses: '200': description: Response @@ -93005,8 +93186,8 @@ paths: category: repos subcategory: rules parameters: - - *381 - - *382 + - *383 + - *384 requestBody: description: Request body required: true @@ -93068,7 +93249,7 @@ paths: application/json: schema: *130 examples: - default: &671 + default: &673 value: id: 42 name: super cool ruleset @@ -93115,12 +93296,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *381 - - *382 - - *663 - - *225 - - *664 + - *383 + - *384 - *665 + - *227 + - *666 + - *667 - *17 - *19 responses: @@ -93128,9 +93309,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - default: *667 + default: *669 '404': *6 '500': *85 x-github: @@ -93151,17 +93332,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *381 - - *382 - - *668 + - *383 + - *384 + - *670 responses: '200': description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 '404': *6 '500': *85 x-github: @@ -93189,8 +93370,8 @@ paths: category: repos subcategory: rules parameters: - - *381 - - *382 + - *383 + - *384 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93212,7 +93393,7 @@ paths: application/json: schema: *130 examples: - default: *671 + default: *673 '404': *6 '500': *85 put: @@ -93230,8 +93411,8 @@ paths: category: repos subcategory: rules parameters: - - *381 - - *382 + - *383 + - *384 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93295,7 +93476,7 @@ paths: application/json: schema: *130 examples: - default: *671 + default: *673 '404': *6 '500': *85 delete: @@ -93313,8 +93494,8 @@ paths: category: repos subcategory: rules parameters: - - *381 - - *382 + - *383 + - *384 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93337,8 +93518,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 - name: ruleset_id @@ -93356,7 +93537,7 @@ paths: type: array items: *133 examples: - default: *335 + default: *337 '404': *6 '500': *85 x-github: @@ -93375,8 +93556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *381 - - *382 + - *383 + - *384 - name: ruleset_id description: The ID of the ruleset. in: path @@ -93394,7 +93575,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *338 examples: default: value: @@ -93449,21 +93630,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *381 - - *382 - - *337 - - *338 + - *383 + - *384 - *339 - *340 + - *341 + - *342 - *88 - *19 - *17 - - *672 - - *673 - - *341 - - *342 + - *674 + - *675 - *343 - *344 + - *345 + - *346 responses: '200': description: Response @@ -93471,7 +93652,7 @@ paths: application/json: schema: type: array - items: &677 + items: &679 type: object properties: number: *100 @@ -93490,8 +93671,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *674 - resolution: *675 + state: *676 + resolution: *677 resolved_at: type: string format: date-time @@ -93587,7 +93768,7 @@ paths: pull request. ' - oneOf: *676 + oneOf: *678 nullable: true has_more_locations: type: boolean @@ -93737,16 +93918,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *381 - - *382 - - *471 - - *344 + - *383 + - *384 + - *473 + - *346 responses: '200': description: Response content: application/json: - schema: *677 + schema: *679 examples: default: value: @@ -93798,9 +93979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 requestBody: required: true content: @@ -93808,8 +93989,8 @@ paths: schema: type: object properties: - state: *674 - resolution: *675 + state: *676 + resolution: *677 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -93827,7 +94008,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *679 examples: default: value: @@ -93902,9 +94083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *381 - - *382 - - *471 + - *383 + - *384 + - *473 - *19 - *17 responses: @@ -93915,7 +94096,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &853 + items: &855 type: object properties: type: @@ -93941,8 +94122,6 @@ paths: example: commit details: oneOf: - - *678 - - *679 - *680 - *681 - *682 @@ -93954,6 +94133,8 @@ paths: - *688 - *689 - *690 + - *691 + - *692 examples: default: value: @@ -94039,8 +94220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -94048,14 +94229,14 @@ paths: schema: type: object properties: - reason: &692 + reason: &694 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *691 + placeholder_id: *693 required: - reason - placeholder_id @@ -94072,7 +94253,7 @@ paths: schema: type: object properties: - reason: *692 + reason: *694 expire_at: type: string format: date-time @@ -94115,8 +94296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -94131,7 +94312,7 @@ paths: properties: incremental_scans: type: array - items: &693 + items: &695 description: Information on a single scan performed by secret scanning on the repository type: object @@ -94157,15 +94338,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *693 + items: *695 backfill_scans: type: array - items: *693 + items: *695 custom_pattern_backfill_scans: type: array items: allOf: - - *693 + - *695 - type: object properties: pattern_name: @@ -94235,8 +94416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *381 - - *382 + - *383 + - *384 - *88 - name: sort description: The property to sort the results by. @@ -94280,9 +94461,9 @@ paths: application/json: schema: type: array - items: *694 + items: *696 examples: - default: *695 + default: *697 '400': *14 '404': *6 x-github: @@ -94305,8 +94486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -94379,7 +94560,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *349 required: - login - type @@ -94466,9 +94647,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: &697 + default: &699 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -94701,8 +94882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -94806,7 +94987,7 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: default: value: @@ -94953,17 +95134,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *381 - - *382 - - *696 + - *383 + - *384 + - *698 responses: '200': description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *697 + default: *699 '403': *29 '404': *6 x-github: @@ -94987,9 +95168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *381 - - *382 - - *696 + - *383 + - *384 + - *698 requestBody: required: true content: @@ -95062,7 +95243,7 @@ paths: login: type: string description: The username of the user credited. - type: *347 + type: *349 required: - login - type @@ -95148,17 +95329,17 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *697 - add_credit: *697 + default: *699 + add_credit: *699 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *183 + schema: *185 examples: invalid_state_transition: value: @@ -95189,9 +95370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *381 - - *382 - - *696 + - *383 + - *384 + - *698 responses: '202': *39 '400': *14 @@ -95218,17 +95399,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *381 - - *382 - - *696 + - *383 + - *384 + - *698 responses: '202': description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *396 + default: *398 '400': *14 '422': *15 '403': *29 @@ -95254,8 +95435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -95354,8 +95535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -95364,7 +95545,7 @@ paths: application/json: schema: type: array - items: &698 + items: &700 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -95397,8 +95578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -95474,8 +95655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -95571,8 +95752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -95726,8 +95907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -95737,7 +95918,7 @@ paths: application/json: schema: type: array - items: *698 + items: *700 examples: default: value: @@ -95770,8 +95951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *381 - - *382 + - *383 + - *384 - name: sha in: path required: true @@ -95825,7 +96006,7 @@ paths: description: Response content: application/json: - schema: *699 + schema: *701 examples: default: value: @@ -95879,8 +96060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -95892,7 +96073,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -95912,14 +96093,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &700 + schema: &702 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -95987,8 +96168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: false content: @@ -96014,7 +96195,7 @@ paths: description: Response content: application/json: - schema: *700 + schema: *702 examples: default: value: @@ -96041,8 +96222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -96062,8 +96243,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -96142,8 +96323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -96151,7 +96332,7 @@ paths: application/json: schema: type: array - items: &701 + items: &703 title: Tag protection description: Tag protection type: object @@ -96203,8 +96384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -96227,7 +96408,7 @@ paths: description: Response content: application/json: - schema: *701 + schema: *703 examples: default: value: @@ -96258,8 +96439,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -96296,8 +96477,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *381 - - *382 + - *383 + - *384 - name: ref in: path required: true @@ -96333,8 +96514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *381 - - *382 + - *383 + - *384 - *17 - *19 responses: @@ -96344,9 +96525,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - default: *308 + default: *310 headers: Link: *40 '404': *6 @@ -96366,8 +96547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *381 - - *382 + - *383 + - *384 - *19 - *17 responses: @@ -96375,7 +96556,7 @@ paths: description: Response content: application/json: - schema: &702 + schema: &704 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -96387,7 +96568,7 @@ paths: required: - names examples: - default: &703 + default: &705 value: names: - octocat @@ -96410,8 +96591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -96442,9 +96623,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *704 examples: - default: *703 + default: *705 '404': *6 '422': *7 x-github: @@ -96465,9 +96646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *381 - - *382 - - &704 + - *383 + - *384 + - &706 name: per description: The time frame to display results for. in: query @@ -96496,7 +96677,7 @@ paths: example: 128 clones: type: array - items: &705 + items: &707 title: Traffic type: object properties: @@ -96583,8 +96764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -96674,8 +96855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *381 - - *382 + - *383 + - *384 responses: '200': description: Response @@ -96735,9 +96916,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *381 - - *382 - - *704 + - *383 + - *384 + - *706 responses: '200': description: Response @@ -96756,7 +96937,7 @@ paths: example: 3782 views: type: array - items: *705 + items: *707 required: - uniques - count @@ -96833,8 +97014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *381 - - *382 + - *383 + - *384 requestBody: required: true content: @@ -96870,7 +97051,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -97108,8 +97289,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -97132,8 +97313,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -97155,8 +97336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -97182,8 +97363,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *381 - - *382 + - *383 + - *384 - name: ref in: path required: true @@ -97275,9 +97456,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *396 + default: *398 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -97318,7 +97499,7 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: default: value: @@ -97428,7 +97609,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &713 + - &715 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -97437,7 +97618,7 @@ paths: schema: type: string example: members - - &718 + - &720 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -97448,7 +97629,7 @@ paths: default: 1 format: int32 example: 1 - - &719 + - &721 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -97490,7 +97671,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &707 + items: &709 allOf: - type: object required: @@ -97565,7 +97746,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &720 + meta: &722 type: object description: The metadata associated with the creation/updates to the user. @@ -97625,31 +97806,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &708 + '400': &710 description: Bad request content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 - '401': &709 + schema: *708 + '401': &711 description: Authorization failure - '403': &710 + '403': &712 description: Permission denied - '429': &711 + '429': &713 description: Too many requests content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 - '500': &712 + schema: *708 + '500': &714 description: Internal server error content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 + schema: *708 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97673,7 +97854,7 @@ paths: required: true content: application/json: - schema: &716 + schema: &718 type: object required: - schemas @@ -97729,9 +97910,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *707 + schema: *709 examples: - group: &714 + group: &716 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -97750,13 +97931,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *708 - '401': *709 - '403': *710 - '409': &717 + '400': *710 + '401': *711 + '403': *712 + '409': &719 description: Duplicate record detected - '429': *711 - '500': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97773,7 +97954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &715 + - &717 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -97781,22 +97962,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *713 + - *715 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *707 + schema: *709 examples: - default: *714 - '400': *708 - '401': *709 - '403': *710 + default: *716 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '429': *711 - '500': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97815,13 +97996,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *715 + - *717 - *41 requestBody: required: true content: application/json: - schema: *716 + schema: *718 examples: group: summary: Group @@ -97847,17 +98028,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *707 + schema: *709 examples: - group: *714 - groupWithMembers: *714 - '400': *708 - '401': *709 - '403': *710 + group: *716 + groupWithMembers: *716 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '409': *717 - '429': *711 - '500': *712 + '409': *719 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97881,13 +98062,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *715 + - *717 - *41 requestBody: required: true content: application/json: - schema: &727 + schema: &729 type: object required: - Operations @@ -97947,17 +98128,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *707 + schema: *709 examples: - updateGroup: *714 - addMembers: *714 - '400': *708 - '401': *709 - '403': *710 + updateGroup: *716 + addMembers: *716 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '409': *717 - '429': *711 - '500': *712 + '409': *719 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -97973,17 +98154,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *715 + - *717 - *41 responses: '204': description: Group was deleted, no content - '400': *708 - '401': *709 - '403': *710 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '429': *711 - '500': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98017,8 +98198,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *718 - - *719 + - *720 + - *721 - *41 responses: '200': @@ -98051,7 +98232,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &722 + items: &724 allOf: - type: object required: @@ -98130,7 +98311,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &721 + roles: &723 type: array description: The roles assigned to the user. items: @@ -98186,7 +98367,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *720 + meta: *722 startIndex: type: integer description: A starting index for the returned page @@ -98223,11 +98404,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *708 - '401': *709 - '403': *710 - '429': *711 - '500': *712 + '400': *710 + '401': *711 + '403': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98251,7 +98432,7 @@ paths: required: true content: application/json: - schema: &725 + schema: &727 type: object required: - schemas @@ -98333,9 +98514,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *721 + roles: *723 examples: - user: &726 + user: &728 summary: User value: schemas: @@ -98382,9 +98563,9 @@ paths: description: User has been created content: application/scim+json: - schema: *722 + schema: *724 examples: - user: &723 + user: &725 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -98410,13 +98591,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *723 - '400': *708 - '401': *709 - '403': *710 - '409': *717 - '429': *711 - '500': *712 + enterpriseOwner: *725 + '400': *710 + '401': *711 + '403': *712 + '409': *719 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98433,7 +98614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &724 + - &726 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -98446,15 +98627,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *722 + schema: *724 examples: - default: *723 - '400': *708 - '401': *709 - '403': *710 + default: *725 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '429': *711 - '500': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98476,30 +98657,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *724 + - *726 - *41 requestBody: required: true content: application/json: - schema: *725 + schema: *727 examples: - user: *726 + user: *728 responses: '200': description: User was updated content: application/scim+json: - schema: *722 + schema: *724 examples: - user: *723 - '400': *708 - '401': *709 - '403': *710 + user: *725 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '409': *717 - '429': *711 - '500': *712 + '409': *719 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98534,13 +98715,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *724 + - *726 - *41 requestBody: required: true content: application/json: - schema: *727 + schema: *729 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -98580,18 +98761,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *722 + schema: *724 examples: - userMultiValuedProperties: *723 - userSingleValuedProperties: *723 - disableUser: *723 - '400': *708 - '401': *709 - '403': *710 + userMultiValuedProperties: *725 + userSingleValuedProperties: *725 + disableUser: *725 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '409': *717 - '429': *711 - '500': *712 + '409': *719 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98611,17 +98792,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *724 + - *726 - *41 responses: '204': description: User was deleted, no content - '400': *708 - '401': *709 - '403': *710 + '400': *710 + '401': *711 + '403': *712 '404': *6 - '429': *711 - '500': *712 + '429': *713 + '500': *714 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -98654,7 +98835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *172 + - *174 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -98708,7 +98889,7 @@ paths: example: 1 Resources: type: array - items: &728 + items: &730 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -98939,22 +99120,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &729 + '404': &731 description: Resource not found content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 - '403': &730 + schema: *708 + '403': &732 description: Forbidden content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 - '400': *708 - '429': *711 + schema: *708 + '400': *710 + '429': *713 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -98974,15 +99155,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *172 + - *174 responses: '201': description: Response content: application/scim+json: - schema: *728 + schema: *730 examples: - default: &731 + default: &733 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -99005,17 +99186,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *729 - '403': *730 - '500': *712 + '404': *731 + '403': *732 + '500': *714 '409': description: Conflict content: application/json: - schema: *706 + schema: *708 application/scim+json: - schema: *706 - '400': *708 + schema: *708 + '400': *710 requestBody: required: true content: @@ -99112,18 +99293,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *172 - - *724 + - *174 + - *726 responses: '200': description: Response content: application/scim+json: - schema: *728 + schema: *730 examples: - default: *731 - '404': *729 - '403': *730 + default: *733 + '404': *731 + '403': *732 '304': *37 x-github: githubCloudOnly: true @@ -99146,19 +99327,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *172 - - *724 + - *174 + - *726 responses: '200': description: Response content: application/scim+json: - schema: *728 + schema: *730 examples: - default: *731 + default: *733 '304': *37 - '404': *729 - '403': *730 + '404': *731 + '403': *732 requestBody: required: true content: @@ -99270,20 +99451,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *172 - - *724 + - *174 + - *726 responses: '200': description: Response content: application/scim+json: - schema: *728 + schema: *730 examples: - default: *731 + default: *733 '304': *37 - '404': *729 - '403': *730 - '400': *708 + '404': *731 + '403': *732 + '400': *710 '429': description: Response content: @@ -99373,13 +99554,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *172 - - *724 + - *174 + - *726 responses: '204': description: Response - '404': *729 - '403': *730 + '404': *731 + '403': *732 '304': *37 x-github: githubCloudOnly: true @@ -99494,7 +99675,7 @@ paths: html_url: type: string format: uri - repository: *200 + repository: *202 score: type: number file_size: @@ -99512,7 +99693,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &732 + text_matches: &734 title: Search Result Text Matches type: array items: @@ -99675,7 +99856,7 @@ paths: enum: - author-date - committer-date - - &733 + - &735 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -99746,7 +99927,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *438 + properties: *440 nullable: true comment_count: type: integer @@ -99766,7 +99947,7 @@ paths: url: type: string format: uri - verification: *563 + verification: *565 required: - author - committer @@ -99785,7 +99966,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *438 + properties: *440 nullable: true parents: type: array @@ -99798,12 +99979,12 @@ paths: type: string sha: type: string - repository: *200 + repository: *202 score: type: number node_id: type: string - text_matches: *732 + text_matches: *734 required: - sha - node_id @@ -99986,7 +100167,7 @@ paths: - interactions - created - updated - - *733 + - *735 - *17 - *19 - name: advanced_search @@ -100113,8 +100294,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *506 - required: *507 + properties: *508 + required: *509 nullable: true comments: type: integer @@ -100128,7 +100309,7 @@ paths: type: string format: date-time nullable: true - text_matches: *732 + text_matches: *734 pull_request: type: object properties: @@ -100161,7 +100342,7 @@ paths: type: string score: type: number - author_association: *142 + author_association: *144 draft: type: boolean repository: *64 @@ -100172,7 +100353,7 @@ paths: timeline_url: type: string format: uri - type: *291 + type: *293 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -100182,9 +100363,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 - reactions: *143 + properties: *142 + required: *143 + reactions: *145 required: - assignee - closed_at @@ -100356,7 +100537,7 @@ paths: enum: - created - updated - - *733 + - *735 - *17 - *19 responses: @@ -100400,7 +100581,7 @@ paths: nullable: true score: type: number - text_matches: *732 + text_matches: *734 required: - id - node_id @@ -100486,7 +100667,7 @@ paths: - forks - help-wanted-issues - updated - - *733 + - *735 - *17 - *19 responses: @@ -100705,8 +100886,8 @@ paths: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true permissions: type: object @@ -100725,7 +100906,7 @@ paths: - admin - pull - push - text_matches: *732 + text_matches: *734 temp_clone_token: type: string allow_merge_commit: @@ -101026,7 +101207,7 @@ paths: type: string format: uri nullable: true - text_matches: *732 + text_matches: *734 related: type: array nullable: true @@ -101219,7 +101400,7 @@ paths: - followers - repositories - joined - - *733 + - *735 - *17 - *19 responses: @@ -101323,7 +101504,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *732 + text_matches: *734 blog: type: string nullable: true @@ -101402,7 +101583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &734 + - &736 name: team_id description: The unique identifier of the team. in: path @@ -101414,9 +101595,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 x-github: githubCloudOnly: false @@ -101443,7 +101624,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *734 + - *736 requestBody: required: true content: @@ -101506,16 +101687,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '201': description: Response content: application/json: - schema: *362 + schema: *364 examples: - default: *363 + default: *365 '404': *6 '422': *15 '403': *29 @@ -101543,7 +101724,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *734 + - *736 responses: '204': description: Response @@ -101574,7 +101755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *734 + - *736 - *88 - *17 - *19 @@ -101585,9 +101766,9 @@ paths: application/json: schema: type: array - items: *364 + items: *366 examples: - default: *735 + default: *737 headers: Link: *40 x-github: @@ -101616,7 +101797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *734 + - *736 requestBody: required: true content: @@ -101650,9 +101831,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 x-github: triggersNotification: true githubCloudOnly: false @@ -101679,16 +101860,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *734 - - *366 + - *736 + - *368 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *365 + default: *367 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101713,8 +101894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *734 - - *366 + - *736 + - *368 requestBody: required: false content: @@ -101737,9 +101918,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *736 + default: *738 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101764,8 +101945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *734 - - *366 + - *736 + - *368 responses: '204': description: Response @@ -101794,8 +101975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *734 - - *366 + - *736 + - *368 - *88 - *17 - *19 @@ -101806,9 +101987,9 @@ paths: application/json: schema: type: array - items: *367 + items: *369 examples: - default: *737 + default: *739 headers: Link: *40 x-github: @@ -101837,8 +102018,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *734 - - *366 + - *736 + - *368 requestBody: required: true content: @@ -101860,9 +102041,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *368 + default: *370 x-github: triggersNotification: true githubCloudOnly: false @@ -101889,17 +102070,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *734 - - *366 - - *369 + - *736 + - *368 + - *371 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *368 + default: *370 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101924,9 +102105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *734 - - *366 - - *369 + - *736 + - *368 + - *371 requestBody: required: true content: @@ -101948,9 +102129,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *738 + default: *740 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101975,9 +102156,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *734 - - *366 - - *369 + - *736 + - *368 + - *371 responses: '204': description: Response @@ -102006,9 +102187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *734 - - *366 - - *369 + - *736 + - *368 + - *371 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -102034,9 +102215,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 x-github: @@ -102065,9 +102246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *734 - - *366 - - *369 + - *736 + - *368 + - *371 requestBody: required: true content: @@ -102099,9 +102280,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102127,8 +102308,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *734 - - *366 + - *736 + - *368 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -102154,9 +102335,9 @@ paths: application/json: schema: type: array - items: *370 + items: *372 examples: - default: *372 + default: *374 headers: Link: *40 x-github: @@ -102185,8 +102366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *734 - - *366 + - *736 + - *368 requestBody: required: true content: @@ -102218,9 +102399,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *372 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102244,7 +102425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *734 + - *736 - *17 - *19 responses: @@ -102254,9 +102435,9 @@ paths: application/json: schema: type: array - items: *288 + items: *290 examples: - default: *289 + default: *291 headers: Link: *40 x-github: @@ -102282,7 +102463,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *734 + - *736 - name: role description: Filters members returned by their role in the team. in: query @@ -102305,7 +102486,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '404': *6 @@ -102333,8 +102514,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *734 - - *222 + - *736 + - *224 responses: '204': description: if user is a member @@ -102370,8 +102551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *734 - - *222 + - *736 + - *224 responses: '204': description: Response @@ -102410,8 +102591,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *734 - - *222 + - *736 + - *224 responses: '204': description: Response @@ -102447,16 +102628,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *734 - - *222 + - *736 + - *224 responses: '200': description: Response content: application/json: - schema: *378 + schema: *380 examples: - response-if-user-is-a-team-maintainer: *739 + response-if-user-is-a-team-maintainer: *741 '404': *6 x-github: githubCloudOnly: false @@ -102489,8 +102670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *734 - - *222 + - *736 + - *224 requestBody: required: false content: @@ -102515,9 +102696,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *380 examples: - response-if-users-membership-with-team-is-now-pending: *740 + response-if-users-membership-with-team-is-now-pending: *742 '403': description: Forbidden if team synchronization is set up '422': @@ -102551,8 +102732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *734 - - *222 + - *736 + - *224 responses: '204': description: Response @@ -102580,7 +102761,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *734 + - *736 - *17 - *19 responses: @@ -102590,9 +102771,9 @@ paths: application/json: schema: type: array - items: *379 + items: *381 examples: - default: *741 + default: *743 headers: Link: *40 '404': *6 @@ -102618,16 +102799,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *734 - - *380 + - *736 + - *382 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *742 + default: *744 '404': description: Not Found if project is not managed by this team x-github: @@ -102651,8 +102832,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *734 - - *380 + - *736 + - *382 requestBody: required: false content: @@ -102719,8 +102900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *734 - - *380 + - *736 + - *382 responses: '204': description: Response @@ -102747,7 +102928,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *734 + - *736 - *17 - *19 responses: @@ -102757,9 +102938,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 '404': *6 @@ -102789,15 +102970,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *734 - - *381 - - *382 + - *736 + - *383 + - *384 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *743 + schema: *745 examples: alternative-response-with-extra-repository-information: value: @@ -102948,9 +103129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *734 - - *381 - - *382 + - *736 + - *383 + - *384 requestBody: required: false content: @@ -103000,9 +103181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *734 - - *381 - - *382 + - *736 + - *383 + - *384 responses: '204': description: Response @@ -103031,15 +103212,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *734 + - *736 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: *384 + default: *386 '403': *29 '404': *6 x-github: @@ -103066,7 +103247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *734 + - *736 requestBody: required: true content: @@ -103123,7 +103304,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *385 examples: default: value: @@ -103154,7 +103335,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *734 + - *736 - *17 - *19 responses: @@ -103164,9 +103345,9 @@ paths: application/json: schema: type: array - items: *231 + items: *233 examples: - response-if-child-teams-exist: *744 + response-if-child-teams-exist: *746 headers: Link: *40 '404': *6 @@ -103199,7 +103380,7 @@ paths: application/json: schema: oneOf: - - &746 + - &748 title: Private User description: Private User type: object @@ -103402,7 +103583,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *745 + - *747 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -103555,7 +103736,7 @@ paths: description: Response content: application/json: - schema: *746 + schema: *748 examples: default: value: @@ -103634,7 +103815,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 '304': *37 '404': *6 '403': *29 @@ -103657,7 +103838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *222 + - *224 responses: '204': description: If the user is blocked @@ -103685,7 +103866,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *222 + - *224 responses: '204': description: Response @@ -103709,7 +103890,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *222 + - *224 responses: '204': description: Response @@ -103758,9 +103939,9 @@ paths: type: integer codespaces: type: array - items: *297 + items: *299 examples: - default: *298 + default: *300 '304': *37 '500': *85 '401': *25 @@ -103899,17 +104080,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '401': *25 '403': *29 '404': *6 @@ -103953,7 +104134,7 @@ paths: type: integer secrets: type: array - items: &747 + items: &749 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -103993,7 +104174,7 @@ paths: - visibility - selected_repositories_url examples: - default: *494 + default: *496 headers: Link: *40 x-github: @@ -104063,13 +104244,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *210 + - *212 responses: '200': description: Response content: application/json: - schema: *747 + schema: *749 examples: default: value: @@ -104099,7 +104280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *210 + - *212 requestBody: required: true content: @@ -104144,7 +104325,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -104172,7 +104353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *210 + - *212 responses: '204': description: Response @@ -104197,7 +104378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *210 + - *212 responses: '200': description: Response @@ -104213,9 +104394,9 @@ paths: type: integer repositories: type: array - items: *200 + items: *202 examples: - default: *748 + default: *750 '401': *25 '403': *29 '404': *6 @@ -104240,7 +104421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *210 + - *212 requestBody: required: true content: @@ -104294,7 +104475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *210 + - *212 - name: repository_id in: path required: true @@ -104327,7 +104508,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *210 + - *212 - name: repository_id in: path required: true @@ -104359,15 +104540,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '304': *37 '500': *85 '401': *25 @@ -104393,7 +104574,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 requestBody: required: false content: @@ -104423,9 +104604,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '401': *25 '403': *29 '404': *6 @@ -104447,7 +104628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 responses: '202': *39 '304': *37 @@ -104476,13 +104657,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 responses: '202': description: Response content: application/json: - schema: &749 + schema: &751 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -104523,7 +104704,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &750 + default: &752 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -104555,7 +104736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *299 + - *301 - name: export_id in: path required: true @@ -104568,9 +104749,9 @@ paths: description: Response content: application/json: - schema: *749 + schema: *751 examples: - default: *750 + default: *752 '404': *6 x-github: githubCloudOnly: false @@ -104591,7 +104772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *299 + - *301 responses: '200': description: Response @@ -104607,9 +104788,9 @@ paths: type: integer machines: type: array - items: *751 + items: *753 examples: - default: *752 + default: *754 '304': *37 '500': *85 '401': *25 @@ -104638,7 +104819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *299 + - *301 requestBody: required: true content: @@ -104688,13 +104869,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *394 + repository: *396 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *492 - required: *493 + properties: *494 + required: *495 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -105468,15 +105649,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '304': *37 '500': *85 '400': *14 @@ -105508,15 +105689,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *299 + - *301 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *491 + default: *493 '500': *85 '401': *25 '403': *29 @@ -105546,9 +105727,9 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: &765 + default: &767 value: - id: 197 name: hello_docker @@ -105649,7 +105830,7 @@ paths: application/json: schema: type: array - items: &753 + items: &755 title: Email description: Email type: object @@ -105714,9 +105895,9 @@ paths: application/json: schema: type: array - items: *753 + items: *755 examples: - default: &767 + default: &769 value: - email: octocat@github.com verified: true @@ -105791,7 +105972,7 @@ paths: application/json: schema: type: array - items: *753 + items: *755 examples: default: value: @@ -105901,7 +106082,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '304': *37 @@ -105934,7 +106115,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 '304': *37 @@ -105956,7 +106137,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *222 + - *224 responses: '204': description: if the person is followed by the authenticated user @@ -105986,7 +106167,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *222 + - *224 responses: '204': description: Response @@ -106011,7 +106192,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *222 + - *224 responses: '204': description: Response @@ -106047,7 +106228,7 @@ paths: application/json: schema: type: array - items: &754 + items: &756 title: GPG Key description: A unique encryption key type: object @@ -106178,7 +106359,7 @@ paths: - subkeys - revoked examples: - default: &781 + default: &783 value: - id: 3 name: Octocat's GPG Key @@ -106263,9 +106444,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *756 examples: - default: &755 + default: &757 value: id: 3 name: Octocat's GPG Key @@ -106322,7 +106503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &756 + - &758 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -106334,9 +106515,9 @@ paths: description: Response content: application/json: - schema: *754 + schema: *756 examples: - default: *755 + default: *757 '404': *6 '304': *37 '403': *29 @@ -106359,7 +106540,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *756 + - *758 responses: '204': description: Response @@ -106550,7 +106731,7 @@ paths: type: array items: *64 examples: - default: *757 + default: *759 headers: Link: *40 '404': *6 @@ -106575,7 +106756,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *195 + - *197 responses: '204': description: Response @@ -106601,7 +106782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *195 + - *197 responses: '204': description: Response @@ -106635,12 +106816,12 @@ paths: application/json: schema: anyOf: - - *286 + - *288 - type: object properties: {} additionalProperties: false examples: - default: *287 + default: *289 '204': description: Response when there are no restrictions x-github: @@ -106664,7 +106845,7 @@ paths: required: true content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -106675,7 +106856,7 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: default: value: @@ -106756,7 +106937,7 @@ paths: - closed - all default: open - - *294 + - *296 - name: sort description: What to sort results by. in: query @@ -106769,7 +106950,7 @@ paths: - comments default: created - *88 - - *145 + - *147 - *17 - *19 responses: @@ -106779,9 +106960,9 @@ paths: application/json: schema: type: array - items: *155 + items: *157 examples: - default: *295 + default: *297 headers: Link: *40 '404': *6 @@ -106814,7 +106995,7 @@ paths: application/json: schema: type: array - items: &758 + items: &760 title: Key description: Key type: object @@ -106911,9 +107092,9 @@ paths: description: Response content: application/json: - schema: *758 + schema: *760 examples: - default: &759 + default: &761 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -106946,15 +107127,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *603 + - *605 responses: '200': description: Response content: application/json: - schema: *758 + schema: *760 examples: - default: *759 + default: *761 '404': *6 '304': *37 '403': *29 @@ -106977,7 +107158,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *603 + - *605 responses: '204': description: Response @@ -107010,7 +107191,7 @@ paths: application/json: schema: type: array - items: &760 + items: &762 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -107067,7 +107248,7 @@ paths: - id - type - login - plan: *159 + plan: *161 required: - billing_cycle - next_billing_date @@ -107078,7 +107259,7 @@ paths: - account - plan examples: - default: &761 + default: &763 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -107140,9 +107321,9 @@ paths: application/json: schema: type: array - items: *760 + items: *762 examples: - default: *761 + default: *763 headers: Link: *40 '304': *37 @@ -107182,7 +107363,7 @@ paths: application/json: schema: type: array - items: *300 + items: *302 examples: default: value: @@ -107284,13 +107465,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *172 + - *174 responses: '200': description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -107348,7 +107529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *172 + - *174 requestBody: required: true content: @@ -107373,7 +107554,7 @@ paths: description: Response content: application/json: - schema: *300 + schema: *302 examples: default: value: @@ -107441,7 +107622,7 @@ paths: application/json: schema: type: array - items: *302 + items: *304 examples: default: value: @@ -107694,7 +107875,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -107874,7 +108055,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *303 + - *305 - name: exclude in: query required: false @@ -107887,7 +108068,7 @@ paths: description: Response content: application/json: - schema: *302 + schema: *304 examples: default: value: @@ -108081,7 +108262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *303 + - *305 responses: '302': description: Response @@ -108107,7 +108288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *303 + - *305 responses: '204': description: Response @@ -108136,8 +108317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *303 - - *762 + - *305 + - *764 responses: '204': description: Response @@ -108161,7 +108342,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *303 + - *305 - *17 - *19 responses: @@ -108171,9 +108352,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 '404': *6 @@ -108210,7 +108391,7 @@ paths: type: array items: *59 examples: - default: *763 + default: *765 headers: Link: *40 '304': *37 @@ -108252,7 +108433,7 @@ paths: - docker - nuget - container - - *764 + - *766 - *19 - *17 responses: @@ -108262,10 +108443,10 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *765 - '400': *766 + default: *767 + '400': *768 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -108285,16 +108466,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: &782 + default: &784 value: id: 40201 name: octo-name @@ -108407,8 +108588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -108438,8 +108619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 - name: token description: package token schema: @@ -108471,8 +108652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 - *19 - *17 - name: state @@ -108492,7 +108673,7 @@ paths: application/json: schema: type: array - items: *313 + items: *315 examples: default: value: @@ -108541,15 +108722,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 - *314 + - *316 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -108585,9 +108766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 - *314 + - *316 responses: '204': description: Response @@ -108617,9 +108798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 - *314 + - *316 responses: '204': description: Response @@ -108675,7 +108856,7 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: default: value: @@ -108747,9 +108928,9 @@ paths: application/json: schema: type: array - items: *753 + items: *755 examples: - default: *767 + default: *769 headers: Link: *40 '304': *37 @@ -108862,7 +109043,7 @@ paths: type: array items: *64 examples: - default: &774 + default: &776 summary: Default response value: - id: 1296269 @@ -109166,9 +109347,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *396 examples: - default: *396 + default: *398 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109206,9 +109387,9 @@ paths: application/json: schema: type: array - items: *576 + items: *578 examples: - default: *768 + default: *770 headers: Link: *40 '304': *37 @@ -109231,7 +109412,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *290 + - *292 responses: '204': description: Response @@ -109254,7 +109435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *290 + - *292 responses: '204': description: Response @@ -109287,7 +109468,7 @@ paths: application/json: schema: type: array - items: &769 + items: &771 title: Social account description: Social media account type: object @@ -109302,7 +109483,7 @@ paths: - provider - url examples: - default: &770 + default: &772 value: - provider: twitter url: https://twitter.com/github @@ -109364,9 +109545,9 @@ paths: application/json: schema: type: array - items: *769 + items: *771 examples: - default: *770 + default: *772 '422': *15 '304': *37 '404': *6 @@ -109453,7 +109634,7 @@ paths: application/json: schema: type: array - items: &771 + items: &773 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -109473,7 +109654,7 @@ paths: - title - created_at examples: - default: &783 + default: &785 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109539,9 +109720,9 @@ paths: description: Response content: application/json: - schema: *771 + schema: *773 examples: - default: &772 + default: &774 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109572,7 +109753,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &773 + - &775 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -109584,9 +109765,9 @@ paths: description: Response content: application/json: - schema: *771 + schema: *773 examples: - default: *772 + default: *774 '404': *6 '304': *37 '403': *29 @@ -109609,7 +109790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *773 + - *775 responses: '204': description: Response @@ -109638,7 +109819,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &784 + - &786 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -109663,11 +109844,11 @@ paths: type: array items: *64 examples: - default-response: *774 + default-response: *776 application/vnd.github.v3.star+json: schema: type: array - items: &785 + items: &787 title: Starred Repository description: Starred Repository type: object @@ -109823,8 +110004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response if this repository is starred by you @@ -109852,8 +110033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -109877,8 +110058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *381 - - *382 + - *383 + - *384 responses: '204': description: Response @@ -109911,9 +110092,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 '304': *37 @@ -109950,7 +110131,7 @@ paths: application/json: schema: type: array - items: *362 + items: *364 examples: default: value: @@ -110028,7 +110209,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *161 + - *163 responses: '200': description: Response @@ -110036,10 +110217,10 @@ paths: application/json: schema: oneOf: - - *746 - - *745 + - *748 + - *747 examples: - default-response: &776 + default-response: &778 summary: Default response value: login: octocat @@ -110074,7 +110255,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &777 + response-with-git-hub-plan-information: &779 summary: Response with GitHub plan information value: login: octocat @@ -110134,7 +110315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *775 + - *777 - *17 responses: '200': @@ -110145,7 +110326,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: example: ; rel="next" @@ -110175,7 +110356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *222 + - *224 responses: '200': description: Response @@ -110183,11 +110364,11 @@ paths: application/json: schema: oneOf: - - *746 - - *745 + - *748 + - *747 examples: - default-response: *776 - response-with-git-hub-plan-information: *777 + default-response: *778 + response-with-git-hub-plan-information: *779 '404': *6 x-github: githubCloudOnly: false @@ -110213,7 +110394,7 @@ paths: - *17 - *86 - *87 - - *222 + - *224 requestBody: required: true content: @@ -110236,8 +110417,8 @@ paths: required: - subject_digests examples: - default: *778 - withPredicateType: *779 + default: *780 + withPredicateType: *781 responses: '200': description: Response @@ -110290,7 +110471,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *780 + default: *782 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110308,7 +110489,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *222 + - *224 requestBody: required: true content: @@ -110373,7 +110554,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *222 + - *224 - name: subject_digest description: Subject Digest in: path @@ -110404,7 +110585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *222 + - *224 - name: attestation_id description: Attestation ID in: path @@ -110442,7 +110623,7 @@ paths: - *17 - *86 - *87 - - *222 + - *224 - name: subject_digest description: Subject Digest in: path @@ -110492,12 +110673,12 @@ paths: bundle_url: type: string examples: - default: *434 + default: *436 '201': description: Response content: application/json: - schema: *211 + schema: *213 examples: default: value: @@ -110523,7 +110704,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *222 + - *224 responses: '200': description: Response @@ -110531,9 +110712,9 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *765 + default: *767 '403': *29 '401': *25 x-github: @@ -110556,7 +110737,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -110566,7 +110747,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -110637,8 +110818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *222 - - *172 + - *224 + - *174 - *17 - *19 responses: @@ -110648,7 +110829,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -110727,7 +110908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -110737,7 +110918,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -110804,7 +110985,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -110816,7 +110997,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -110835,7 +111016,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *222 + - *224 - *17 - *19 responses: @@ -110847,7 +111028,7 @@ paths: type: array items: *4 examples: - default: *296 + default: *298 headers: Link: *40 x-github: @@ -110866,7 +111047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *222 + - *224 - name: target_user in: path required: true @@ -110893,8 +111074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *222 - - *145 + - *224 + - *147 - *17 - *19 responses: @@ -110904,9 +111085,9 @@ paths: application/json: schema: type: array - items: *146 + items: *148 examples: - default: *147 + default: *149 headers: Link: *40 '422': *15 @@ -110927,7 +111108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -110937,9 +111118,9 @@ paths: application/json: schema: type: array - items: *754 + items: *756 examples: - default: *781 + default: *783 headers: Link: *40 x-github: @@ -110963,7 +111144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *222 + - *224 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -111035,7 +111216,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *222 + - *224 responses: '200': description: Response @@ -111043,7 +111224,7 @@ paths: application/json: schema: *22 examples: - default: *573 + default: *575 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111061,7 +111242,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -111112,7 +111293,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -111124,7 +111305,7 @@ paths: type: array items: *59 examples: - default: *763 + default: *765 headers: Link: *40 x-github: @@ -111163,8 +111344,8 @@ paths: - docker - nuget - container - - *764 - - *222 + - *766 + - *224 - *19 - *17 responses: @@ -111174,12 +111355,12 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *765 + default: *767 '403': *29 '401': *25 - '400': *766 + '400': *768 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111199,17 +111380,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *311 - - *312 - - *222 + - *313 + - *314 + - *224 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *782 + default: *784 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111230,9 +111411,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *311 - - *312 - - *222 + - *313 + - *314 + - *224 responses: '204': description: Response @@ -111264,9 +111445,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *311 - - *312 - - *222 + - *313 + - *314 + - *224 - name: token description: package token schema: @@ -111298,9 +111479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *311 - - *312 - - *222 + - *313 + - *314 + - *224 responses: '200': description: Response @@ -111308,7 +111489,7 @@ paths: application/json: schema: type: array - items: *313 + items: *315 examples: default: value: @@ -111366,16 +111547,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *311 - - *312 + - *313 - *314 - - *222 + - *316 + - *224 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -111410,10 +111591,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *311 - - *312 - - *222 + - *313 - *314 + - *224 + - *316 responses: '204': description: Response @@ -111445,10 +111626,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *311 - - *312 - - *222 + - *313 - *314 + - *224 + - *316 responses: '204': description: Response @@ -111474,7 +111655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *222 + - *224 - name: state description: Indicates the state of the projects to return. in: query @@ -111495,7 +111676,7 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: default: value: @@ -111557,7 +111738,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -111567,7 +111748,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -111646,7 +111827,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -111656,7 +111837,7 @@ paths: application/json: schema: type: array - items: *167 + items: *169 examples: default: value: @@ -111733,7 +111914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *222 + - *224 - name: type description: Limit results to repositories of the specified type. in: query @@ -111776,9 +111957,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -111802,15 +111983,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *222 + - *224 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111832,15 +112013,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *222 + - *224 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111862,15 +112043,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *222 + - *224 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *357 + default: *359 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -111890,11 +112071,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *222 - - *175 - - *176 + - *224 - *177 - *178 + - *179 + - *180 responses: '200': description: Response when getting a billing usage report @@ -111983,7 +112164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -111993,9 +112174,9 @@ paths: application/json: schema: type: array - items: *769 + items: *771 examples: - default: *770 + default: *772 headers: Link: *40 x-github: @@ -112015,7 +112196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -112025,9 +112206,9 @@ paths: application/json: schema: type: array - items: *771 + items: *773 examples: - default: *783 + default: *785 headers: Link: *40 x-github: @@ -112051,8 +112232,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *222 - - *784 + - *224 + - *786 - *88 - *17 - *19 @@ -112064,11 +112245,11 @@ paths: schema: anyOf: - type: array - items: *785 + items: *787 - type: array items: *64 examples: - default-response: *774 + default-response: *776 headers: Link: *40 x-github: @@ -112087,7 +112268,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *222 + - *224 - *17 - *19 responses: @@ -112097,9 +112278,9 @@ paths: application/json: schema: type: array - items: *200 + items: *202 examples: - default: *315 + default: *317 headers: Link: *40 x-github: @@ -112227,7 +112408,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &786 + enterprise: &788 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -112285,7 +112466,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &787 + installation: &789 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -112304,7 +112485,7 @@ x-webhooks: required: - id - node_id - organization: &788 + organization: &790 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -112364,13 +112545,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &789 + repository: &791 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &826 + properties: &828 id: description: Unique identifier of the repository example: 42 @@ -112390,8 +112571,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *156 - required: *157 + properties: *158 + required: *159 nullable: true organization: title: Simple User @@ -113053,7 +113234,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &827 + required: &829 - archive_url - assignees_url - blobs_url @@ -113204,10 +113385,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -113283,11 +113464,11 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - rule: &790 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + rule: &792 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -113510,11 +113691,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - rule: *790 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + rule: *792 sender: *4 required: - action @@ -113697,11 +113878,11 @@ x-webhooks: - everyone required: - from - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - rule: *790 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + rule: *792 sender: *4 required: - action @@ -113772,7 +113953,7 @@ x-webhooks: required: true content: application/json: - schema: &793 + schema: &795 title: Exemption request cancellation event type: object properties: @@ -113780,11 +113961,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - exemption_request: &791 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + exemption_request: &793 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -114017,7 +114198,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &792 + items: &794 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -114125,7 +114306,7 @@ x-webhooks: required: true content: application/json: - schema: &794 + schema: &796 title: Exemption request completed event type: object properties: @@ -114133,11 +114314,11 @@ x-webhooks: type: string enum: - completed - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - exemption_request: *791 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + exemption_request: *793 sender: *4 required: - action @@ -114207,7 +114388,7 @@ x-webhooks: required: true content: application/json: - schema: &795 + schema: &797 title: Exemption request created event type: object properties: @@ -114215,11 +114396,11 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - exemption_request: *791 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + exemption_request: *793 sender: *4 required: - action @@ -114289,7 +114470,7 @@ x-webhooks: required: true content: application/json: - schema: &796 + schema: &798 title: Exemption response dismissed event type: object properties: @@ -114297,12 +114478,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - exemption_request: *791 - exemption_response: *792 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + exemption_request: *793 + exemption_response: *794 sender: *4 required: - action @@ -114374,7 +114555,7 @@ x-webhooks: required: true content: application/json: - schema: &797 + schema: &799 title: Exemption response submitted event type: object properties: @@ -114382,12 +114563,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - exemption_request: *791 - exemption_response: *792 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + exemption_request: *793 + exemption_response: *794 sender: *4 required: - action @@ -114460,7 +114641,7 @@ x-webhooks: required: true content: application/json: - schema: *793 + schema: *795 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114527,7 +114708,7 @@ x-webhooks: required: true content: application/json: - schema: *794 + schema: *796 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114594,7 +114775,7 @@ x-webhooks: required: true content: application/json: - schema: *795 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114661,7 +114842,7 @@ x-webhooks: required: true content: application/json: - schema: *796 + schema: *798 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114729,7 +114910,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -114807,7 +114988,7 @@ x-webhooks: type: string enum: - completed - check_run: &799 + check_run: &801 title: CheckRun description: A check performed on the code of a given code change type: object @@ -114860,8 +115041,8 @@ x-webhooks: type: string pull_requests: type: array - items: *453 - repository: *200 + items: *455 + repository: *202 status: example: completed type: string @@ -114898,7 +115079,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *798 + deployment: *800 details_url: example: https://example.com type: string @@ -114948,7 +115129,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *453 + items: *455 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -114983,9 +115164,9 @@ x-webhooks: - output - app - pull_requests - installation: *787 - organization: *788 - repository: *789 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - check_run @@ -115378,10 +115559,10 @@ x-webhooks: type: string enum: - created - check_run: *799 - installation: *787 - organization: *788 - repository: *789 + check_run: *801 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - check_run @@ -115777,10 +115958,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *799 - installation: *787 - organization: *788 - repository: *789 + check_run: *801 + installation: *789 + organization: *790 + repository: *791 requested_action: description: The action requested by the user. type: object @@ -116185,10 +116366,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *799 - installation: *787 - organization: *788 - repository: *789 + check_run: *801 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - check_run @@ -117165,10 +117346,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -117838,10 +118019,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -118505,10 +118686,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -118671,7 +118852,7 @@ x-webhooks: required: - login - id - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -118816,20 +118997,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &800 + commit_oid: &802 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *786 - installation: *787 - organization: *788 - ref: &801 + enterprise: *788 + installation: *789 + organization: *790 + ref: &803 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *789 + repository: *791 sender: *4 required: - action @@ -118991,7 +119172,7 @@ x-webhooks: required: - login - id - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -119221,12 +119402,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *800 - enterprise: *786 - installation: *787 - organization: *788 - ref: *801 - repository: *789 + commit_oid: *802 + enterprise: *788 + installation: *789 + organization: *790 + ref: *803 + repository: *791 sender: *4 required: - action @@ -119321,7 +119502,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -119489,12 +119670,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *800 - enterprise: *786 - installation: *787 - organization: *788 - ref: *801 - repository: *789 + commit_oid: *802 + enterprise: *788 + installation: *789 + organization: *790 + ref: *803 + repository: *791 sender: *4 required: - action @@ -119657,7 +119838,7 @@ x-webhooks: required: - login - id - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -119823,12 +120004,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *800 - enterprise: *786 - installation: *787 - organization: *788 - ref: *801 - repository: *789 + commit_oid: *802 + enterprise: *788 + installation: *789 + organization: *790 + ref: *803 + repository: *791 sender: *4 required: - action @@ -119925,7 +120106,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120093,16 +120274,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *789 + repository: *791 sender: *4 required: - action @@ -120196,7 +120377,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *466 + dismissed_comment: *468 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -120336,12 +120517,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *800 - enterprise: *786 - installation: *787 - organization: *788 - ref: *801 - repository: *789 + commit_oid: *802 + enterprise: *788 + installation: *789 + organization: *790 + ref: *803 + repository: *791 sender: *4 required: - action @@ -120598,10 +120779,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -120681,18 +120862,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *788 - pusher_type: &802 + organization: *790 + pusher_type: &804 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &803 + ref: &805 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -120702,7 +120883,7 @@ x-webhooks: enum: - tag - branch - repository: *789 + repository: *791 sender: *4 required: - ref @@ -120785,9 +120966,9 @@ x-webhooks: enum: - created definition: *116 - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 sender: *4 required: - action @@ -120872,9 +121053,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 sender: *4 required: - action @@ -120952,9 +121133,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *116 - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 sender: *4 required: - action @@ -121032,9 +121213,9 @@ x-webhooks: enum: - updated definition: *116 - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 sender: *4 required: - action @@ -121111,19 +121292,19 @@ x-webhooks: type: string enum: - updated - enterprise: *786 - installation: *787 - repository: *789 - organization: *788 + enterprise: *788 + installation: *789 + repository: *791 + organization: *790 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *327 + items: *329 old_property_values: type: array description: The old custom property values for the repository. - items: *327 + items: *329 required: - action - repository @@ -121199,18 +121380,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *786 - installation: *787 - organization: *788 - pusher_type: *802 - ref: *803 + enterprise: *788 + installation: *789 + organization: *790 + pusher_type: *804 + ref: *805 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *789 + repository: *791 sender: *4 required: - ref @@ -121294,11 +121475,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121382,11 +121563,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121470,11 +121651,11 @@ x-webhooks: type: string enum: - created - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121556,11 +121737,11 @@ x-webhooks: type: string enum: - dismissed - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121642,11 +121823,11 @@ x-webhooks: type: string enum: - fixed - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121729,11 +121910,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121815,11 +121996,11 @@ x-webhooks: type: string enum: - reopened - alert: *523 - installation: *787 - organization: *788 - enterprise: *786 - repository: *789 + alert: *525 + installation: *789 + organization: *790 + enterprise: *788 + repository: *791 sender: *4 required: - action @@ -121896,9 +122077,9 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - key: &804 + enterprise: *788 + installation: *789 + key: &806 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -121934,8 +122115,8 @@ x-webhooks: - verified - created_at - read_only - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -122012,11 +122193,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - key: *804 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + key: *806 + organization: *790 + repository: *791 sender: *4 required: - action @@ -122577,12 +122758,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - workflow: &808 + workflow: &810 title: Workflow type: object nullable: true @@ -123308,13 +123489,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *529 + deployment: *531 pull_requests: type: array - items: *623 - repository: *789 - organization: *788 - installation: *787 + items: *625 + repository: *791 + organization: *790 + installation: *789 sender: *4 responses: '200': @@ -123385,7 +123566,7 @@ x-webhooks: type: string enum: - approved - approver: &805 + approver: &807 type: object properties: avatar_url: @@ -123428,11 +123609,11 @@ x-webhooks: type: string comment: type: string - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - reviewers: &806 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + reviewers: &808 type: array items: type: object @@ -123511,7 +123692,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &807 + workflow_job_run: &809 type: object properties: conclusion: @@ -124242,18 +124423,18 @@ x-webhooks: type: string enum: - rejected - approver: *805 + approver: *807 comment: type: string - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - reviewers: *806 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + reviewers: *808 sender: *4 since: type: string - workflow_job_run: *807 + workflow_job_run: *809 workflow_job_runs: type: array items: @@ -124957,13 +125138,13 @@ x-webhooks: type: string enum: - requested - enterprise: *786 + enterprise: *788 environment: type: string - installation: *787 - organization: *788 - repository: *789 - requestor: &813 + installation: *789 + organization: *790 + repository: *791 + requestor: &815 title: User type: object nullable: true @@ -126862,12 +127043,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - workflow: *808 + workflow: *810 workflow_run: title: Deployment Workflow Run type: object @@ -127547,7 +127728,7 @@ x-webhooks: type: string enum: - answered - answer: &811 + answer: &813 type: object properties: author_association: @@ -127704,7 +127885,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &809 + discussion: &811 title: Discussion description: A Discussion in a repository. type: object @@ -127990,7 +128171,7 @@ x-webhooks: - id labels: type: array - items: *585 + items: *587 required: - repository_url - category @@ -128012,10 +128193,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128142,11 +128323,11 @@ x-webhooks: - from required: - category - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128229,11 +128410,11 @@ x-webhooks: type: string enum: - closed - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128315,7 +128496,7 @@ x-webhooks: type: string enum: - created - comment: &810 + comment: &812 type: object properties: author_association: @@ -128472,11 +128653,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128559,12 +128740,12 @@ x-webhooks: type: string enum: - deleted - comment: *810 - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + comment: *812 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128659,12 +128840,12 @@ x-webhooks: - from required: - body - comment: *810 - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + comment: *812 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128748,11 +128929,11 @@ x-webhooks: type: string enum: - created - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128834,11 +129015,11 @@ x-webhooks: type: string enum: - deleted - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -128938,11 +129119,11 @@ x-webhooks: type: string required: - from - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129024,10 +129205,10 @@ x-webhooks: type: string enum: - labeled - discussion: *809 - enterprise: *786 - installation: *787 - label: &812 + discussion: *811 + enterprise: *788 + installation: *789 + label: &814 title: Label type: object properties: @@ -129059,8 +129240,8 @@ x-webhooks: - color - default - description - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129143,11 +129324,11 @@ x-webhooks: type: string enum: - locked - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129229,11 +129410,11 @@ x-webhooks: type: string enum: - pinned - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129315,11 +129496,11 @@ x-webhooks: type: string enum: - reopened - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129404,16 +129585,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *809 - new_repository: *789 + new_discussion: *811 + new_repository: *791 required: - new_discussion - new_repository - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129496,10 +129677,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *809 - old_answer: *811 - organization: *788 - repository: *789 + discussion: *811 + old_answer: *813 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129581,12 +129762,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *809 - enterprise: *786 - installation: *787 - label: *812 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129669,11 +129850,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129755,11 +129936,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *809 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + discussion: *811 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -129828,7 +130009,7 @@ x-webhooks: required: true content: application/json: - schema: *795 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129891,7 +130072,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -129957,7 +130138,7 @@ x-webhooks: required: true content: application/json: - schema: *793 + schema: *795 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130023,7 +130204,7 @@ x-webhooks: required: true content: application/json: - schema: *794 + schema: *796 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130089,7 +130270,7 @@ x-webhooks: required: true content: application/json: - schema: *795 + schema: *797 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130155,7 +130336,7 @@ x-webhooks: required: true content: application/json: - schema: *796 + schema: *798 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130221,7 +130402,7 @@ x-webhooks: required: true content: application/json: - schema: *797 + schema: *799 responses: '200': description: Return a 200 status to indicate that the data was received @@ -130288,7 +130469,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *786 + enterprise: *788 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -130948,9 +131129,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *787 - organization: *788 - repository: *789 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - forkee @@ -131096,9 +131277,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pages: description: The pages that were updated. type: array @@ -131135,7 +131316,7 @@ x-webhooks: - action - sha - html_url - repository: *789 + repository: *791 sender: *4 required: - pages @@ -131211,10 +131392,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories: &814 + organization: *790 + repositories: &816 description: An array of repository objects that the installation can access. type: array @@ -131240,8 +131421,8 @@ x-webhooks: - name - full_name - private - repository: *789 - requester: *813 + repository: *791 + requester: *815 sender: *4 required: - action @@ -131316,11 +131497,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories: *814 - repository: *789 + organization: *790 + repositories: *816 + repository: *791 requester: nullable: true sender: *4 @@ -131396,11 +131577,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories: *814 - repository: *789 + organization: *790 + repositories: *816 + repository: *791 requester: nullable: true sender: *4 @@ -131476,10 +131657,10 @@ x-webhooks: type: string enum: - added - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories_added: &815 + organization: *790 + repositories_added: &817 description: An array of repository objects, which were added to the installation. type: array @@ -131525,15 +131706,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *789 - repository_selection: &816 + repository: *791 + repository_selection: &818 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *813 + requester: *815 sender: *4 required: - action @@ -131612,10 +131793,10 @@ x-webhooks: type: string enum: - removed - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories_added: *815 + organization: *790 + repositories_added: *817 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -131642,9 +131823,9 @@ x-webhooks: - name - full_name - private - repository: *789 - repository_selection: *816 - requester: *813 + repository: *791 + repository_selection: *818 + requester: *815 sender: *4 required: - action @@ -131723,11 +131904,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories: *814 - repository: *789 + organization: *790 + repositories: *816 + repository: *791 requester: nullable: true sender: *4 @@ -131906,10 +132087,10 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 target_type: type: string @@ -131988,11 +132169,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *786 + enterprise: *788 installation: *22 - organization: *788 - repositories: *814 - repository: *789 + organization: *790 + repositories: *816 + repository: *791 requester: nullable: true sender: *4 @@ -132116,8 +132297,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *140 - required: *141 + properties: *142 + required: *143 reactions: title: Reactions type: object @@ -132244,8 +132425,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -133068,7 +133249,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -133401,8 +133582,8 @@ x-webhooks: - state - locked - assignee - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -133482,7 +133663,7 @@ x-webhooks: type: string enum: - deleted - comment: &817 + comment: &819 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -133647,8 +133828,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -134467,7 +134648,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -134802,8 +134983,8 @@ x-webhooks: - state - locked - assignee - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -134883,7 +135064,7 @@ x-webhooks: type: string enum: - edited - changes: &845 + changes: &847 description: The changes to the comment. type: object properties: @@ -134895,9 +135076,9 @@ x-webhooks: type: string required: - from - comment: *817 - enterprise: *786 - installation: *787 + comment: *819 + enterprise: *788 + installation: *789 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135719,7 +135900,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -136052,8 +136233,8 @@ x-webhooks: - state - locked - assignee - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -136135,10 +136316,10 @@ x-webhooks: type: string enum: - assigned - assignee: *813 - enterprise: *786 - installation: *787 - issue: &820 + assignee: *815 + enterprise: *788 + installation: *789 + issue: &822 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -136956,7 +137137,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -137057,8 +137238,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -137138,8 +137319,8 @@ x-webhooks: type: string enum: - closed - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -137962,7 +138143,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -138198,8 +138379,8 @@ x-webhooks: required: - state - closed_at - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -138278,8 +138459,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139093,7 +139274,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -139193,8 +139374,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -139273,8 +139454,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140110,7 +140291,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -140189,7 +140370,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &818 + milestone: &820 title: Milestone description: A collection of related issues and pull requests. type: object @@ -140327,8 +140508,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -140427,8 +140608,8 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141243,7 +141424,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *291 + type: *293 title: description: Title of the issue type: string @@ -141347,9 +141528,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *812 - organization: *788 - repository: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -141429,8 +141610,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142244,7 +142425,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *291 + type: *293 title: description: Title of the issue type: string @@ -142348,9 +142529,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *812 - organization: *788 - repository: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -142430,8 +142611,8 @@ x-webhooks: type: string enum: - locked - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143269,7 +143450,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *291 + type: *293 title: description: Title of the issue type: string @@ -143350,8 +143531,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -143430,8 +143611,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144266,7 +144447,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -144344,9 +144525,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *818 - organization: *788 - repository: *789 + milestone: *820 + organization: *790 + repository: *791 sender: *4 required: - action @@ -145320,7 +145501,7 @@ x-webhooks: required: - login - id - type: *291 + type: *293 required: - id - number @@ -145789,8 +145970,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146608,7 +146789,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -146708,8 +146889,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -146789,9 +146970,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *786 - installation: *787 - issue: &819 + enterprise: *788 + installation: *789 + issue: &821 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147603,7 +147784,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -147703,8 +147884,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -147783,8 +147964,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148701,9 +148882,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *291 - organization: *788 - repository: *789 + type: *293 + organization: *790 + repository: *791 sender: *4 required: - action @@ -149598,7 +149779,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -150166,11 +150347,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *786 - installation: *787 - issue: *819 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *821 + organization: *790 + repository: *791 sender: *4 required: - action @@ -150250,12 +150431,12 @@ x-webhooks: type: string enum: - typed - enterprise: *786 - installation: *787 - issue: *820 - type: *291 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *822 + type: *293 + organization: *790 + repository: *791 sender: *4 required: - action @@ -150336,7 +150517,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &848 + assignee: &850 title: User type: object nullable: true @@ -150406,11 +150587,11 @@ x-webhooks: required: - login - id - enterprise: *786 - installation: *787 - issue: *820 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *822 + organization: *790 + repository: *791 sender: *4 required: - action @@ -150489,12 +150670,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *786 - installation: *787 - issue: *820 - label: *812 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *822 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -150574,8 +150755,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151414,7 +151595,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *291 + type: *293 updated_at: type: string format: date-time @@ -151492,8 +151673,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -151573,11 +151754,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *786 - installation: *787 - issue: *819 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *821 + organization: *790 + repository: *791 sender: *4 required: - action @@ -151656,12 +151837,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *786 - installation: *787 - issue: *820 - type: *291 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + issue: *822 + type: *293 + organization: *790 + repository: *791 sender: *4 required: - action @@ -151741,11 +151922,11 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - label: *812 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -151823,11 +152004,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - label: *812 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -151937,11 +152118,11 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - label: *812 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + label: *814 + organization: *790 + repository: *791 sender: *4 required: - action @@ -152023,9 +152204,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *786 - installation: *787 - marketplace_purchase: &821 + enterprise: *788 + installation: *789 + marketplace_purchase: &823 title: Marketplace Purchase type: object required: @@ -152108,8 +152289,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *788 - previous_marketplace_purchase: &822 + organization: *790 + previous_marketplace_purchase: &824 title: Marketplace Purchase type: object properties: @@ -152189,7 +152370,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *789 + repository: *791 sender: *4 required: - action @@ -152269,10 +152450,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *786 - installation: *787 - marketplace_purchase: *821 - organization: *788 + enterprise: *788 + installation: *789 + marketplace_purchase: *823 + organization: *790 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152355,7 +152536,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *789 + repository: *791 sender: *4 required: - action @@ -152437,10 +152618,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *786 - installation: *787 - marketplace_purchase: *821 - organization: *788 + enterprise: *788 + installation: *789 + marketplace_purchase: *823 + organization: *790 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -152522,7 +152703,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *789 + repository: *791 sender: *4 required: - action @@ -152603,8 +152784,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 marketplace_purchase: title: Marketplace Purchase type: object @@ -152686,9 +152867,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *788 - previous_marketplace_purchase: *822 - repository: *789 + organization: *790 + previous_marketplace_purchase: *824 + repository: *791 sender: *4 required: - action @@ -152768,12 +152949,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *786 - installation: *787 - marketplace_purchase: *821 - organization: *788 - previous_marketplace_purchase: *822 - repository: *789 + enterprise: *788 + installation: *789 + marketplace_purchase: *823 + organization: *790 + previous_marketplace_purchase: *824 + repository: *791 sender: *4 required: - action @@ -152875,11 +153056,11 @@ x-webhooks: type: string required: - to - enterprise: *786 - installation: *787 - member: *813 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + member: *815 + organization: *790 + repository: *791 sender: *4 required: - action @@ -152979,11 +153160,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *786 - installation: *787 - member: *813 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + member: *815 + organization: *790 + repository: *791 sender: *4 required: - action @@ -153062,11 +153243,11 @@ x-webhooks: type: string enum: - removed - enterprise: *786 - installation: *787 - member: *813 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + member: *815 + organization: *790 + repository: *791 sender: *4 required: - action @@ -153144,11 +153325,11 @@ x-webhooks: type: string enum: - added - enterprise: *786 - installation: *787 - member: *813 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + member: *815 + organization: *790 + repository: *791 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153224,7 +153405,7 @@ x-webhooks: required: - login - id - team: &823 + team: &825 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -153414,11 +153595,11 @@ x-webhooks: type: string enum: - removed - enterprise: *786 - installation: *787 - member: *813 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + member: *815 + organization: *790 + repository: *791 scope: description: The scope of the membership. Currently, can only be `team`. @@ -153495,7 +153676,7 @@ x-webhooks: required: - login - id - team: *823 + team: *825 required: - action - scope @@ -153577,8 +153758,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *787 - merge_group: &825 + installation: *789 + merge_group: &827 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -153597,15 +153778,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *824 + head_commit: *826 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -153691,10 +153872,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *787 - merge_group: *825 - organization: *788 - repository: *789 + installation: *789 + merge_group: *827 + organization: *790 + repository: *791 sender: *4 required: - action @@ -153767,7 +153948,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 + enterprise: *788 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -153876,16 +154057,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *787 - organization: *788 + installation: *789 + organization: *790 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *826 - required: *827 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -153966,11 +154147,11 @@ x-webhooks: type: string enum: - closed - enterprise: *786 - installation: *787 - milestone: *818 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + milestone: *820 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154049,9 +154230,9 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - milestone: &828 + enterprise: *788 + installation: *789 + milestone: &830 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154188,8 +154369,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154268,11 +154449,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - milestone: *818 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + milestone: *820 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154382,11 +154563,11 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - milestone: *818 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + milestone: *820 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154466,11 +154647,11 @@ x-webhooks: type: string enum: - opened - enterprise: *786 - installation: *787 - milestone: *828 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + milestone: *830 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154549,11 +154730,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *813 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + blocked_user: *815 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154632,11 +154813,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *813 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + blocked_user: *815 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154715,9 +154896,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - membership: &829 + enterprise: *788 + installation: *789 + membership: &831 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -154809,8 +154990,8 @@ x-webhooks: - role - organization_url - user - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154888,11 +155069,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *786 - installation: *787 - membership: *829 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + membership: *831 + organization: *790 + repository: *791 sender: *4 required: - action @@ -154971,8 +155152,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -155088,10 +155269,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 - user: *813 + user: *815 required: - action - invitation @@ -155169,11 +155350,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *786 - installation: *787 - membership: *829 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + membership: *831 + organization: *790 + repository: *791 sender: *4 required: - action @@ -155260,11 +155441,11 @@ x-webhooks: properties: from: type: string - enterprise: *786 - installation: *787 - membership: *829 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + membership: *831 + organization: *790 + repository: *791 sender: *4 required: - action @@ -155340,9 +155521,9 @@ x-webhooks: type: string enum: - published - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 package: description: Information about the package. type: object @@ -155841,7 +156022,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &830 + items: &832 title: Ruby Gems metadata type: object properties: @@ -155936,7 +156117,7 @@ x-webhooks: - owner - package_version - registry - repository: *789 + repository: *791 sender: *4 required: - action @@ -156012,9 +156193,9 @@ x-webhooks: type: string enum: - updated - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 package: description: Information about the package. type: object @@ -156367,7 +156548,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *830 + items: *832 source_url: type: string format: uri @@ -156437,7 +156618,7 @@ x-webhooks: - owner - package_version - registry - repository: *789 + repository: *791 sender: *4 required: - action @@ -156614,12 +156795,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *786 + enterprise: *788 id: type: integer - installation: *787 - organization: *788 - repository: *789 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - id @@ -156696,7 +156877,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &831 + personal_access_token_request: &833 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -156842,10 +157023,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *786 - organization: *788 + enterprise: *788 + organization: *790 sender: *4 - installation: *787 + installation: *789 required: - action - personal_access_token_request @@ -156922,11 +157103,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *831 - enterprise: *786 - organization: *788 + personal_access_token_request: *833 + enterprise: *788 + organization: *790 sender: *4 - installation: *787 + installation: *789 required: - action - personal_access_token_request @@ -157002,11 +157183,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *831 - enterprise: *786 - organization: *788 + personal_access_token_request: *833 + enterprise: *788 + organization: *790 sender: *4 - installation: *787 + installation: *789 required: - action - personal_access_token_request @@ -157081,11 +157262,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *831 - organization: *788 - enterprise: *786 + personal_access_token_request: *833 + organization: *790 + enterprise: *788 sender: *4 - installation: *787 + installation: *789 required: - action - personal_access_token_request @@ -157190,7 +157371,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *832 + last_response: *834 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -157222,8 +157403,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 zen: description: Random string of GitHub zen. @@ -157468,10 +157649,10 @@ x-webhooks: - from required: - note - enterprise: *786 - installation: *787 - organization: *788 - project_card: &833 + enterprise: *788 + installation: *789 + organization: *790 + project_card: &835 title: Project Card type: object properties: @@ -157590,7 +157771,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *789 + repository: *791 sender: *4 required: - action @@ -157671,11 +157852,11 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - project_card: *833 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project_card: *835 + repository: *791 sender: *4 required: - action @@ -157755,9 +157936,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 project_card: title: Project Card type: object @@ -157885,8 +158066,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *826 - required: *827 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -157980,11 +158161,11 @@ x-webhooks: - from required: - note - enterprise: *786 - installation: *787 - organization: *788 - project_card: *833 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project_card: *835 + repository: *791 sender: *4 required: - action @@ -158078,9 +158259,9 @@ x-webhooks: - from required: - column_id - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 project_card: allOf: - title: Project Card @@ -158270,7 +158451,7 @@ x-webhooks: type: string required: - after_id - repository: *789 + repository: *791 sender: *4 required: - action @@ -158350,10 +158531,10 @@ x-webhooks: type: string enum: - closed - enterprise: *786 - installation: *787 - organization: *788 - project: &835 + enterprise: *788 + installation: *789 + organization: *790 + project: &837 title: Project type: object properties: @@ -158477,7 +158658,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *789 + repository: *791 sender: *4 required: - action @@ -158557,10 +158738,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - project_column: &834 + enterprise: *788 + installation: *789 + organization: *790 + project_column: &836 title: Project Column type: object properties: @@ -158599,7 +158780,7 @@ x-webhooks: - name - created_at - updated_at - repository: *789 + repository: *791 sender: *4 required: - action @@ -158678,18 +158859,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - project_column: *834 + enterprise: *788 + installation: *789 + organization: *790 + project_column: *836 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *826 - required: *827 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -158779,11 +158960,11 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - organization: *788 - project_column: *834 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project_column: *836 + repository: *791 sender: *4 required: - action @@ -158863,11 +159044,11 @@ x-webhooks: type: string enum: - moved - enterprise: *786 - installation: *787 - organization: *788 - project_column: *834 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project_column: *836 + repository: *791 sender: *4 required: - action @@ -158947,11 +159128,11 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - project: *835 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project: *837 + repository: *791 sender: *4 required: - action @@ -159031,18 +159212,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - project: *835 + enterprise: *788 + installation: *789 + organization: *790 + project: *837 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *826 - required: *827 + properties: *828 + required: *829 nullable: true sender: *4 required: @@ -159144,11 +159325,11 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - organization: *788 - project: *835 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project: *837 + repository: *791 sender: *4 required: - action @@ -159227,11 +159408,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *786 - installation: *787 - organization: *788 - project: *835 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + project: *837 + repository: *791 sender: *4 required: - action @@ -159312,9 +159493,9 @@ x-webhooks: type: string enum: - closed - installation: *787 - organization: *788 - projects_v2: &836 + installation: *789 + organization: *790 + projects_v2: &838 title: Projects v2 Project description: A projects v2 project type: object @@ -159457,9 +159638,9 @@ x-webhooks: type: string enum: - created - installation: *787 - organization: *788 - projects_v2: *836 + installation: *789 + organization: *790 + projects_v2: *838 sender: *4 required: - action @@ -159540,9 +159721,9 @@ x-webhooks: type: string enum: - deleted - installation: *787 - organization: *788 - projects_v2: *836 + installation: *789 + organization: *790 + projects_v2: *838 sender: *4 required: - action @@ -159659,9 +159840,9 @@ x-webhooks: type: string to: type: string - installation: *787 - organization: *788 - projects_v2: *836 + installation: *789 + organization: *790 + projects_v2: *838 sender: *4 required: - action @@ -159744,7 +159925,7 @@ x-webhooks: type: string enum: - archived - changes: &840 + changes: &842 type: object properties: archived_at: @@ -159758,9 +159939,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *787 - organization: *788 - projects_v2_item: &837 + installation: *789 + organization: *790 + projects_v2_item: &839 title: Projects v2 Item description: An item belonging to a project type: object @@ -159894,9 +160075,9 @@ x-webhooks: nullable: true to: type: string - installation: *787 - organization: *788 - projects_v2_item: *837 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -159978,9 +160159,9 @@ x-webhooks: type: string enum: - created - installation: *787 - organization: *788 - projects_v2_item: *837 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -160061,9 +160242,9 @@ x-webhooks: type: string enum: - deleted - installation: *787 - organization: *788 - projects_v2_item: *837 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -160169,7 +160350,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &838 + - &840 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -160187,7 +160368,7 @@ x-webhooks: required: - id - name - - &839 + - &841 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -160210,8 +160391,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *838 - - *839 + - *840 + - *841 required: - field_value - type: object @@ -160227,9 +160408,9 @@ x-webhooks: nullable: true required: - body - installation: *787 - organization: *788 - projects_v2_item: *837 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -160324,9 +160505,9 @@ x-webhooks: to: type: string nullable: true - installation: *787 - organization: *788 - projects_v2_item: *837 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -160409,10 +160590,10 @@ x-webhooks: type: string enum: - restored - changes: *840 - installation: *787 - organization: *788 - projects_v2_item: *837 + changes: *842 + installation: *789 + organization: *790 + projects_v2_item: *839 sender: *4 required: - action @@ -160494,9 +160675,9 @@ x-webhooks: type: string enum: - reopened - installation: *787 - organization: *788 - projects_v2: *836 + installation: *789 + organization: *790 + projects_v2: *838 sender: *4 required: - action @@ -160577,9 +160758,9 @@ x-webhooks: type: string enum: - created - installation: *787 - organization: *788 - projects_v2_status_update: &841 + installation: *789 + organization: *790 + projects_v2_status_update: &843 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -160706,9 +160887,9 @@ x-webhooks: type: string enum: - deleted - installation: *787 - organization: *788 - projects_v2_status_update: *841 + installation: *789 + organization: *790 + projects_v2_status_update: *843 sender: *4 required: - action @@ -160844,9 +161025,9 @@ x-webhooks: type: string format: date nullable: true - installation: *787 - organization: *788 - projects_v2_status_update: *841 + installation: *789 + organization: *790 + projects_v2_status_update: *843 sender: *4 required: - action @@ -160917,10 +161098,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - repository @@ -160997,13 +161178,13 @@ x-webhooks: type: string enum: - assigned - assignee: *813 - enterprise: *786 - installation: *787 - number: &842 + assignee: *815 + enterprise: *788 + installation: *789 + number: &844 description: The pull request number. type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -163286,7 +163467,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -163368,11 +163549,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -165650,7 +165831,7 @@ x-webhooks: - draft reason: type: string - repository: *789 + repository: *791 sender: *4 required: - action @@ -165732,11 +165913,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -168014,7 +168195,7 @@ x-webhooks: - draft reason: type: string - repository: *789 + repository: *791 sender: *4 required: - action @@ -168096,13 +168277,13 @@ x-webhooks: type: string enum: - closed - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: &843 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: &845 allOf: - - *623 + - *625 - type: object properties: allow_auto_merge: @@ -168164,7 +168345,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *789 + repository: *791 sender: *4 required: - action @@ -168245,12 +168426,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: *843 - repository: *789 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: *845 + repository: *791 sender: *4 required: - action @@ -168330,11 +168511,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *786 - milestone: *606 - number: *842 - organization: *788 - pull_request: &844 + enterprise: *788 + milestone: *608 + number: *844 + organization: *790 + pull_request: &846 title: Pull Request type: object properties: @@ -170597,7 +170778,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -170676,11 +170857,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -172962,7 +173143,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *789 + repository: *791 sender: *4 required: - action @@ -173086,12 +173267,12 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: *843 - repository: *789 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: *845 + repository: *791 sender: *4 required: - action @@ -173171,11 +173352,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -175442,7 +175623,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -175522,11 +175703,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *786 - installation: *787 - label: *812 - number: *842 - organization: *788 + enterprise: *788 + installation: *789 + label: *814 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -177808,7 +177989,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -177889,10 +178070,10 @@ x-webhooks: type: string enum: - locked - enterprise: *786 - installation: *787 - number: *842 - organization: *788 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -180172,7 +180353,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -180252,12 +180433,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *786 - milestone: *606 - number: *842 - organization: *788 - pull_request: *844 - repository: *789 + enterprise: *788 + milestone: *608 + number: *844 + organization: *790 + pull_request: *846 + repository: *791 sender: *4 required: - action @@ -180336,12 +180517,12 @@ x-webhooks: type: string enum: - opened - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: *843 - repository: *789 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: *845 + repository: *791 sender: *4 required: - action @@ -180422,12 +180603,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: *843 - repository: *789 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: *845 + repository: *791 sender: *4 required: - action @@ -180507,12 +180688,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *786 - installation: *787 - number: *842 - organization: *788 - pull_request: *843 - repository: *789 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 + pull_request: *845 + repository: *791 sender: *4 required: - action @@ -180878,9 +181059,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: type: object properties: @@ -183050,7 +183231,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *789 + repository: *791 sender: *4 required: - action @@ -183130,7 +183311,7 @@ x-webhooks: type: string enum: - deleted - comment: &846 + comment: &848 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -183415,9 +183596,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: type: object properties: @@ -185575,7 +185756,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *789 + repository: *791 sender: *4 required: - action @@ -185655,11 +185836,11 @@ x-webhooks: type: string enum: - edited - changes: *845 - comment: *846 - enterprise: *786 - installation: *787 - organization: *788 + changes: *847 + comment: *848 + enterprise: *788 + installation: *789 + organization: *790 pull_request: type: object properties: @@ -187820,7 +188001,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *789 + repository: *791 sender: *4 required: - action @@ -187901,9 +188082,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: title: Simple Pull Request type: object @@ -190076,7 +190257,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *789 + repository: *791 review: description: The review that was affected. type: object @@ -190319,9 +190500,9 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: title: Simple Pull Request type: object @@ -192375,8 +192556,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *789 - review: &847 + repository: *791 + review: &849 description: The review that was affected. type: object properties: @@ -192605,12 +192786,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: description: The pull request number. type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -194893,7 +195074,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 requested_reviewer: title: User type: object @@ -194977,12 +195158,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: description: The pull request number. type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -197272,7 +197453,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197464,12 +197645,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: description: The pull request number. type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -199754,7 +199935,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 requested_reviewer: title: User type: object @@ -199839,12 +200020,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *786 - installation: *787 + enterprise: *788 + installation: *789 number: description: The pull request number. type: integer - organization: *788 + organization: *790 pull_request: title: Pull Request type: object @@ -202120,7 +202301,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 requested_team: title: Team description: Groups of organization members that gives permissions @@ -202301,9 +202482,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: title: Simple Pull Request type: object @@ -204478,8 +204659,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *789 - review: *847 + repository: *791 + review: *849 sender: *4 required: - action @@ -204559,9 +204740,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: title: Simple Pull Request type: object @@ -206631,7 +206812,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *789 + repository: *791 sender: *4 thread: type: object @@ -207014,9 +207195,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 pull_request: title: Simple Pull Request type: object @@ -209072,7 +209253,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *789 + repository: *791 sender: *4 thread: type: object @@ -209458,10 +209639,10 @@ x-webhooks: type: string before: type: string - enterprise: *786 - installation: *787 - number: *842 - organization: *788 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -211732,7 +211913,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -211814,11 +211995,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *848 - enterprise: *786 - installation: *787 - number: *842 - organization: *788 + assignee: *850 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -214101,7 +214282,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -214180,11 +214361,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *786 - installation: *787 - label: *812 - number: *842 - organization: *788 + enterprise: *788 + installation: *789 + label: *814 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -216457,7 +216638,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -216538,10 +216719,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *786 - installation: *787 - number: *842 - organization: *788 + enterprise: *788 + installation: *789 + number: *844 + organization: *790 pull_request: title: Pull Request type: object @@ -218806,7 +218987,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *789 + repository: *791 sender: *4 required: - action @@ -219006,7 +219187,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *786 + enterprise: *788 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -219098,8 +219279,8 @@ x-webhooks: - url - author - committer - installation: *787 - organization: *788 + installation: *789 + organization: *790 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -219674,9 +219855,9 @@ x-webhooks: type: string enum: - published - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 registry_package: type: object properties: @@ -220122,7 +220303,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *830 + items: *832 summary: type: string tag_name: @@ -220176,7 +220357,7 @@ x-webhooks: - owner - package_version - registry - repository: *789 + repository: *791 sender: *4 required: - action @@ -220254,9 +220435,9 @@ x-webhooks: type: string enum: - updated - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 registry_package: type: object properties: @@ -220564,7 +220745,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *830 + items: *832 summary: type: string tag_name: @@ -220613,7 +220794,7 @@ x-webhooks: - owner - package_version - registry - repository: *789 + repository: *791 sender: *4 required: - action @@ -220690,10 +220871,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - release: &849 + enterprise: *788 + installation: *789 + organization: *790 + release: &851 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -221002,7 +221183,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *789 + repository: *791 sender: *4 required: - action @@ -221079,11 +221260,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - release: *849 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + release: *851 + repository: *791 sender: *4 required: - action @@ -221200,11 +221381,11 @@ x-webhooks: type: boolean required: - to - enterprise: *786 - installation: *787 - organization: *788 - release: *849 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + release: *851 + repository: *791 sender: *4 required: - action @@ -221282,9 +221463,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -221597,7 +221778,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *789 + repository: *791 sender: *4 required: - action @@ -221673,10 +221854,10 @@ x-webhooks: type: string enum: - published - enterprise: *786 - installation: *787 - organization: *788 - release: &850 + enterprise: *788 + installation: *789 + organization: *790 + release: &852 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -221986,7 +222167,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *789 + repository: *791 sender: *4 required: - action @@ -222062,11 +222243,11 @@ x-webhooks: type: string enum: - released - enterprise: *786 - installation: *787 - organization: *788 - release: *849 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + release: *851 + repository: *791 sender: *4 required: - action @@ -222142,11 +222323,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *786 - installation: *787 - organization: *788 - release: *850 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + release: *852 + repository: *791 sender: *4 required: - action @@ -222222,11 +222403,11 @@ x-webhooks: type: string enum: - published - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - repository_advisory: *694 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + repository_advisory: *696 sender: *4 required: - action @@ -222302,11 +222483,11 @@ x-webhooks: type: string enum: - reported - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - repository_advisory: *694 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + repository_advisory: *696 sender: *4 required: - action @@ -222382,10 +222563,10 @@ x-webhooks: type: string enum: - archived - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222462,10 +222643,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222543,10 +222724,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222630,10 +222811,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222745,10 +222926,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222820,10 +223001,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 status: type: string @@ -222904,10 +223085,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -222984,10 +223165,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -223081,10 +223262,10 @@ x-webhooks: - name required: - repository - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -223164,10 +223345,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 repository_ruleset: *130 sender: *4 required: @@ -223246,10 +223427,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 repository_ruleset: *130 sender: *4 required: @@ -223328,10 +223509,10 @@ x-webhooks: type: string enum: - edited - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 repository_ruleset: *130 changes: type: object @@ -223636,10 +223817,10 @@ x-webhooks: - from required: - owner - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -223717,10 +223898,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -223798,7 +223979,7 @@ x-webhooks: type: string enum: - create - alert: &851 + alert: &853 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -223919,10 +224100,10 @@ x-webhooks: type: string enum: - open - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -224128,10 +224309,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -224209,11 +224390,11 @@ x-webhooks: type: string enum: - reopen - alert: *851 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + alert: *853 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -224412,10 +224593,10 @@ x-webhooks: enum: - fixed - open - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -224493,7 +224674,7 @@ x-webhooks: type: string enum: - created - alert: &852 + alert: &854 type: object properties: number: *100 @@ -224604,10 +224785,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -224688,11 +224869,11 @@ x-webhooks: type: string enum: - created - alert: *852 - installation: *787 - location: *853 - organization: *788 - repository: *789 + alert: *854 + installation: *789 + location: *855 + organization: *790 + repository: *791 sender: *4 required: - location @@ -224930,11 +225111,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *852 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + alert: *854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -225012,11 +225193,11 @@ x-webhooks: type: string enum: - reopened - alert: *852 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + alert: *854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -225094,11 +225275,11 @@ x-webhooks: type: string enum: - resolved - alert: *852 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + alert: *854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -225176,11 +225357,11 @@ x-webhooks: type: string enum: - validated - alert: *852 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + alert: *854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -225306,10 +225487,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *789 - enterprise: *786 - installation: *787 - organization: *788 + repository: *791 + enterprise: *788 + installation: *789 + organization: *790 sender: *4 required: - action @@ -225387,11 +225568,11 @@ x-webhooks: type: string enum: - published - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - security_advisory: &854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + security_advisory: &856 description: The details of the security advisory, including summary, description, and severity. type: object @@ -225574,11 +225755,11 @@ x-webhooks: type: string enum: - updated - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 - security_advisory: *854 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 + security_advisory: *856 sender: *4 required: - action @@ -225651,10 +225832,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -225838,11 +226019,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *330 - enterprise: *786 - installation: *787 - organization: *788 - repository: *394 + security_and_analysis: *332 + enterprise: *788 + installation: *789 + organization: *790 + repository: *396 sender: *4 required: - changes @@ -225920,12 +226101,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: &855 + sponsorship: &857 type: object properties: created_at: @@ -226226,12 +226407,12 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: *855 + sponsorship: *857 required: - action - sponsorship @@ -226319,12 +226500,12 @@ x-webhooks: type: string required: - from - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: *855 + sponsorship: *857 required: - action - changes @@ -226401,17 +226582,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &856 + effective_date: &858 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: *855 + sponsorship: *857 required: - action - sponsorship @@ -226485,7 +226666,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &857 + changes: &859 type: object properties: tier: @@ -226529,13 +226710,13 @@ x-webhooks: - from required: - tier - effective_date: *856 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + effective_date: *858 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: *855 + sponsorship: *857 required: - action - changes @@ -226612,13 +226793,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *857 - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + changes: *859 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - sponsorship: *855 + sponsorship: *857 required: - action - changes @@ -226692,10 +226873,10 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -226778,10 +226959,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -227201,15 +227382,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *786 + enterprise: *788 id: description: The unique identifier of the status. type: integer - installation: *787 + installation: *789 name: type: string - organization: *788 - repository: *789 + organization: *790 + repository: *791 sender: *4 sha: description: The Commit SHA. @@ -227318,15 +227499,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *155 + parent_issue: *157 parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *155 - installation: *787 - organization: *788 - repository: *789 + sub_issue: *157 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -227410,15 +227591,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *155 + parent_issue: *157 parent_issue_repo: *64 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *155 - installation: *787 - organization: *788 - repository: *789 + sub_issue: *157 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -227502,15 +227683,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *155 + sub_issue: *157 sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *155 - installation: *787 - organization: *788 - repository: *789 + parent_issue: *157 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -227594,15 +227775,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *155 + sub_issue: *157 sub_issue_repo: *64 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *155 - installation: *787 - organization: *788 - repository: *789 + parent_issue: *157 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -227679,12 +227860,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - team: &858 + team: &860 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -227874,9 +228055,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 repository: title: Repository description: A git repository @@ -228334,7 +228515,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *858 + team: *860 required: - action - team @@ -228410,9 +228591,9 @@ x-webhooks: type: string enum: - created - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 repository: title: Repository description: A git repository @@ -228870,7 +229051,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *858 + team: *860 required: - action - team @@ -228947,9 +229128,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 repository: title: Repository description: A git repository @@ -229407,7 +229588,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *858 + team: *860 required: - action - team @@ -229551,9 +229732,9 @@ x-webhooks: - from required: - permissions - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 repository: title: Repository description: A git repository @@ -230011,7 +230192,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *858 + team: *860 required: - action - changes @@ -230089,9 +230270,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *786 - installation: *787 - organization: *788 + enterprise: *788 + installation: *789 + organization: *790 repository: title: Repository description: A git repository @@ -230549,7 +230730,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *858 + team: *860 required: - action - team @@ -230625,10 +230806,10 @@ x-webhooks: type: string enum: - started - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 required: - action @@ -230701,16 +230882,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *786 + enterprise: *788 inputs: type: object nullable: true additionalProperties: true - installation: *787 - organization: *788 + installation: *789 + organization: *790 ref: type: string - repository: *789 + repository: *791 sender: *4 workflow: type: string @@ -230792,10 +230973,10 @@ x-webhooks: type: string enum: - completed - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 workflow_job: allOf: @@ -231032,7 +231213,7 @@ x-webhooks: type: string required: - conclusion - deployment: *529 + deployment: *531 required: - action - repository @@ -231111,10 +231292,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 workflow_job: allOf: @@ -231374,7 +231555,7 @@ x-webhooks: required: - status - steps - deployment: *529 + deployment: *531 required: - action - repository @@ -231453,10 +231634,10 @@ x-webhooks: type: string enum: - queued - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 workflow_job: type: object @@ -231591,7 +231772,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *529 + deployment: *531 required: - action - repository @@ -231670,10 +231851,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 workflow_job: type: object @@ -231809,7 +231990,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *529 + deployment: *531 required: - action - repository @@ -231889,12 +232070,12 @@ x-webhooks: type: string enum: - completed - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - workflow: *808 + workflow: *810 workflow_run: title: Workflow Run type: object @@ -232893,12 +233074,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - workflow: *808 + workflow: *810 workflow_run: title: Workflow Run type: object @@ -233882,12 +234063,12 @@ x-webhooks: type: string enum: - requested - enterprise: *786 - installation: *787 - organization: *788 - repository: *789 + enterprise: *788 + installation: *789 + organization: *790 + repository: *791 sender: *4 - workflow: *808 + workflow: *810 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index e638b00fc7..50210ae85c 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -8571,6 +8571,185 @@ } } }, + "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": { + "get": { + "summary": "Get a cost center by ID", + "description": "Gets a cost center by ID. The authenticated user must be an enterprise admin.", + "tags": [ + "billing" + ], + "operationId": "billing/get-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/cost-center" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/get_cost_center" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + }, + "patch": { + "summary": "Update a cost center name", + "description": "Updates an existing cost center name.", + "tags": [ + "billing" + ], + "operationId": "billing/update-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name" + }, + "parameters": [ + { + "name": "enterprise", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "The slug version of the enterprise name" + }, + { + "name": "cost_center_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "The unique identifier of the cost center" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "The new name for the cost center" + } + } + }, + "examples": { + "update-cost-center": { + "summary": "Update cost center name example", + "value": { + "name": "New Cost Center Name" + } + } + } + } + } + }, + "responses": { + "200": { + "$ref": "#/components/responses/cost_center" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + }, + "delete": { + "summary": "Delete a cost center", + "description": "Archieves a cost center by ID. The authenticated user must be an enterprise admin.", + "tags": [ + "billing" + ], + "operationId": "billing/delete-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/cost-center" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/delete-cost-center" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": { "post": { "summary": "Add users to a cost center", @@ -12067,15 +12246,15 @@ }, "/organizations/{org}/dependabot/repository-access": { "get": { - "summary": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" }, "parameters": [ { @@ -12136,15 +12315,15 @@ } }, "patch": { - "summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", "tags": [ "dependabot" ], "operationId": "dependabot/update-repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" }, "parameters": [ { @@ -12230,7 +12409,7 @@ "/organizations/{org}/dependabot/repository-access/default-level": { "put": { "summary": "Set the default repository access level for Dependabot", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nSets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", "tags": [ "dependabot" ], @@ -117766,6 +117945,74 @@ } } }, + "get-cost-center": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the cost center." + }, + "name": { + "type": "string", + "description": "Name of the cost center." + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource." + } + }, + "required": [ + "type", + "name" + ] + } + } + }, + "required": [ + "id", + "name", + "resources" + ] + }, + "delete-cost-center": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "A message indicating the result of the deletion operation" + }, + "id": { + "type": "string", + "description": "The unique identifier of the deleted cost center" + }, + "name": { + "type": "string", + "description": "The name of the deleted cost center" + }, + "costCenterState": { + "type": "string", + "enum": [ + "CostCenterArchived" + ], + "description": "The state of the cost center after deletion" + } + }, + "required": [ + "message", + "id", + "name", + "costCenterState" + ] + }, "packages-billing-usage": { "type": "object", "properties": { @@ -290992,6 +291239,32 @@ ] } }, + "get-cost-center": { + "value": [ + { + "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", + "name": "Cost Center Name", + "resources": [ + { + "type": "User", + "name": "Monalisa" + }, + { + "type": "Repo", + "name": "octocat/hello-world" + } + ] + } + ] + }, + "delete-cost-center": { + "value": { + "message": "Cost center successfully deleted.", + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "name": "cc3", + "costCenterState": "CostCenterArchived" + } + }, "packages-billing-usage": { "value": { "total_gigabytes_bandwidth_used": 50, @@ -321333,6 +321606,51 @@ } } }, + "get_cost_center": { + "description": "Response when getting a cost center", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-cost-center" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-cost-center" + } + } + } + } + }, + "cost_center": { + "description": "Response when updating a cost center", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-cost-center" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-cost-center" + } + } + } + } + }, + "delete-cost-center": { + "description": "Response when deleting a cost center", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/delete-cost-center" + }, + "examples": { + "default": { + "$ref": "#/components/examples/delete-cost-center" + } + } + } + } + }, "add_resource_to_cost_center": { "description": "Response when adding resources to a cost center", "content": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index b47f7f1bb3..e537f050de 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -6069,6 +6069,126 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": + get: + summary: Get a cost center by ID + description: Gets a cost center by ID. The authenticated user must be an enterprise + admin. + tags: + - billing + operationId: billing/get-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/cost-center" + responses: + '200': + "$ref": "#/components/responses/get_cost_center" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing + patch: + summary: Update a cost center name + description: Updates an existing cost center name. + tags: + - billing + operationId: billing/update-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name + parameters: + - name: enterprise + in: path + required: true + schema: + type: string + description: The slug version of the enterprise name + - name: cost_center_id + in: path + required: true + schema: + type: string + description: The unique identifier of the cost center + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - name + properties: + name: + type: string + description: The new name for the cost center + examples: + update-cost-center: + summary: Update cost center name example + value: + name: New Cost Center Name + responses: + '200': + "$ref": "#/components/responses/cost_center" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing + delete: + summary: Delete a cost center + description: Archieves a cost center by ID. The authenticated user must be an + enterprise admin. + tags: + - billing + operationId: billing/delete-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/cost-center" + responses: + '200': + "$ref": "#/components/responses/delete-cost-center" + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": post: summary: Add users to a cost center @@ -8562,9 +8682,9 @@ paths: deprecated: true "/organizations/{org}/dependabot/repository-access": get: - summary: Lists repositories that organization admins have allowed Dependabot - to access when updating dependencies. + summary: Lists the repositories Dependabot can access in an organization description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -8573,7 +8693,7 @@ paths: operationId: dependabot/repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - "$ref": "#/components/parameters/org" - name: page @@ -8613,9 +8733,10 @@ paths: category: dependabot subcategory: repository-access patch: - summary: Updates repositories to the list of repositories that organization - admins have allowed Dependabot to access when updating dependencies. + summary: Updates Dependabot's repository access list for an organization description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -8632,7 +8753,7 @@ paths: operationId: dependabot/update-repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - "$ref": "#/components/parameters/org" requestBody: @@ -8688,13 +8809,13 @@ paths: put: summary: Set the default repository access level for Dependabot description: |- - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. Sets the default level of repository access Dependabot will have while performing an update. Available values are: - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. tags: - dependabot operationId: dependabot/set-repository-access-default-level @@ -85770,6 +85891,55 @@ components: - id - name - resources + get-cost-center: + type: object + properties: + id: + type: string + description: ID of the cost center. + name: + type: string + description: Name of the cost center. + resources: + type: array + items: + type: object + properties: + type: + type: string + description: Type of the resource. + name: + type: string + description: Name of the resource. + required: + - type + - name + required: + - id + - name + - resources + delete-cost-center: + type: object + properties: + message: + type: string + description: A message indicating the result of the deletion operation + id: + type: string + description: The unique identifier of the deleted cost center + name: + type: string + description: The name of the deleted cost center + costCenterState: + type: string + enum: + - CostCenterArchived + description: The state of the cost center after deletion + required: + - message + - id + - name + - costCenterState packages-billing-usage: type: object properties: @@ -217598,6 +217768,21 @@ components: name: Monalisa - type: Repo name: octocat/hello-world + get-cost-center: + value: + - id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 + name: Cost Center Name + resources: + - type: User + name: Monalisa + - type: Repo + name: octocat/hello-world + delete-cost-center: + value: + message: Cost center successfully deleted. + id: 2066deda-923f-43f9-88d2-62395a28c0cdd + name: cc3 + costCenterState: CostCenterArchived packages-billing-usage: value: total_gigabytes_bandwidth_used: 50 @@ -243643,6 +243828,33 @@ components: examples: default: "$ref": "#/components/examples/get-all-cost-centers" + get_cost_center: + description: Response when getting a cost center + content: + application/json: + schema: + "$ref": "#/components/schemas/get-cost-center" + examples: + default: + "$ref": "#/components/examples/get-cost-center" + cost_center: + description: Response when updating a cost center + content: + application/json: + schema: + "$ref": "#/components/schemas/get-cost-center" + examples: + default: + "$ref": "#/components/examples/get-cost-center" + delete-cost-center: + description: Response when deleting a cost center + content: + application/json: + schema: + "$ref": "#/components/schemas/delete-cost-center" + examples: + default: + "$ref": "#/components/examples/delete-cost-center" add_resource_to_cost_center: description: Response when adding resources to a cost center content: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index e638b00fc7..50210ae85c 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -8571,6 +8571,185 @@ } } }, + "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": { + "get": { + "summary": "Get a cost center by ID", + "description": "Gets a cost center by ID. The authenticated user must be an enterprise admin.", + "tags": [ + "billing" + ], + "operationId": "billing/get-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/cost-center" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/get_cost_center" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + }, + "patch": { + "summary": "Update a cost center name", + "description": "Updates an existing cost center name.", + "tags": [ + "billing" + ], + "operationId": "billing/update-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name" + }, + "parameters": [ + { + "name": "enterprise", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "The slug version of the enterprise name" + }, + { + "name": "cost_center_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "The unique identifier of the cost center" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "description": "The new name for the cost center" + } + } + }, + "examples": { + "update-cost-center": { + "summary": "Update cost center name example", + "value": { + "name": "New Cost Center Name" + } + } + } + } + } + }, + "responses": { + "200": { + "$ref": "#/components/responses/cost_center" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "409": { + "$ref": "#/components/responses/conflict" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + }, + "delete": { + "summary": "Delete a cost center", + "description": "Archieves a cost center by ID. The authenticated user must be an enterprise admin.", + "tags": [ + "billing" + ], + "operationId": "billing/delete-cost-center", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/cost-center" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/delete-cost-center" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": { "post": { "summary": "Add users to a cost center", @@ -12067,15 +12246,15 @@ }, "/organizations/{org}/dependabot/repository-access": { "get": { - "summary": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", + "summary": "Lists the repositories Dependabot can access in an organization", + "description": "Lists repositories that organization admins have allowed Dependabot to access when updating dependencies.\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.", "tags": [ "dependabot" ], "operationId": "dependabot/repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization" }, "parameters": [ { @@ -12136,15 +12315,15 @@ } }, "patch": { - "summary": "Updates repositories to the list of repositories that organization admins have allowed Dependabot to access when updating dependencies.", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", + "summary": "Updates Dependabot's repository access list for an organization", + "description": "Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies.\n\n> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nUnauthorized users will not see the existence of this endpoint.\n\n**Example request body:**\n```json\n{\n \"repository_ids_to_add\": [123, 456],\n \"repository_ids_to_remove\": [789]\n}\n```", "tags": [ "dependabot" ], "operationId": "dependabot/update-repository-access-for-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization" }, "parameters": [ { @@ -12230,7 +12409,7 @@ "/organizations/{org}/dependabot/repository-access/default-level": { "put": { "summary": "Set the default repository access level for Dependabot", - "description": "> [!NOTE]\n> This operation supports both server-to-server and user-to-server access.\nSets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.", + "description": "Sets the default level of repository access Dependabot will have while performing an update. Available values are:\n- 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.\n- 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.\n\nUnauthorized users will not see the existence of this endpoint.\n\nThis operation supports both server-to-server and user-to-server access.", "tags": [ "dependabot" ], @@ -117766,6 +117945,74 @@ } } }, + "get-cost-center": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "ID of the cost center." + }, + "name": { + "type": "string", + "description": "Name of the cost center." + }, + "resources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "Type of the resource." + }, + "name": { + "type": "string", + "description": "Name of the resource." + } + }, + "required": [ + "type", + "name" + ] + } + } + }, + "required": [ + "id", + "name", + "resources" + ] + }, + "delete-cost-center": { + "type": "object", + "properties": { + "message": { + "type": "string", + "description": "A message indicating the result of the deletion operation" + }, + "id": { + "type": "string", + "description": "The unique identifier of the deleted cost center" + }, + "name": { + "type": "string", + "description": "The name of the deleted cost center" + }, + "costCenterState": { + "type": "string", + "enum": [ + "CostCenterArchived" + ], + "description": "The state of the cost center after deletion" + } + }, + "required": [ + "message", + "id", + "name", + "costCenterState" + ] + }, "packages-billing-usage": { "type": "object", "properties": { @@ -290992,6 +291239,32 @@ ] } }, + "get-cost-center": { + "value": [ + { + "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", + "name": "Cost Center Name", + "resources": [ + { + "type": "User", + "name": "Monalisa" + }, + { + "type": "Repo", + "name": "octocat/hello-world" + } + ] + } + ] + }, + "delete-cost-center": { + "value": { + "message": "Cost center successfully deleted.", + "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", + "name": "cc3", + "costCenterState": "CostCenterArchived" + } + }, "packages-billing-usage": { "value": { "total_gigabytes_bandwidth_used": 50, @@ -321333,6 +321606,51 @@ } } }, + "get_cost_center": { + "description": "Response when getting a cost center", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-cost-center" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-cost-center" + } + } + } + } + }, + "cost_center": { + "description": "Response when updating a cost center", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/get-cost-center" + }, + "examples": { + "default": { + "$ref": "#/components/examples/get-cost-center" + } + } + } + } + }, + "delete-cost-center": { + "description": "Response when deleting a cost center", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/delete-cost-center" + }, + "examples": { + "default": { + "$ref": "#/components/examples/delete-cost-center" + } + } + } + } + }, "add_resource_to_cost_center": { "description": "Response when adding resources to a cost center", "content": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index b47f7f1bb3..e537f050de 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -6069,6 +6069,126 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": + get: + summary: Get a cost center by ID + description: Gets a cost center by ID. The authenticated user must be an enterprise + admin. + tags: + - billing + operationId: billing/get-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/cost-center" + responses: + '200': + "$ref": "#/components/responses/get_cost_center" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing + patch: + summary: Update a cost center name + description: Updates an existing cost center name. + tags: + - billing + operationId: billing/update-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name + parameters: + - name: enterprise + in: path + required: true + schema: + type: string + description: The slug version of the enterprise name + - name: cost_center_id + in: path + required: true + schema: + type: string + description: The unique identifier of the cost center + requestBody: + required: true + content: + application/json: + schema: + type: object + required: + - name + properties: + name: + type: string + description: The new name for the cost center + examples: + update-cost-center: + summary: Update cost center name example + value: + name: New Cost Center Name + responses: + '200': + "$ref": "#/components/responses/cost_center" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '409': + "$ref": "#/components/responses/conflict" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing + delete: + summary: Delete a cost center + description: Archieves a cost center by ID. The authenticated user must be an + enterprise admin. + tags: + - billing + operationId: billing/delete-cost-center + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/cost-center" + responses: + '200': + "$ref": "#/components/responses/delete-cost-center" + '400': + "$ref": "#/components/responses/bad_request" + '404': + "$ref": "#/components/responses/not_found" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": post: summary: Add users to a cost center @@ -8562,9 +8682,9 @@ paths: deprecated: true "/organizations/{org}/dependabot/repository-access": get: - summary: Lists repositories that organization admins have allowed Dependabot - to access when updating dependencies. + summary: Lists the repositories Dependabot can access in an organization description: |- + Lists repositories that organization admins have allowed Dependabot to access when updating dependencies. > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -8573,7 +8693,7 @@ paths: operationId: dependabot/repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#lists-the-repositories-dependabot-can-access-in-an-organization parameters: - "$ref": "#/components/parameters/org" - name: page @@ -8613,9 +8733,10 @@ paths: category: dependabot subcategory: repository-access patch: - summary: Updates repositories to the list of repositories that organization - admins have allowed Dependabot to access when updating dependencies. + summary: Updates Dependabot's repository access list for an organization description: |- + Updates repositories according to the list of repositories that organization admins have given Dependabot access to when they've updated dependencies. + > [!NOTE] > This operation supports both server-to-server and user-to-server access. Unauthorized users will not see the existence of this endpoint. @@ -8632,7 +8753,7 @@ paths: operationId: dependabot/update-repository-access-for-org externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-repositories-to-the-list-of-repositories-that-organization-admins-have-allowed-dependabot-to-access-when-updating-dependencies + url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/repository-access#updates-dependabots-repository-access-list-for-an-organization parameters: - "$ref": "#/components/parameters/org" requestBody: @@ -8688,13 +8809,13 @@ paths: put: summary: Set the default repository access level for Dependabot description: |- - > [!NOTE] - > This operation supports both server-to-server and user-to-server access. Sets the default level of repository access Dependabot will have while performing an update. Available values are: - 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories. - 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories. Unauthorized users will not see the existence of this endpoint. + + This operation supports both server-to-server and user-to-server access. tags: - dependabot operationId: dependabot/set-repository-access-default-level @@ -85770,6 +85891,55 @@ components: - id - name - resources + get-cost-center: + type: object + properties: + id: + type: string + description: ID of the cost center. + name: + type: string + description: Name of the cost center. + resources: + type: array + items: + type: object + properties: + type: + type: string + description: Type of the resource. + name: + type: string + description: Name of the resource. + required: + - type + - name + required: + - id + - name + - resources + delete-cost-center: + type: object + properties: + message: + type: string + description: A message indicating the result of the deletion operation + id: + type: string + description: The unique identifier of the deleted cost center + name: + type: string + description: The name of the deleted cost center + costCenterState: + type: string + enum: + - CostCenterArchived + description: The state of the cost center after deletion + required: + - message + - id + - name + - costCenterState packages-billing-usage: type: object properties: @@ -217598,6 +217768,21 @@ components: name: Monalisa - type: Repo name: octocat/hello-world + get-cost-center: + value: + - id: 2eeb8ffe-6903-11ee-8c99-0242ac120002 + name: Cost Center Name + resources: + - type: User + name: Monalisa + - type: Repo + name: octocat/hello-world + delete-cost-center: + value: + message: Cost center successfully deleted. + id: 2066deda-923f-43f9-88d2-62395a28c0cdd + name: cc3 + costCenterState: CostCenterArchived packages-billing-usage: value: total_gigabytes_bandwidth_used: 50 @@ -243643,6 +243828,33 @@ components: examples: default: "$ref": "#/components/examples/get-all-cost-centers" + get_cost_center: + description: Response when getting a cost center + content: + application/json: + schema: + "$ref": "#/components/schemas/get-cost-center" + examples: + default: + "$ref": "#/components/examples/get-cost-center" + cost_center: + description: Response when updating a cost center + content: + application/json: + schema: + "$ref": "#/components/schemas/get-cost-center" + examples: + default: + "$ref": "#/components/examples/get-cost-center" + delete-cost-center: + description: Response when deleting a cost center + content: + application/json: + schema: + "$ref": "#/components/schemas/delete-cost-center" + examples: + default: + "$ref": "#/components/examples/delete-cost-center" add_resource_to_cost_center: description: Response when adding resources to a cost center content: