diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 33fb1bef41..1fa4e92d08 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -6335,15 +6335,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": [ { @@ -6404,15 +6404,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": [ { @@ -6498,7 +6498,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index fa32036c15..8533cbbd61 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -4468,9 +4468,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. @@ -4479,7 +4479,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 @@ -4519,9 +4519,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. @@ -4538,7 +4539,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: @@ -4594,13 +4595,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 33fb1bef41..1fa4e92d08 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -6335,15 +6335,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": [ { @@ -6404,15 +6404,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": [ { @@ -6498,7 +6498,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index fa32036c15..8533cbbd61 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -4468,9 +4468,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. @@ -4479,7 +4479,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 @@ -4519,9 +4519,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. @@ -4538,7 +4539,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: @@ -4594,13 +4595,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 0b208e317c..9c6c6663aa 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -58424,15 +58424,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": [ { @@ -59201,15 +59201,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": [ { @@ -59347,7 +59347,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 5b324a6c75..e71abd5a07 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -16215,9 +16215,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. @@ -16226,7 +16226,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: - &90 name: org @@ -16363,9 +16363,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. @@ -16382,7 +16383,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: - *90 requestBody: @@ -16436,13 +16437,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-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 0b208e317c..9c6c6663aa 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -58424,15 +58424,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": [ { @@ -59201,15 +59201,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": [ { @@ -59347,7 +59347,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-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 5b324a6c75..e71abd5a07 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -16215,9 +16215,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. @@ -16226,7 +16226,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: - &90 name: org @@ -16363,9 +16363,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. @@ -16382,7 +16383,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: - *90 requestBody: @@ -16436,13 +16437,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-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 56c61d25e0..c8b79ef1bc 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -52558,6 +52558,833 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", @@ -86635,15 +87462,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": [ { @@ -87412,15 +88239,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": [ { @@ -87558,7 +88385,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-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index bb424d3c67..d0ef9b9ec2 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -909,7 +909,7 @@ paths: - subscriptions_url - type - url - type: &333 + type: &335 type: string description: The type of credit the user is receiving. enum: @@ -1042,7 +1042,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &175 + schema: &177 title: Validation Error Simple description: Validation Error Simple type: object @@ -1075,7 +1075,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: - - &672 + - &674 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1660,7 +1660,7 @@ paths: schema: type: integer default: 30 - - &258 + - &260 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 @@ -1676,7 +1676,7 @@ paths: application/json: schema: type: array - items: &259 + items: &261 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1772,7 +1772,7 @@ paths: - installation_id - repository_id examples: - default: &260 + default: &262 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1804,7 +1804,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &682 + schema: &684 title: Scim Error description: Scim Error type: object @@ -1835,7 +1835,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &174 + schema: &176 title: Validation Error description: Validation Error type: object @@ -1907,7 +1907,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &263 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2042,7 +2042,7 @@ paths: - request - response examples: - default: &262 + default: &264 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2246,7 +2246,7 @@ paths: parameters: - *17 - *19 - - &139 + - &141 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) @@ -3008,7 +3008,7 @@ paths: license: anyOf: - type: 'null' - - &150 + - &152 title: License Simple description: License Simple type: object @@ -7672,7 +7672,7 @@ paths: description: Response content: application/json: - schema: &176 + schema: &178 type: object properties: total_active_caches_count: @@ -7687,7 +7687,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &177 + default: &179 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7892,7 +7892,7 @@ paths: - public_ip_enabled - platform examples: - default: &178 + default: &180 value: total_count: 2 runners: @@ -8182,7 +8182,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &181 type: object properties: public_ips: @@ -8209,7 +8209,7 @@ paths: required: - public_ips examples: - default: &180 + default: &182 value: public_ips: current_usage: 17 @@ -8249,7 +8249,7 @@ paths: type: array items: *43 examples: - default: &181 + default: &183 value: id: 4-core cpu_cores: 4 @@ -8507,7 +8507,7 @@ paths: - all - local_only - selected - selected_actions_url: &184 + selected_actions_url: &186 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` @@ -8888,7 +8888,7 @@ paths: description: Success response content: application/json: - schema: &187 + schema: &189 type: object properties: default_workflow_permissions: &51 @@ -8936,7 +8936,7 @@ paths: required: true content: application/json: - schema: &188 + schema: &190 type: object properties: default_workflow_permissions: *51 @@ -9781,7 +9781,7 @@ paths: application/json: schema: type: array - items: &192 + items: &194 title: Runner Application description: Runner Application type: object @@ -9806,7 +9806,7 @@ paths: - download_url - filename examples: - default: &193 + default: &195 value: - os: osx architecture: x64 @@ -9890,7 +9890,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &194 + '201': &196 description: Response content: application/json: @@ -10009,7 +10009,7 @@ paths: - token - expires_at examples: - default: &195 + default: &197 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10049,7 +10049,7 @@ paths: application/json: schema: *63 examples: - default: &196 + default: &198 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10081,7 +10081,7 @@ paths: application/json: schema: *60 examples: - default: &197 + default: &199 value: id: 23 name: MBP @@ -10297,7 +10297,7 @@ paths: - *39 - *59 responses: - '200': &198 + '200': &200 description: Response content: application/json: @@ -10353,7 +10353,7 @@ paths: parameters: - *39 - *59 - - &199 + - &201 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10450,7 +10450,7 @@ paths: required: true content: application/json: - schema: &206 + schema: &208 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10522,7 +10522,7 @@ paths: required: false schema: type: string - - &207 + - &209 name: include description: |- The event types to include: @@ -10540,7 +10540,7 @@ paths: - web - git - all - - &208 + - &210 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. @@ -10548,7 +10548,7 @@ paths: required: false schema: type: string - - &209 + - &211 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. @@ -10556,7 +10556,7 @@ paths: required: false schema: type: string - - &210 + - &212 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10578,7 +10578,7 @@ paths: application/json: schema: type: array - items: &211 + items: &213 type: object properties: "@timestamp": @@ -10700,7 +10700,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &212 + default: &214 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11303,7 +11303,7 @@ paths: in: query schema: type: string - - &214 + - &216 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11311,7 +11311,7 @@ paths: required: false schema: type: string - - &215 + - &217 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11319,7 +11319,7 @@ paths: required: false schema: type: string - - &216 + - &218 name: time_period description: |- The time period to filter by. @@ -11335,7 +11335,7 @@ paths: - week - month default: day - - &217 + - &219 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -11362,7 +11362,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11488,7 +11488,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: &221 + items: &223 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11534,7 +11534,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &219 + default: &221 value: - id: 21 number: 42 @@ -11621,7 +11621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &226 + - &228 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`, @@ -11631,7 +11631,7 @@ paths: schema: &87 type: string description: The name of the tool used to generate the code scanning analysis. - - &227 + - &229 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 @@ -11655,7 +11655,7 @@ paths: be returned. in: query required: false - schema: &228 + schema: &230 type: string description: State of a code scanning alert. enum: @@ -11680,7 +11680,7 @@ paths: application/json: schema: type: array - items: &229 + items: &231 type: object properties: number: &96 @@ -11709,7 +11709,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &448 + instances_url: &450 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11745,7 +11745,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &449 + dismissed_reason: &451 type: - string - 'null' @@ -11756,14 +11756,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &450 + dismissed_comment: &452 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &451 + rule: &453 type: object properties: id: @@ -11824,7 +11824,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &452 + tool: &454 type: object properties: name: *87 @@ -11835,15 +11835,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *88 - most_recent_instance: &453 + most_recent_instance: &455 type: object properties: - ref: &446 + ref: &448 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &463 + analysis_key: &465 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11854,7 +11854,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &464 + category: &466 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12242,7 +12242,7 @@ paths: - most_recent_instance - repository examples: - default: &230 + default: &232 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13066,7 +13066,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &234 type: array description: A list of default code security configurations items: @@ -13082,7 +13082,7 @@ paths: default configuration: *90 examples: - default: &233 + default: &235 value: - default_for_new_repos: public configuration: @@ -13516,7 +13516,7 @@ paths: default: value: default_for_new_repos: all - configuration: &231 + configuration: &233 value: id: 1325 target_type: organization @@ -13599,7 +13599,7 @@ paths: application/json: schema: type: array - items: &234 + items: &236 type: object description: Repositories associated with a code security configuration and attachment status @@ -13623,7 +13623,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &235 + repository: &237 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14124,7 +14124,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &222 + - &224 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -14183,7 +14183,7 @@ paths: parent: anyOf: - type: 'null' - - &295 + - &297 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -14522,7 +14522,7 @@ paths: application/json: schema: type: array - items: &132 + items: &134 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -14837,7 +14837,7 @@ paths: - date additionalProperties: true examples: - default: &133 + default: &135 value: - date: '2024-06-24' total_active_users: 24 @@ -14939,7 +14939,7 @@ paths: '500': *83 '403': *27 '404': *6 - '422': &134 + '422': &136 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -14969,7 +14969,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &242 + - &244 name: state in: query description: |- @@ -14978,7 +14978,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &243 + - &245 name: severity in: query description: |- @@ -14987,7 +14987,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &244 + - &246 name: ecosystem in: query description: |- @@ -14996,14 +14996,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &245 + - &247 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 - - &246 + - &248 name: epss_percentage in: query description: |- @@ -15015,7 +15015,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 - - &247 + - &249 name: has in: query description: |- @@ -15029,7 +15029,7 @@ paths: type: string enum: - patch - - &248 + - &250 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -15039,7 +15039,7 @@ paths: enum: - development - runtime - - &249 + - &251 name: sort in: query description: |- @@ -15057,7 +15057,7 @@ paths: - *86 - *84 - *85 - - &250 + - &252 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -15070,7 +15070,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &251 + - &253 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -15090,7 +15090,7 @@ paths: application/json: schema: type: array - items: &252 + items: &254 type: object description: A Dependabot alert. properties: @@ -15157,7 +15157,7 @@ paths: - direct - transitive - - security_advisory: &500 + security_advisory: &502 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15393,7 +15393,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: &501 + auto_dismissed_at: &503 type: - string - 'null' @@ -15420,7 +15420,7 @@ paths: - repository additionalProperties: false examples: - default: &253 + default: &255 value: - number: 2 state: dismissed @@ -15837,7 +15837,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: - *39 - - &213 + - &215 name: username description: The handle for the GitHub user account. in: path @@ -15949,7 +15949,7 @@ paths: - name - created_on examples: - default: &343 + default: &345 value: total_count: 2 network_configurations: @@ -16172,7 +16172,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: - *39 - - &344 + - &346 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -16184,7 +16184,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &347 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -16223,7 +16223,7 @@ paths: - subnet_id - region examples: - default: &346 + default: &348 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -16446,7 +16446,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *39 - - &165 + - &167 name: org description: The organization name. The name is not case sensitive. in: path @@ -16535,7 +16535,7 @@ paths: required: true content: application/json: - schema: &314 + schema: &316 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16911,7 +16911,7 @@ paths: type: object description: A repository rule. oneOf: - - &616 + - &618 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16923,7 +16923,7 @@ paths: type: string enum: - creation - - &617 + - &619 title: update description: Only allow users with bypass permission to update matching refs. @@ -16944,7 +16944,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &619 + - &621 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16956,7 +16956,7 @@ paths: type: string enum: - deletion - - &620 + - &622 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16968,7 +16968,7 @@ paths: type: string enum: - required_linear_history - - &621 + - &623 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -17044,7 +17044,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &622 + - &624 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -17068,7 +17068,7 @@ paths: type: string required: - required_deployment_environments - - &623 + - &625 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -17080,7 +17080,7 @@ paths: type: string enum: - required_signatures - - &624 + - &626 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. @@ -17140,7 +17140,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &625 + - &627 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17187,7 +17187,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &626 + - &628 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17199,7 +17199,7 @@ paths: type: string enum: - non_fast_forward - - &627 + - &629 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17235,7 +17235,7 @@ paths: required: - operator - pattern - - &628 + - &630 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17271,7 +17271,7 @@ paths: required: - operator - pattern - - &629 + - &631 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17307,7 +17307,7 @@ paths: required: - operator - pattern - - &630 + - &632 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17343,7 +17343,7 @@ paths: required: - operator - pattern - - &631 + - &633 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17379,7 +17379,7 @@ paths: required: - operator - pattern - - &632 + - &634 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -17403,7 +17403,7 @@ paths: type: string required: - restricted_file_paths - - &633 + - &635 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -17427,7 +17427,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &634 + - &636 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -17450,7 +17450,7 @@ paths: type: string required: - restricted_file_extensions - - &635 + - &637 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -17474,7 +17474,7 @@ paths: maximum: 100 required: - max_file_size - - &636 + - &638 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17523,7 +17523,7 @@ paths: - repository_id required: - workflows - - &637 + - &639 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17680,7 +17680,7 @@ paths: conditions: anyOf: - *119 - - &319 + - &321 title: Organization ruleset conditions type: object description: |- @@ -17964,7 +17964,7 @@ paths: type: string format: date-time examples: - default: &321 + default: &323 value: - version_id: 3 actor: @@ -18017,7 +18017,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &324 allOf: - *129 - type: object @@ -18072,7 +18072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &323 + - &325 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -18083,7 +18083,7 @@ paths: enum: - open - resolved - - &324 + - &326 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -18093,7 +18093,7 @@ paths: required: false schema: type: string - - &325 + - &327 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -18102,7 +18102,7 @@ paths: required: false schema: type: string - - &326 + - &328 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. @@ -18118,7 +18118,7 @@ paths: - *17 - *84 - *85 - - &327 + - &329 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -18127,7 +18127,7 @@ paths: required: false schema: type: string - - &328 + - &330 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -18136,7 +18136,7 @@ paths: schema: type: boolean default: false - - &329 + - &331 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -18145,7 +18145,7 @@ paths: schema: type: boolean default: false - - &330 + - &332 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -18161,7 +18161,7 @@ paths: application/json: schema: type: array - items: &331 + items: &333 type: object properties: number: *96 @@ -18177,14 +18177,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &650 + state: &652 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: &651 + resolution: &653 type: - string - 'null' @@ -18291,14 +18291,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &652 + - &654 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &654 + - &656 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -18355,7 +18355,7 @@ paths: - blob_url - commit_sha - commit_url - - &655 + - &657 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. @@ -18416,7 +18416,7 @@ paths: - page_url - commit_sha - commit_url - - &656 + - &658 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -18431,7 +18431,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &657 + - &659 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -18446,7 +18446,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &658 + - &660 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -18461,7 +18461,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &659 + - &661 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -18476,7 +18476,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &660 + - &662 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -18491,7 +18491,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &661 + - &663 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -18506,7 +18506,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &662 + - &664 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. @@ -18521,7 +18521,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &663 + - &665 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. @@ -18536,7 +18536,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &664 + - &666 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. @@ -18551,7 +18551,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &665 + - &667 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. @@ -18566,7 +18566,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &666 + - &668 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 @@ -18587,7 +18587,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &332 + default: &334 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18869,7 +18869,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 type: object properties: total_minutes_used: @@ -18939,7 +18939,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &335 + default: &337 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18970,7 +18970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &336 + - &338 name: advanced_security_product in: query description: | @@ -18990,7 +18990,7 @@ paths: description: Success content: application/json: - schema: &337 + schema: &339 type: object properties: total_advanced_security_committers: @@ -19053,7 +19053,7 @@ paths: required: - repositories examples: - default: &338 + default: &340 value: total_advanced_security_committers: 2 total_count: 2 @@ -19156,6 +19156,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: + - *39 + - &133 + 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: &131 + 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: &132 + 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': *27 + '500': *83 + '503': *130 + 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: *131 + examples: + default: *132 + '400': *14 + '403': *27 + '404': *6 + '409': *94 + '500': *83 + '503': *130 + 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: + - *39 + - *133 + 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': *27 + '500': *83 + '503': *130 + 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 @@ -19171,13 +19357,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *39 - - &131 - name: cost_center_id - description: The ID corresponding to the cost center. - in: path - required: true - schema: - type: string + - *133 requestBody: required: true content: @@ -19234,7 +19414,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *39 - - *131 + - *133 requestBody: required: true content: @@ -19302,7 +19482,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &341 type: object properties: total_gigabytes_bandwidth_used: @@ -19320,7 +19500,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &340 + default: &342 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -19355,7 +19535,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &343 type: object properties: days_left_in_billing_cycle: @@ -19373,7 +19553,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &342 + default: &344 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -19398,7 +19578,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *39 - - &166 + - &168 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, @@ -19407,7 +19587,7 @@ paths: required: false schema: type: integer - - &167 + - &169 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 @@ -19416,7 +19596,7 @@ paths: required: false schema: type: integer - - &168 + - &170 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 @@ -19425,7 +19605,7 @@ paths: required: false schema: type: integer - - &169 + - &171 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 @@ -19446,7 +19626,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &170 + schema: &172 type: object properties: usageItems: @@ -19499,7 +19679,7 @@ paths: - netAmount - organizationName examples: - default: &171 + default: &173 value: usageItems: - date: '2023-08-01' @@ -19587,13 +19767,13 @@ paths: application/json: schema: type: array - items: *132 + items: *134 examples: - default: *133 + default: *135 '500': *83 '403': *27 '404': *6 - '422': *134 + '422': *136 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19682,7 +19862,7 @@ paths: application/json: schema: type: array - items: &160 + items: &162 title: Event description: Event type: object @@ -19693,7 +19873,7 @@ paths: type: - string - 'null' - actor: &135 + actor: &137 title: Actor description: Actor type: object @@ -19734,13 +19914,13 @@ paths: - id - name - url - org: *135 + org: *137 payload: type: object properties: action: type: string - issue: &149 + issue: &151 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -19860,7 +20040,7 @@ paths: milestone: anyOf: - type: 'null' - - &488 + - &490 title: Milestone description: A collection of related issues and pull requests. @@ -20032,7 +20212,7 @@ paths: timeline_url: type: string format: uri - type: &280 + type: &282 title: Issue Type description: The type of issue. type: @@ -20090,7 +20270,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &136 + author_association: &138 title: author_association type: string description: How the author is associated with the repository. @@ -20105,7 +20285,7 @@ paths: - OWNER examples: - OWNER - reactions: &137 + reactions: &139 title: Reaction Rollup type: object properties: @@ -20177,7 +20357,7 @@ paths: - author_association - created_at - updated_at - comment: &556 + comment: &558 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20227,12 +20407,12 @@ paths: issue_url: type: string format: uri - author_association: *136 + author_association: *138 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *137 + reactions: *139 required: - id - node_id @@ -20419,7 +20599,7 @@ paths: _links: type: object properties: - timeline: &138 + timeline: &140 title: Link With Type description: Hypermedia Link with Type type: object @@ -20431,17 +20611,17 @@ paths: required: - href - type - user: *138 - security_advisories: *138 - current_user: *138 - current_user_public: *138 - current_user_actor: *138 - current_user_organization: *138 + user: *140 + security_advisories: *140 + current_user: *140 + current_user_public: *140 + current_user_actor: *140 + current_user_organization: *140 current_user_organizations: type: array - items: *138 - repository_discussions: *138 - repository_discussions_category: *138 + items: *140 + repository_discussions: *140 + repository_discussions_category: *140 required: - timeline - user @@ -20503,7 +20683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *139 + - *141 - *17 - *19 responses: @@ -20513,7 +20693,7 @@ paths: application/json: schema: type: array - items: &140 + items: &142 title: Base Gist description: Base Gist type: object @@ -20610,7 +20790,7 @@ paths: - created_at - updated_at examples: - default: &141 + default: &143 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20734,7 +20914,7 @@ paths: description: Response content: application/json: - schema: &142 + schema: &144 title: Gist Simple description: Gist Simple type: object @@ -20752,7 +20932,7 @@ paths: url: type: string format: uri - user: &721 + user: &723 title: Public User description: Public User type: object @@ -21126,7 +21306,7 @@ paths: truncated: type: boolean examples: - default: &143 + default: &145 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -21230,7 +21410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *139 + - *141 - *17 - *19 responses: @@ -21240,9 +21420,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *141 + default: *143 headers: Link: *38 '422': *15 @@ -21264,7 +21444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *139 + - *141 - *17 - *19 responses: @@ -21274,9 +21454,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *141 + default: *143 headers: Link: *38 '401': *23 @@ -21304,7 +21484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &144 + - &146 name: gist_id description: The unique identifier of the gist. in: path @@ -21316,10 +21496,10 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: *143 - '403': &147 + default: *145 + '403': &149 description: Forbidden Gist content: application/json: @@ -21368,7 +21548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *144 + - *146 requestBody: required: true content: @@ -21432,9 +21612,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: - updateGist: *143 + updateGist: *145 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -21592,7 +21772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *144 + - *146 responses: '204': description: Response @@ -21621,7 +21801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *144 + - *146 - *17 - *19 responses: @@ -21631,7 +21811,7 @@ paths: application/json: schema: type: array - items: &145 + items: &147 title: Gist Comment description: A comment made to a gist. type: object @@ -21669,7 +21849,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *136 + author_association: *138 required: - url - id @@ -21734,7 +21914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *144 + - *146 requestBody: required: true content: @@ -21760,9 +21940,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *147 examples: - default: &146 + default: &148 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21820,8 +22000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *144 - - &148 + - *146 + - &150 name: comment_id description: The unique identifier of the comment. in: path @@ -21834,12 +22014,12 @@ paths: description: Response content: application/json: - schema: *145 + schema: *147 examples: - default: *146 + default: *148 '304': *35 '404': *6 - '403': *147 + '403': *149 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21861,8 +22041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *144 - - *148 + - *146 + - *150 requestBody: required: true content: @@ -21888,9 +22068,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *147 examples: - default: *146 + default: *148 '404': *6 x-github: githubCloudOnly: false @@ -21907,8 +22087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *144 - - *148 + - *146 + - *150 responses: '204': description: Response @@ -21931,7 +22111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *144 + - *146 - *17 - *19 responses: @@ -22032,7 +22212,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *144 + - *146 - *17 - *19 responses: @@ -22042,7 +22222,7 @@ paths: application/json: schema: type: array - items: *142 + items: *144 examples: default: value: @@ -22107,13 +22287,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *144 + - *146 responses: '201': description: Response content: application/json: - schema: *140 + schema: *142 examples: default: value: @@ -22184,7 +22364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *144 + - *146 responses: '204': description: Response if gist is starred @@ -22214,7 +22394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *144 + - *146 responses: '204': description: Response @@ -22236,7 +22416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *144 + - *146 responses: '204': description: Response @@ -22265,7 +22445,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *144 + - *146 - name: sha in: path required: true @@ -22276,9 +22456,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: *143 + default: *145 '422': *15 '404': *6 '403': *27 @@ -22647,7 +22827,7 @@ paths: - closed - all default: open - - &283 + - &285 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22666,7 +22846,7 @@ paths: - comments default: created - *86 - - *139 + - *141 - name: collab in: query required: false @@ -22696,9 +22876,9 @@ paths: application/json: schema: type: array - items: *149 + items: *151 examples: - default: &284 + default: &286 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22978,7 +23158,7 @@ paths: application/json: schema: type: array - items: *150 + items: *152 examples: default: value: @@ -23276,7 +23456,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &151 + X-CommonMarker-Version: &153 example: 0.17.4 schema: type: string @@ -23331,7 +23511,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *151 + X-CommonMarker-Version: *153 content: text/html: schema: @@ -23360,7 +23540,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: - - &154 + - &156 name: account_id description: account_id parameter in: path @@ -23372,7 +23552,7 @@ paths: description: Response content: application/json: - schema: &153 + schema: &155 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -23406,7 +23586,7 @@ paths: - 'null' id: type: integer - plan: &152 + plan: &154 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -23509,7 +23689,7 @@ paths: - 'null' updated_at: type: string - plan: *152 + plan: *154 required: - url - id @@ -23517,7 +23697,7 @@ paths: - login - marketplace_purchase examples: - default: &155 + default: &157 value: url: https://api.github.com/orgs/github type: Organization @@ -23602,9 +23782,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: &156 + default: &158 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -23644,14 +23824,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &157 + - &159 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &158 + - &160 name: sort description: The property to sort the results by. in: query @@ -23681,9 +23861,9 @@ paths: application/json: schema: type: array - items: *153 + items: *155 examples: - default: &159 + default: &161 value: - url: https://api.github.com/orgs/github type: Organization @@ -23757,15 +23937,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: - - *154 + - *156 responses: '200': description: Response content: application/json: - schema: *153 + schema: *155 examples: - default: *155 + default: *157 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -23797,9 +23977,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *156 + default: *158 headers: Link: *38 '401': *23 @@ -23822,8 +24002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *157 - - *158 + - *159 + - *160 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23843,9 +24023,9 @@ paths: application/json: schema: type: array - items: *153 + items: *155 examples: - default: *159 + default: *161 headers: Link: *38 '401': *23 @@ -24110,14 +24290,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: - - &366 + - &368 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &367 + - &369 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -24134,7 +24314,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -24188,7 +24368,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &380 + '301': &382 description: Moved permanently content: application/json: @@ -24210,7 +24390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &585 + - &587 name: all description: If `true`, show notifications marked as read. in: query @@ -24218,7 +24398,7 @@ paths: schema: type: boolean default: false - - &586 + - &588 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -24227,8 +24407,8 @@ paths: schema: type: boolean default: false - - *139 - - &587 + - *141 + - &589 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: @@ -24253,14 +24433,14 @@ paths: application/json: schema: type: array - items: &161 + items: &163 title: Thread description: Thread type: object properties: id: type: string - repository: &191 + repository: &193 title: Minimal Repository description: Minimal Repository type: object @@ -24599,7 +24779,7 @@ paths: type: boolean examples: - false - security_and_analysis: &316 + security_and_analysis: &318 type: - object - 'null' @@ -24768,7 +24948,7 @@ paths: - url - subscription_url examples: - default: &588 + default: &590 value: - id: '1' repository: @@ -24934,7 +25114,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &162 + - &164 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 @@ -24948,7 +25128,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *163 examples: default: value: @@ -25051,7 +25231,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *162 + - *164 responses: '205': description: Reset Content @@ -25074,7 +25254,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *162 + - *164 responses: '204': description: No content @@ -25097,13 +25277,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: - - *162 + - *164 responses: '200': description: Response content: application/json: - schema: &163 + schema: &165 title: Thread Subscription description: Thread Subscription type: object @@ -25147,7 +25327,7 @@ paths: - url - subscribed examples: - default: &164 + default: &166 value: subscribed: true ignored: false @@ -25178,7 +25358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *162 + - *164 requestBody: required: false content: @@ -25199,9 +25379,9 @@ paths: description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: *164 + default: *166 '304': *35 '403': *27 '401': *23 @@ -25224,7 +25404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *162 + - *164 responses: '204': description: Response @@ -25321,7 +25501,7 @@ paths: type: array items: *57 examples: - default: &738 + default: &740 value: - login: github id: 1 @@ -25386,7 +25566,7 @@ paths: - 3 custom_roles: type: array - items: &237 + items: &239 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -25435,7 +25615,7 @@ paths: - created_at - updated_at examples: - default: &238 + default: &240 value: id: 8030 name: Security Engineer @@ -25469,9 +25649,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. @@ -25480,9 +25660,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: - - *165 + - *167 - name: page in: query description: The page number of results to fetch. @@ -25611,9 +25791,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. @@ -25630,9 +25811,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: - - *165 + - *167 requestBody: required: true content: @@ -25684,13 +25865,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 @@ -25698,7 +25879,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: - - *165 + - *167 requestBody: required: true content: @@ -25746,19 +25927,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: - - *165 - - *166 - *167 - *168 - *169 + - *170 + - *171 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *170 + schema: *172 examples: - default: *171 + default: *173 '400': *14 '403': *27 '500': *83 @@ -25788,13 +25969,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: &172 + schema: &174 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -26204,7 +26385,7 @@ paths: - updated_at - archived_at examples: - default-response: &173 + default-response: &175 value: login: github id: 1 @@ -26306,7 +26487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *165 + - *167 requestBody: required: false content: @@ -26530,17 +26711,17 @@ paths: description: Response content: application/json: - schema: *172 + schema: *174 examples: - default: *173 + default: *175 '422': description: Validation failed content: application/json: schema: oneOf: - - *174 - - *175 + - *176 + - *177 '409': *94 x-github: githubCloudOnly: false @@ -26564,7 +26745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *165 + - *167 responses: '202': *37 '404': *6 @@ -26589,15 +26770,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *176 + schema: *178 examples: - default: *177 + default: *179 headers: Link: *38 x-github: @@ -26620,7 +26801,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: - - *165 + - *167 - *17 - *19 responses: @@ -26638,7 +26819,7 @@ paths: type: integer repository_cache_usages: type: array - items: &385 + items: &387 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -26696,7 +26877,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: - - *165 + - *167 - *17 - *19 responses: @@ -26716,7 +26897,7 @@ paths: type: array items: *40 examples: - default: *178 + default: *180 headers: Link: *38 x-github: @@ -26736,7 +26917,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: - - *165 + - *167 requestBody: required: true content: @@ -26823,7 +27004,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: - - *165 + - *167 responses: '200': description: Response @@ -26859,7 +27040,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: - - *165 + - *167 responses: '200': description: Response @@ -26894,15 +27075,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *179 + schema: *181 examples: - default: *180 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26920,7 +27101,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: - - *165 + - *167 responses: '200': description: Response @@ -26938,7 +27119,7 @@ paths: type: array items: *43 examples: - default: *181 + default: *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26956,7 +27137,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: - - *165 + - *167 responses: '200': description: Response @@ -27000,7 +27181,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: - - *165 + - *167 - *45 responses: '200': @@ -27029,7 +27210,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: - - *165 + - *167 - *45 requestBody: required: true @@ -27086,7 +27267,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: - - *165 + - *167 - *45 responses: '202': @@ -27115,13 +27296,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: - - *165 + - *167 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &182 + schema: &184 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -27135,7 +27316,7 @@ paths: required: - include_claim_keys examples: - default: &183 + default: &185 value: include_claim_keys: - repo @@ -27157,20 +27338,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: - - *165 + - *167 requestBody: required: true content: application/json: - schema: *182 + schema: *184 examples: - default: *183 + default: *185 responses: '201': description: Empty response content: application/json: - schema: &202 + schema: &204 title: Empty Object description: An object without any properties. type: object @@ -27200,7 +27381,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: - - *165 + - *167 responses: '200': description: Response @@ -27209,7 +27390,7 @@ paths: schema: type: object properties: - enabled_repositories: &185 + enabled_repositories: &187 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -27223,7 +27404,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *47 - selected_actions_url: *184 + selected_actions_url: *186 required: - enabled_repositories examples: @@ -27252,7 +27433,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: - - *165 + - *167 responses: '204': description: Response @@ -27263,7 +27444,7 @@ paths: schema: type: object properties: - enabled_repositories: *185 + enabled_repositories: *187 allowed_actions: *47 required: - enabled_repositories @@ -27291,7 +27472,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: - - *165 + - *167 - *17 - *19 responses: @@ -27311,7 +27492,7 @@ paths: type: array items: *62 examples: - default: &732 + default: &734 value: total_count: 1 repositories: @@ -27451,7 +27632,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: - - *165 + - *167 responses: '204': description: Response @@ -27495,8 +27676,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: - - *165 - - &186 + - *167 + - &188 name: repository_id description: The unique identifier of the repository. in: path @@ -27524,8 +27705,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: - - *165 - - *186 + - *167 + - *188 responses: '204': description: Response @@ -27548,7 +27729,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: - - *165 + - *167 responses: '200': description: Response @@ -27579,7 +27760,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: - - *165 + - *167 responses: '204': description: Response @@ -27611,13 +27792,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: default: *53 x-github: @@ -27640,7 +27821,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: - - *165 + - *167 responses: '204': description: Success response @@ -27651,7 +27832,7 @@ paths: required: false content: application/json: - schema: *188 + schema: *190 examples: default: *53 x-github: @@ -27673,7 +27854,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: - - *165 + - *167 - *17 - *19 - name: visible_to_repository @@ -27698,7 +27879,7 @@ paths: type: number runner_groups: type: array - items: &189 + items: &191 type: object properties: id: @@ -27815,7 +27996,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: - - *165 + - *167 requestBody: required: true content: @@ -27888,9 +28069,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: &190 + default: &192 value: id: 2 name: octo-runner-group @@ -27925,14 +28106,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: - - *165 + - *167 - *56 responses: '200': description: Response content: application/json: - schema: *189 + schema: *191 examples: default: value: @@ -27968,7 +28149,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: - - *165 + - *167 - *56 requestBody: required: true @@ -28025,9 +28206,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -28046,7 +28227,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: - - *165 + - *167 - *56 responses: '204': @@ -28070,7 +28251,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: - - *165 + - *167 - *56 - *17 - *19 @@ -28091,7 +28272,7 @@ paths: type: array items: *40 examples: - default: *178 + default: *180 headers: Link: *38 x-github: @@ -28113,7 +28294,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: - - *165 + - *167 - *56 - *19 - *17 @@ -28132,9 +28313,9 @@ paths: type: number repositories: type: array - items: *191 + items: *193 examples: - default: &724 + default: &726 value: total_count: 1 repositories: @@ -28386,7 +28567,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: - - *165 + - *167 - *56 requestBody: required: true @@ -28431,9 +28612,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: - - *165 + - *167 - *56 - - *186 + - *188 responses: '204': description: Response @@ -28455,9 +28636,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: - - *165 + - *167 - *56 - - *186 + - *188 responses: '204': description: Response @@ -28480,7 +28661,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: - - *165 + - *167 - *56 - *17 - *19 @@ -28522,7 +28703,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: - - *165 + - *167 - *56 requestBody: required: true @@ -28567,7 +28748,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: - - *165 + - *167 - *56 - *59 responses: @@ -28591,7 +28772,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: - - *165 + - *167 - *56 - *59 responses: @@ -28623,7 +28804,7 @@ paths: in: query schema: type: string - - *165 + - *167 - *17 - *19 responses: @@ -28667,7 +28848,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: - - *165 + - *167 responses: '200': description: Response @@ -28675,9 +28856,9 @@ paths: application/json: schema: type: array - items: *192 + items: *194 examples: - default: *193 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28699,7 +28880,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: - - *165 + - *167 requestBody: required: true content: @@ -28742,7 +28923,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *194 + '201': *196 '404': *6 '422': *7 '409': *94 @@ -28773,7 +28954,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: - - *165 + - *167 responses: '201': description: Response @@ -28781,7 +28962,7 @@ paths: application/json: schema: *63 examples: - default: *195 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28809,7 +28990,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: - - *165 + - *167 responses: '201': description: Response @@ -28817,7 +28998,7 @@ paths: application/json: schema: *63 examples: - default: *196 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28839,7 +29020,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: - - *165 + - *167 - *59 responses: '200': @@ -28848,7 +29029,7 @@ paths: application/json: schema: *60 examples: - default: *197 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28869,7 +29050,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: - - *165 + - *167 - *59 responses: '204': @@ -28896,7 +29077,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: - - *165 + - *167 - *59 responses: '200': *65 @@ -28921,7 +29102,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: - - *165 + - *167 - *59 requestBody: required: true @@ -28970,7 +29151,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: - - *165 + - *167 - *59 requestBody: required: true @@ -29020,10 +29201,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: - - *165 + - *167 - *59 responses: - '200': *198 + '200': *200 '404': *6 x-github: githubCloudOnly: false @@ -29050,9 +29231,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: - - *165 + - *167 - *59 - - *199 + - *201 responses: '200': *65 '404': *6 @@ -29079,7 +29260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *165 + - *167 - *17 - *19 responses: @@ -29097,7 +29278,7 @@ paths: type: integer secrets: type: array - items: &200 + items: &202 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -29172,13 +29353,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: &405 + schema: &407 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -29213,7 +29394,7 @@ paths: - key_id - key examples: - default: &406 + default: &408 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29238,8 +29419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *165 - - &201 + - *167 + - &203 name: secret_name description: The name of the secret. in: path @@ -29251,7 +29432,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -29281,8 +29462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -29339,7 +29520,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -29365,8 +29546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 responses: '204': description: Response @@ -29392,8 +29573,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: - - *165 - - *201 + - *167 + - *203 - *19 - *17 responses: @@ -29411,9 +29592,9 @@ paths: type: integer repositories: type: array - items: *191 + items: *193 examples: - default: &205 + default: &207 value: total_count: 1 repositories: @@ -29505,8 +29686,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: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -29558,8 +29739,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -29592,8 +29773,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -29625,8 +29806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *165 - - &390 + - *167 + - &392 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)." @@ -29650,7 +29831,7 @@ paths: type: integer variables: type: array - items: &203 + items: &205 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -29740,7 +29921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *165 + - *167 requestBody: required: true content: @@ -29788,7 +29969,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -29813,8 +29994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *165 - - &204 + - *167 + - &206 name: name description: The name of the variable. in: path @@ -29826,7 +30007,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *205 examples: default: value: @@ -29856,8 +30037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *165 - - *204 + - *167 + - *206 requestBody: required: true content: @@ -29919,8 +30100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *165 - - *204 + - *167 + - *206 responses: '204': description: Response @@ -29946,8 +30127,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: - - *165 - - *204 + - *167 + - *206 - *19 - *17 responses: @@ -29965,9 +30146,9 @@ paths: type: integer repositories: type: array - items: *191 + items: *193 examples: - default: *205 + default: *207 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29993,8 +30174,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: - - *165 - - *204 + - *167 + - *206 requestBody: required: true content: @@ -30043,8 +30224,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: - - *165 - - *204 + - *167 + - *206 - name: repository_id in: path required: true @@ -30078,8 +30259,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: - - *165 - - *204 + - *167 + - *206 - name: repository_id in: path required: true @@ -30110,7 +30291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *165 + - *167 responses: '200': description: Response @@ -30137,11 +30318,11 @@ paths: required: true content: application/json: - schema: *206 + schema: *208 examples: default: *69 parameters: - - *165 + - *167 responses: '200': description: Response @@ -30165,7 +30346,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *165 + - *167 responses: '204': description: Response @@ -30193,7 +30374,7 @@ paths: - *17 - *84 - *85 - - *165 + - *167 requestBody: required: true content: @@ -30216,12 +30397,12 @@ paths: required: - subject_digests examples: - default: &753 + default: &755 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &754 + withPredicateType: &756 value: subject_digests: - sha256:abc123 @@ -30280,7 +30461,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &755 + default: &757 value: attestations_subject_digests: - sha256:abc: @@ -30389,7 +30570,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *165 + - *167 requestBody: required: true content: @@ -30454,7 +30635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *165 + - *167 - name: subject_digest description: Subject Digest in: path @@ -30485,7 +30666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *165 + - *167 - name: attestation_id description: Attestation ID in: path @@ -30523,7 +30704,7 @@ paths: - *17 - *84 - *85 - - *165 + - *167 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -30574,7 +30755,7 @@ paths: bundle_url: type: string examples: - default: &419 + default: &421 value: attestations: - bundle: @@ -30692,7 +30873,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: - - *165 + - *167 - 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). @@ -30700,10 +30881,10 @@ paths: required: false schema: type: string - - *207 - - *208 - *209 - *210 + - *211 + - *212 - *17 responses: '200': @@ -30712,9 +30893,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30731,7 +30912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *165 + - *167 - *17 - *19 responses: @@ -30743,7 +30924,7 @@ paths: type: array items: *4 examples: - default: &285 + default: &287 value: - login: octocat id: 1 @@ -30781,8 +30962,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: If the user is blocked @@ -30807,8 +30988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -30828,8 +31009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -30855,17 +31036,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *165 - - &220 + - *167 + - &222 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *214 - - *215 - *216 - *217 + - *218 + - *219 - *17 - *19 responses: @@ -30875,9 +31056,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '404': *6 '500': *83 "/orgs/{org}/bypass-requests/secret-scanning": @@ -30900,12 +31081,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *165 - - *220 - - *214 - - *215 + - *167 + - *222 - *216 - *217 + - *218 + - *219 - *17 - *19 responses: @@ -30915,7 +31096,7 @@ paths: application/json: schema: type: array - items: &436 + items: &438 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -31033,7 +31214,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: *221 + items: *223 url: type: string format: uri @@ -31046,7 +31227,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &437 + default: &439 value: - id: 21 number: 42 @@ -31130,7 +31311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *165 + - *167 - *19 - *17 - *86 @@ -31138,7 +31319,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &223 + schema: &225 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -31164,7 +31345,7 @@ paths: application/json: schema: type: array - items: &224 + items: &226 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -31195,7 +31376,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *222 + items: *224 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -31214,7 +31395,7 @@ paths: - string - 'null' format: date-time - state: *223 + state: *225 contact_link: description: The contact link of the campaign. type: @@ -31336,7 +31517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *165 + - *167 requestBody: required: true content: @@ -31431,9 +31612,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: &225 + default: &227 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -31504,7 +31685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *165 + - *167 - name: campaign_number description: The campaign number. in: path @@ -31516,9 +31697,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 '404': *6 '422': description: Unprocessable Entity @@ -31546,7 +31727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *165 + - *167 - name: campaign_number description: The campaign number. in: path @@ -31596,7 +31777,7 @@ paths: - string - 'null' format: uri - state: *223 + state: *225 examples: default: value: @@ -31606,9 +31787,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 '400': description: Bad Request content: @@ -31641,7 +31822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *165 + - *167 - name: campaign_number description: The campaign number. in: path @@ -31674,9 +31855,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: - - *165 - - *226 - - *227 + - *167 + - *228 + - *229 - *84 - *85 - *19 @@ -31687,7 +31868,7 @@ paths: be returned. in: query required: false - schema: *228 + schema: *230 - name: sort description: The property by which to sort the results. in: query @@ -31703,7 +31884,7 @@ paths: be returned. in: query required: false - schema: &447 + schema: &449 type: string description: Severity of a code scanning alert. enum: @@ -31721,9 +31902,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *230 + default: *232 headers: Link: *38 '404': *6 @@ -31749,7 +31930,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: - - *165 + - *167 - name: target_type in: query description: The target type of the code security configuration @@ -31860,7 +32041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *165 + - *167 requestBody: required: true content: @@ -32064,7 +32245,7 @@ paths: application/json: schema: *90 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32086,15 +32267,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *233 + default: *235 '304': *35 '403': *27 '404': *6 @@ -32120,7 +32301,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *165 + - *167 requestBody: required: true content: @@ -32169,7 +32350,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *165 + - *167 - *92 responses: '200': @@ -32178,7 +32359,7 @@ paths: application/json: schema: *90 examples: - default: *231 + default: *233 '304': *35 '403': *27 '404': *6 @@ -32202,7 +32383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *165 + - *167 - *92 requestBody: required: true @@ -32441,7 +32622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *165 + - *167 - *92 responses: '204': *116 @@ -32472,7 +32653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *165 + - *167 - *92 requestBody: required: true @@ -32536,7 +32717,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: - - *165 + - *167 - *92 requestBody: required: true @@ -32582,7 +32763,7 @@ paths: default: value: default_for_new_repos: all - configuration: *231 + configuration: *233 '403': *27 '404': *6 x-github: @@ -32606,7 +32787,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: - - *165 + - *167 - *92 - name: per_page description: The number of results per page (max 100). For more information, @@ -32635,13 +32816,13 @@ paths: application/json: schema: type: array - items: *234 + items: *236 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *235 + repository: *237 '403': *27 '404': *6 x-github: @@ -32665,7 +32846,7 @@ paths: parameters: - *17 - *19 - - *165 + - *167 responses: '200': description: Response @@ -32681,7 +32862,7 @@ paths: type: integer codespaces: type: array - items: &286 + items: &288 type: object title: Codespace description: A codespace. @@ -32712,11 +32893,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *191 + repository: *193 machine: anyOf: - type: 'null' - - &476 + - &478 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -33003,7 +33184,7 @@ paths: - pulls_url - recent_folders examples: - default: &287 + default: &289 value: total_count: 3 codespaces: @@ -33435,7 +33616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *165 + - *167 deprecated: true requestBody: required: true @@ -33502,7 +33683,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: - - *165 + - *167 deprecated: true requestBody: required: true @@ -33557,7 +33738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *165 + - *167 requestBody: required: true content: @@ -33609,7 +33790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *165 + - *167 - *17 - *19 responses: @@ -33627,7 +33808,7 @@ paths: type: integer secrets: type: array - items: &236 + items: &238 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -33668,7 +33849,7 @@ paths: - updated_at - visibility examples: - default: &477 + default: &479 value: total_count: 2 secrets: @@ -33700,13 +33881,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: &478 + schema: &480 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -33741,7 +33922,7 @@ paths: - key_id - key examples: - default: &479 + default: &481 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33764,16 +33945,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: &481 + default: &483 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -33800,8 +33981,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: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -33856,7 +34037,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -33882,8 +34063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 responses: '204': description: Response @@ -33908,8 +34089,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: - - *165 - - *201 + - *167 + - *203 - *19 - *17 responses: @@ -33927,9 +34108,9 @@ paths: type: integer repositories: type: array - items: *191 + items: *193 examples: - default: *205 + default: *207 '404': *6 x-github: githubCloudOnly: false @@ -33951,8 +34132,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: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -34002,8 +34183,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -34036,8 +34217,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -34076,7 +34257,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: - - *165 + - *167 responses: '200': description: OK @@ -34217,7 +34398,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: - - *165 + - *167 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -34278,7 +34459,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: - - *165 + - *167 requestBody: content: application/json: @@ -34356,7 +34537,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: - - *165 + - *167 requestBody: content: application/json: @@ -34436,7 +34617,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: - - *165 + - *167 requestBody: content: application/json: @@ -34513,7 +34694,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: - - *165 + - *167 requestBody: content: application/json: @@ -34594,7 +34775,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: - - *165 + - *167 - 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`). @@ -34626,13 +34807,13 @@ paths: application/json: schema: type: array - items: *132 + items: *134 examples: - default: *133 + default: *135 '500': *83 '403': *27 '404': *6 - '422': *134 + '422': *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34654,7 +34835,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: - - *165 + - *167 - *17 - name: page description: Page token @@ -34813,7 +34994,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: - - *165 + - *167 - name: credential_id in: path required: true @@ -34844,7 +35025,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: - - *165 + - *167 responses: '200': description: Response - list of custom role names @@ -34860,7 +35041,7 @@ paths: - 3 custom_roles: type: array - items: *237 + items: *239 examples: default: value: @@ -34947,12 +35128,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *165 + - *167 requestBody: required: true content: application/json: - schema: &240 + schema: &242 type: object properties: name: @@ -34994,9 +35175,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '422': *15 '404': *6 x-github: @@ -35020,8 +35201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *165 - - &239 + - *167 + - &241 name: role_id description: The unique identifier of the role. in: path @@ -35033,9 +35214,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '404': *6 x-github: githubCloudOnly: true @@ -35057,13 +35238,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *165 - - *239 + - *167 + - *241 requestBody: required: true content: application/json: - schema: &241 + schema: &243 type: object properties: name: @@ -35102,9 +35283,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '422': *15 '404': *6 x-github: @@ -35128,8 +35309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *165 - - *239 + - *167 + - *241 responses: '204': description: Response @@ -35157,12 +35338,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: - - *165 + - *167 requestBody: required: true content: application/json: - schema: *240 + schema: *242 examples: default: value: @@ -35176,9 +35357,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '422': *15 '404': *6 x-github: @@ -35208,16 +35389,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: - - *165 - - *239 + - *167 + - *241 responses: '200': description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '404': *6 x-github: githubCloudOnly: true @@ -35245,13 +35426,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: - - *165 - - *239 + - *167 + - *241 requestBody: required: true content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -35266,9 +35447,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '422': *15 '404': *6 x-github: @@ -35298,8 +35479,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: - - *165 - - *239 + - *167 + - *241 responses: '204': description: Response @@ -35327,20 +35508,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *165 - - *242 - - *243 + - *167 - *244 - *245 - *246 - *247 - *248 - *249 + - *250 + - *251 - *86 - *84 - *85 - - *250 - - *251 + - *252 + - *253 - *17 responses: '200': @@ -35349,9 +35530,9 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: - default: *253 + default: *255 '304': *35 '400': *14 '403': *27 @@ -35377,7 +35558,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *165 + - *167 - *17 - *19 responses: @@ -35395,7 +35576,7 @@ paths: type: integer secrets: type: array - items: &254 + items: &256 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -35468,13 +35649,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: &504 + schema: &506 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -35493,7 +35674,7 @@ paths: - key_id - key examples: - default: &505 + default: &507 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35516,14 +35697,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 responses: '200': description: Response content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -35551,8 +35732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -35607,7 +35788,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -35631,8 +35812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 responses: '204': description: Response @@ -35656,8 +35837,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: - - *165 - - *201 + - *167 + - *203 - *19 - *17 responses: @@ -35675,9 +35856,9 @@ paths: type: integer repositories: type: array - items: *191 + items: *193 examples: - default: *205 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35698,8 +35879,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: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -35749,8 +35930,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -35781,8 +35962,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -35818,8 +35999,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *165 - - &513 + - *167 + - &515 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -35827,7 +36008,7 @@ paths: required: false schema: type: string - - &514 + - &516 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -35835,7 +36016,7 @@ paths: required: false schema: type: string - - &515 + - &517 name: time_period description: |- The time period to filter by. @@ -35851,7 +36032,7 @@ paths: - week - month default: month - - &516 + - &518 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -35866,7 +36047,7 @@ paths: - denied - all default: all - - *220 + - *222 - *17 - *19 responses: @@ -35876,7 +36057,7 @@ paths: application/json: schema: type: array - items: &517 + items: &519 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -36039,7 +36220,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &518 + default: &520 value: - id: 21 number: 42 @@ -36125,12 +36306,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *165 - - *220 - - *214 - - *215 + - *167 + - *222 - *216 - - &519 + - *217 + - *218 + - &521 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -36156,7 +36337,7 @@ paths: application/json: schema: type: array - items: &520 + items: &522 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -36270,7 +36451,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *221 + items: *223 url: type: string format: uri @@ -36283,7 +36464,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &521 + default: &523 value: - id: 21 number: 42 @@ -36363,7 +36544,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: - - *165 + - *167 responses: '200': description: Response @@ -36371,7 +36552,7 @@ paths: application/json: schema: type: array - items: &297 + items: &299 title: Package description: A software package type: object @@ -36424,7 +36605,7 @@ paths: repository: anyOf: - type: 'null' - - *191 + - *193 created_at: type: string format: date-time @@ -36442,7 +36623,7 @@ paths: - created_at - updated_at examples: - default: &298 + default: &300 value: - id: 197 name: hello_docker @@ -36520,7 +36701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *165 + - *167 - *17 - *19 responses: @@ -36530,7 +36711,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: 200-response: value: @@ -36600,7 +36781,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *165 + - *167 - name: group_id description: The unique identifier of the group. in: path @@ -36626,7 +36807,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -36716,7 +36897,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &362 + default: &364 value: group_id: '123' group_name: Octocat admins @@ -36754,7 +36935,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: - - *165 + - *167 - *17 - name: page description: Page token @@ -36771,7 +36952,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &361 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -36811,7 +36992,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &360 + default: &362 value: groups: - group_id: '123' @@ -36845,7 +37026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *165 + - *167 - *17 - *19 responses: @@ -36855,7 +37036,7 @@ paths: application/json: schema: type: array - items: &277 + items: &279 title: Organization Invitation description: Organization Invitation type: object @@ -36909,7 +37090,7 @@ paths: - invitation_teams_url - node_id examples: - default: &278 + default: &280 value: - id: 1 login: monalisa @@ -36968,7 +37149,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: - - *165 + - *167 responses: '200': description: Response @@ -36976,7 +37157,7 @@ paths: application/json: schema: type: array - items: &317 + items: &319 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -36990,7 +37171,7 @@ paths: - name - description examples: - default: &318 + default: &320 value: - name: add_assignee description: Assign or remove a user @@ -37021,7 +37202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *165 + - *167 - *17 - *19 responses: @@ -37031,7 +37212,7 @@ paths: application/json: schema: type: array - items: &255 + items: &257 title: Org Hook description: Org Hook type: object @@ -37152,7 +37333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *165 + - *167 requestBody: required: true content: @@ -37214,9 +37395,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: &256 + default: &258 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -37260,8 +37441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *165 - - &257 + - *167 + - &259 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. @@ -37274,9 +37455,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: *256 + default: *258 '404': *6 x-github: githubCloudOnly: false @@ -37297,8 +37478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *165 - - *257 + - *167 + - *259 requestBody: required: false content: @@ -37344,7 +37525,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -37383,8 +37564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *165 - - *257 + - *167 + - *259 responses: '204': description: Response @@ -37409,8 +37590,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: - - *165 - - *257 + - *167 + - *259 responses: '200': description: Response @@ -37438,8 +37619,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: - - *165 - - *257 + - *167 + - *259 requestBody: required: false content: @@ -37487,10 +37668,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *165 - - *257 + - *167 + - *259 - *17 - - *258 + - *260 responses: '200': description: Response @@ -37498,9 +37679,9 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: - default: *260 + default: *262 '400': *14 '422': *15 x-github: @@ -37523,17 +37704,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: - - *165 - - *257 + - *167 + - *259 - *16 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 '400': *14 '422': *15 x-github: @@ -37556,8 +37737,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: - - *165 - - *257 + - *167 + - *259 - *16 responses: '202': *37 @@ -37583,8 +37764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *165 - - *257 + - *167 + - *259 responses: '204': description: Response @@ -37606,8 +37787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *165 - - &267 + - *167 + - &269 name: actor_type in: path description: The type of the actor @@ -37620,14 +37801,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &268 + - &270 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &263 + - &265 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`.' @@ -37635,7 +37816,7 @@ paths: required: true schema: type: string - - &264 + - &266 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) @@ -37729,13 +37910,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *165 - - *263 - - *264 + - *167 + - *265 + - *266 - *19 - *17 - *86 - - &273 + - &275 name: sort description: The property to sort the results by. in: query @@ -37814,15 +37995,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *165 - - *263 - - *264 + - *167 + - *265 + - *266 responses: '200': description: Response content: application/json: - schema: &265 + schema: &267 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -37838,7 +38019,7 @@ paths: type: integer format: int64 examples: - default: &266 + default: &268 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -37858,24 +38039,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *165 - - &269 + - *167 + - &271 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *263 - - *264 + - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: - default: *266 + default: *268 x-github: enabledForGitHubApps: true category: orgs @@ -37893,19 +38074,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *165 - - *263 - - *264 - - *267 - - *268 + - *167 + - *265 + - *266 + - *269 + - *270 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: - default: *266 + default: *268 x-github: enabledForGitHubApps: true category: orgs @@ -37922,10 +38103,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *165 - - *263 - - *264 - - &270 + - *167 + - *265 + - *266 + - &272 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -37938,7 +38119,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &273 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -37954,7 +38135,7 @@ paths: type: integer format: int64 examples: - default: &272 + default: &274 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -37990,19 +38171,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *165 - - *269 - - *263 - - *264 - - *270 + - *167 + - *271 + - *265 + - *266 + - *272 responses: '200': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: enabledForGitHubApps: true category: orgs @@ -38019,20 +38200,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *165 - - *267 - - *268 - - *263 - - *264 + - *167 + - *269 - *270 + - *265 + - *266 + - *272 responses: '200': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: enabledForGitHubApps: true category: orgs @@ -38049,14 +38230,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *165 - - *269 - - *263 - - *264 + - *167 + - *271 + - *265 + - *266 - *19 - *17 - *86 - - *273 + - *275 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -38132,7 +38313,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: - - *165 + - *167 responses: '200': description: Response @@ -38140,7 +38321,7 @@ paths: application/json: schema: *20 examples: - default: &552 + default: &554 value: id: 1 account: @@ -38209,7 +38390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *165 + - *167 - *17 - *19 responses: @@ -38298,7 +38479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *165 + - *167 responses: '200': description: Response @@ -38306,12 +38487,12 @@ paths: application/json: schema: anyOf: - - &275 + - &277 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &274 + limit: &276 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -38339,7 +38520,7 @@ paths: properties: {} additionalProperties: false examples: - default: &276 + default: &278 value: limit: collaborators_only origin: organization @@ -38363,18 +38544,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *165 + - *167 requestBody: required: true content: application/json: - schema: &553 + schema: &555 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *274 + limit: *276 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -38399,9 +38580,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *276 + default: *278 '422': *15 x-github: githubCloudOnly: false @@ -38419,7 +38600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *165 + - *167 responses: '204': description: Response @@ -38445,7 +38626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *165 + - *167 - *17 - *19 - name: role @@ -38479,9 +38660,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 headers: Link: *38 '404': *6 @@ -38505,7 +38686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *165 + - *167 requestBody: required: false content: @@ -38559,7 +38740,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *279 examples: default: value: @@ -38615,8 +38796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *165 - - &279 + - *167 + - &281 name: invitation_id description: The unique identifier of the invitation. in: path @@ -38649,8 +38830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *165 - - *279 + - *167 + - *281 - *17 - *19 responses: @@ -38660,9 +38841,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: &296 + default: &298 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -38697,7 +38878,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: - - *165 + - *167 responses: '200': description: Response @@ -38705,7 +38886,7 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: default: value: @@ -38743,7 +38924,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: - - *165 + - *167 requestBody: required: true content: @@ -38793,9 +38974,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: &281 + default: &283 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -38827,8 +39008,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: - - *165 - - &282 + - *167 + - &284 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -38884,9 +39065,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *281 + default: *283 '404': *6 '422': *7 x-github: @@ -38910,8 +39091,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: - - *165 - - *282 + - *167 + - *284 responses: '204': description: Response @@ -38944,7 +39125,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: - - *165 + - *167 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -38974,7 +39155,7 @@ paths: - closed - all default: open - - *283 + - *285 - name: type description: Can be the name of an issue type. in: query @@ -38993,7 +39174,7 @@ paths: - comments default: created - *86 - - *139 + - *141 - *17 - *19 responses: @@ -39003,9 +39184,9 @@ paths: application/json: schema: type: array - items: *149 + items: *151 examples: - default: *284 + default: *286 headers: Link: *38 '404': *6 @@ -39027,7 +39208,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *165 + - *167 - 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) @@ -39065,7 +39246,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '422': *15 @@ -39085,8 +39266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response if requester is an organization member and user is @@ -39117,8 +39298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -39144,8 +39325,8 @@ paths: parameters: - *17 - *19 - - *165 - - *213 + - *167 + - *215 responses: '200': description: Response @@ -39161,9 +39342,9 @@ paths: type: integer codespaces: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 '304': *35 '500': *83 '401': *23 @@ -39188,9 +39369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *165 - - *213 - - &288 + - *167 + - *215 + - &290 name: codespace_name in: path required: true @@ -39223,17 +39404,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: - - *165 - - *213 - - *288 + - *167 + - *215 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: &475 + default: &477 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -39406,8 +39587,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: - - *165 - - *213 + - *167 + - *215 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -39481,14 +39662,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *165 - - *213 + - *167 + - *215 responses: '200': description: Response content: application/json: - schema: &289 + schema: &291 title: Org Membership description: Org Membership type: object @@ -39541,7 +39722,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &290 + response-if-user-has-an-active-admin-membership-with-organization: &292 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -39609,8 +39790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *165 - - *213 + - *167 + - *215 requestBody: required: false content: @@ -39638,9 +39819,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - response-if-user-already-had-membership-with-organization: *290 + response-if-user-already-had-membership-with-organization: *292 '422': *15 '403': *27 x-github: @@ -39661,8 +39842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -39687,7 +39868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *165 + - *167 - *17 - *19 - name: exclude @@ -39709,7 +39890,7 @@ paths: application/json: schema: type: array - items: &291 + items: &293 title: Migration description: A migration. type: object @@ -39966,7 +40147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *165 + - *167 requestBody: required: true content: @@ -40047,7 +40228,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: default: value: @@ -40225,8 +40406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *165 - - &292 + - *167 + - &294 name: migration_id description: The unique identifier of the migration. in: path @@ -40254,7 +40435,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *291 + schema: *293 examples: default: value: @@ -40423,8 +40604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *165 - - *292 + - *167 + - *294 responses: '302': description: Response @@ -40445,8 +40626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *165 - - *292 + - *167 + - *294 responses: '204': description: Response @@ -40469,9 +40650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *165 - - *292 - - &737 + - *167 + - *294 + - &739 name: repo_name description: repo_name parameter in: path @@ -40498,8 +40679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *165 - - *292 + - *167 + - *294 - *17 - *19 responses: @@ -40509,9 +40690,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: &303 + default: &305 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40650,7 +40831,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: - - *165 + - *167 responses: '200': description: Response @@ -40704,7 +40885,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: - - *165 + - *167 responses: '200': description: Response - list of organization roles @@ -40720,7 +40901,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &293 + items: &295 title: Organization Role description: Organization roles type: object @@ -40882,7 +41063,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *165 + - *167 requestBody: required: true content: @@ -40929,7 +41110,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *295 examples: default: value: @@ -40980,8 +41161,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: - - *165 - - &294 + - *167 + - &296 name: team_slug description: The slug of the team name. in: path @@ -41012,9 +41193,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: - - *165 - - *294 - - *239 + - *167 + - *296 + - *241 responses: '204': description: Response @@ -41043,9 +41224,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: - - *165 - - *294 - - *239 + - *167 + - *296 + - *241 responses: '204': description: Response @@ -41070,8 +41251,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -41096,9 +41277,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: - - *165 - - *213 - - *239 + - *167 + - *215 + - *241 responses: '204': description: Response @@ -41128,9 +41309,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: - - *165 - - *213 - - *239 + - *167 + - *215 + - *241 responses: '204': description: Response @@ -41158,14 +41339,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *165 - - *239 + - *167 + - *241 responses: '200': description: Response content: application/json: - schema: *293 + schema: *295 examples: default: value: @@ -41222,8 +41403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *165 - - *239 + - *167 + - *241 requestBody: required: true content: @@ -41262,7 +41443,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *295 examples: default: value: @@ -41315,8 +41496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *165 - - *239 + - *167 + - *241 responses: '204': description: Response @@ -41341,8 +41522,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: - - *165 - - *239 + - *167 + - *241 - *17 - *19 responses: @@ -41421,7 +41602,7 @@ paths: parent: anyOf: - type: 'null' - - *295 + - *297 required: - id - node_id @@ -41435,7 +41616,7 @@ paths: - slug - parent examples: - default: *296 + default: *298 headers: Link: *38 '404': @@ -41464,8 +41645,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: - - *165 - - *239 + - *167 + - *241 - *17 - *19 responses: @@ -41494,7 +41675,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *295 + items: *297 name: type: - string @@ -41611,7 +41792,7 @@ paths: - type - url examples: - default: *285 + default: *287 headers: Link: *38 '404': @@ -41635,7 +41816,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: - - *165 + - *167 - 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) @@ -41662,7 +41843,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -41687,8 +41868,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: - - *165 - - *213 + - *167 + - *215 requestBody: required: false content: @@ -41745,8 +41926,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -41803,8 +41984,8 @@ paths: - docker - nuget - container - - *165 - - &739 + - *167 + - &741 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -41840,12 +42021,12 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: *298 + default: *300 '403': *27 '401': *23 - '400': &741 + '400': &743 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -41867,7 +42048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &299 + - &301 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 @@ -41885,20 +42066,20 @@ paths: - docker - nuget - container - - &300 + - &302 name: package_name description: The name of the package. in: path required: true schema: type: string - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: default: value: @@ -41950,9 +42131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *299 - - *300 - - *165 + - *301 + - *302 + - *167 responses: '204': description: Response @@ -41984,9 +42165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *299 - - *300 - - *165 + - *301 + - *302 + - *167 - name: token description: package token schema: @@ -42018,9 +42199,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: - - *299 - - *300 - - *165 + - *301 + - *302 + - *167 - *19 - *17 - name: state @@ -42040,7 +42221,7 @@ paths: application/json: schema: type: array - items: &301 + items: &303 title: Package Version description: A version of a software package type: object @@ -42175,10 +42356,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: - - *299 - - *300 - - *165 - - &302 + - *301 + - *302 + - *167 + - &304 name: package_version_id description: Unique identifier of the package version. in: path @@ -42190,7 +42371,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: default: value: @@ -42226,10 +42407,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *299 - - *300 - - *165 + - *301 - *302 + - *167 + - *304 responses: '204': description: Response @@ -42261,10 +42442,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *299 - - *300 - - *165 + - *301 - *302 + - *167 + - *304 responses: '204': description: Response @@ -42291,10 +42472,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: - - *165 + - *167 - *17 - *19 - - &304 + - &306 name: sort description: The property by which to sort the results. in: query @@ -42305,7 +42486,7 @@ paths: - created_at default: created_at - *86 - - &305 + - &307 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -42317,7 +42498,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &306 + - &308 name: repository description: The name of the repository to use to filter the results. in: query @@ -42326,7 +42507,7 @@ paths: type: string examples: - Hello-World - - &307 + - &309 name: permission description: The permission to use to filter the results. in: query @@ -42335,7 +42516,7 @@ paths: type: string examples: - issues_read - - &308 + - &310 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) @@ -42345,7 +42526,7 @@ paths: schema: type: string format: date-time - - &309 + - &311 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) @@ -42355,7 +42536,7 @@ paths: schema: type: string format: date-time - - &310 + - &312 name: token_id description: The ID of the token in: query @@ -42523,7 +42704,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: - - *165 + - *167 requestBody: required: true content: @@ -42590,7 +42771,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: - - *165 + - *167 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -42652,7 +42833,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: - - *165 + - *167 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -42672,9 +42853,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -42697,17 +42878,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: - - *165 + - *167 - *17 - *19 - - *304 - - *86 - - *305 - *306 + - *86 - *307 - *308 - *309 - *310 + - *311 + - *312 responses: '500': *83 '422': *15 @@ -42858,7 +43039,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: - - *165 + - *167 requestBody: required: true content: @@ -42918,7 +43099,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: - - *165 + - *167 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -42970,7 +43151,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: - - *165 + - *167 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -42989,9 +43170,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -43015,7 +43196,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: - - *165 + - *167 - *17 - *19 responses: @@ -43033,7 +43214,7 @@ paths: type: integer configurations: type: array - items: &311 + items: &313 title: Organization private registry description: Private registry configuration for an organization type: object @@ -43112,7 +43293,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: - - *165 + - *167 requestBody: required: true content: @@ -43256,7 +43437,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &312 + org-private-registry-with-selected-visibility: &314 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -43297,7 +43478,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: - - *165 + - *167 responses: '200': description: Response @@ -43347,16 +43528,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: - - *165 - - *201 + - *167 + - *203 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *311 + schema: *313 examples: - default: *312 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -43377,8 +43558,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: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -43462,8 +43643,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: - - *165 - - *201 + - *167 + - *203 responses: '204': description: Response @@ -43488,7 +43669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *165 + - *167 - name: state description: Indicates the state of the projects to return. in: query @@ -43509,7 +43690,7 @@ paths: application/json: schema: type: array - items: &313 + items: &315 title: Project description: Projects are a way to organize columns and cards of work. @@ -43665,7 +43846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *165 + - *167 requestBody: required: true content: @@ -43691,7 +43872,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -43729,7 +43910,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &377 + '410': &379 description: Gone content: application/json: @@ -43756,7 +43937,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: - - *165 + - *167 responses: '200': description: Response @@ -43793,7 +43974,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: - - *165 + - *167 requestBody: required: true content: @@ -43857,7 +44038,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: - - *165 + - *167 - *114 responses: '200': @@ -43889,13 +44070,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: - - *165 + - *167 - *114 requestBody: required: true content: application/json: - schema: *314 + schema: *316 examples: default: value: @@ -43936,7 +44117,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: - - *165 + - *167 - *114 responses: '204': *116 @@ -43960,7 +44141,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: - - *165 + - *167 - *17 - *19 - name: repository_query @@ -44001,7 +44182,7 @@ paths: - octocat/Hello-World properties: type: array - items: &315 + items: &317 title: Custom Property Value description: Custom property name and associated value type: object @@ -44071,7 +44252,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: - - *165 + - *167 requestBody: required: true content: @@ -44091,7 +44272,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *315 + items: *317 required: - repository_names - properties @@ -44132,7 +44313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *165 + - *167 - *17 - *19 responses: @@ -44144,7 +44325,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -44163,8 +44344,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response if user is a public member @@ -44188,8 +44369,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -44210,8 +44391,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -44235,7 +44416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *165 + - *167 - 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 @@ -44282,9 +44463,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -44305,7 +44486,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *165 + - *167 requestBody: required: true content: @@ -44488,7 +44669,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &381 title: Full Repository description: Full Repository type: object @@ -44934,7 +45115,7 @@ paths: license: anyOf: - type: 'null' - - *150 + - *152 organization: anyOf: - type: 'null' @@ -44953,7 +45134,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &494 + code_of_conduct: &496 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -44983,7 +45164,7 @@ paths: - key - name - html_url - security_and_analysis: *316 + security_and_analysis: *318 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -45067,7 +45248,7 @@ paths: - network_count - subscribers_count examples: - default: &381 + default: &383 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45585,7 +45766,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: - - *165 + - *167 responses: '200': description: Response @@ -45593,9 +45774,9 @@ paths: application/json: schema: type: array - items: *317 + items: *319 examples: - default: *318 + default: *320 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45617,10 +45798,10 @@ paths: category: orgs subcategory: rules parameters: - - *165 + - *167 - *17 - *19 - - &638 + - &640 name: targets description: | A comma-separated list of rule targets to filter by. @@ -45686,7 +45867,7 @@ paths: category: orgs subcategory: rules parameters: - - *165 + - *167 requestBody: description: Request body required: true @@ -45712,7 +45893,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *124 - conditions: *319 + conditions: *321 rules: type: array description: An array of rules within the ruleset. @@ -45756,7 +45937,7 @@ paths: application/json: schema: *126 examples: - default: &320 + default: &322 value: id: 21 name: super cool ruleset @@ -45810,8 +45991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *165 - - &639 + - *167 + - &641 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 @@ -45821,16 +46002,16 @@ paths: schema: type: string x-multi-segment: true - - *220 - - *216 - - &640 + - *222 + - *218 + - &642 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 - - &641 + - &643 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -45850,7 +46031,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &644 title: Rule Suites description: Response type: array @@ -45906,7 +46087,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &643 + default: &645 value: - id: 21 actor_id: 12 @@ -45949,8 +46130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *165 - - &644 + - *167 + - &646 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45966,7 +46147,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &647 title: Rule Suite description: Response type: object @@ -46073,7 +46254,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &646 + default: &648 value: id: 21 actor_id: 12 @@ -46134,7 +46315,7 @@ paths: category: orgs subcategory: rules parameters: - - *165 + - *167 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46148,7 +46329,7 @@ paths: application/json: schema: *126 examples: - default: *320 + default: *322 '404': *6 '500': *83 put: @@ -46166,7 +46347,7 @@ paths: category: orgs subcategory: rules parameters: - - *165 + - *167 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46197,7 +46378,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *124 - conditions: *319 + conditions: *321 rules: description: An array of rules within the ruleset. type: array @@ -46238,7 +46419,7 @@ paths: application/json: schema: *126 examples: - default: *320 + default: *322 '404': *6 '500': *83 delete: @@ -46256,7 +46437,7 @@ paths: category: orgs subcategory: rules parameters: - - *165 + - *167 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46279,7 +46460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *165 + - *167 - *17 - *19 - name: ruleset_id @@ -46297,7 +46478,7 @@ paths: type: array items: *129 examples: - default: *321 + default: *323 '404': *6 '500': *83 x-github: @@ -46316,7 +46497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *165 + - *167 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46334,7 +46515,7 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: default: value: @@ -46396,15 +46577,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: - - *165 - - *323 - - *324 + - *167 - *325 - *326 + - *327 + - *328 - *86 - *19 - *17 - - &648 + - &650 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 @@ -46414,7 +46595,7 @@ paths: required: false schema: type: string - - &649 + - &651 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 @@ -46424,10 +46605,10 @@ paths: required: false schema: type: string - - *327 - - *328 - *329 - *330 + - *331 + - *332 responses: '200': description: Response @@ -46435,9 +46616,9 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 headers: Link: *38 '404': *6 @@ -46463,7 +46644,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: - - *165 + - *167 - *86 - name: sort description: The property to sort the results by. @@ -46507,7 +46688,7 @@ paths: application/json: schema: type: array - items: &670 + items: &672 description: A repository security advisory. type: object properties: @@ -46751,7 +46932,7 @@ paths: login: type: string description: The username of the user credited. - type: *333 + type: *335 credits_detailed: type: - array @@ -46762,7 +46943,7 @@ paths: type: object properties: user: *4 - type: *333 + type: *335 state: type: string description: The state of the user's acceptance of the @@ -46788,7 +46969,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *222 + items: *224 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -46826,7 +47007,7 @@ paths: - private_fork additionalProperties: false examples: - default: &671 + default: &673 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47205,7 +47386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *165 + - *167 responses: '200': description: Response @@ -47213,9 +47394,9 @@ paths: application/json: schema: type: array - items: *295 + items: *297 examples: - default: *296 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47238,8 +47419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *165 - - *294 + - *167 + - *296 responses: '204': description: Response @@ -47264,8 +47445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *165 - - *294 + - *167 + - *296 responses: '204': description: Response @@ -47294,15 +47475,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47326,8 +47507,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: - - *165 - - *336 + - *167 + - *338 - *17 - *19 responses: @@ -47335,9 +47516,9 @@ paths: description: Success content: application/json: - schema: *337 + schema: *339 examples: - default: *338 + default: *340 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -47359,15 +47540,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *340 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47389,15 +47570,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *342 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47417,7 +47598,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: - - *165 + - *167 - *17 - *19 responses: @@ -47437,7 +47618,7 @@ paths: type: array items: *109 examples: - default: *343 + default: *345 headers: Link: *38 x-github: @@ -47458,7 +47639,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: - - *165 + - *167 requestBody: required: true content: @@ -47522,7 +47703,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: - - *165 + - *167 - *111 responses: '200': @@ -47552,7 +47733,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: - - *165 + - *167 - *111 requestBody: required: true @@ -47613,7 +47794,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: - - *165 + - *167 - *111 responses: '204': @@ -47637,16 +47818,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: - - *165 - - *344 + - *167 + - *346 responses: '200': description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *346 + default: *348 headers: Link: *38 x-github: @@ -47665,7 +47846,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: - - *165 + - *167 - *17 - name: page description: Page token @@ -47684,7 +47865,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &370 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -47736,7 +47917,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &369 + default: &371 value: groups: - group_id: '123' @@ -47781,8 +47962,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: - - *165 - - *294 + - *167 + - *296 - 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`). @@ -47814,13 +47995,13 @@ paths: application/json: schema: type: array - items: *132 + items: *134 examples: - default: *133 + default: *135 '500': *83 '403': *27 '404': *6 - '422': *134 + '422': *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47838,7 +48019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *165 + - *167 - *17 - *19 responses: @@ -47848,9 +48029,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 headers: Link: *38 '403': *27 @@ -47872,7 +48053,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *165 + - *167 requestBody: required: true content: @@ -47944,7 +48125,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -48018,7 +48199,7 @@ paths: parent: anyOf: - type: 'null' - - *295 + - *297 members_count: type: integer examples: @@ -48324,7 +48505,7 @@ paths: - repos_count - organization examples: - default: &348 + default: &350 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48394,16 +48575,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *165 - - *294 + - *167 + - *296 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '404': *6 x-github: githubCloudOnly: false @@ -48424,8 +48605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *165 - - *294 + - *167 + - *296 requestBody: required: false content: @@ -48488,16 +48669,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '201': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '404': *6 '422': *15 '403': *27 @@ -48522,8 +48703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *165 - - *294 + - *167 + - *296 responses: '204': description: Response @@ -48549,8 +48730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *165 - - *294 + - *167 + - *296 - *86 - *17 - *19 @@ -48567,7 +48748,7 @@ paths: application/json: schema: type: array - items: &349 + items: &351 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -48658,7 +48839,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *137 + reactions: *139 required: - author - body @@ -48678,7 +48859,7 @@ paths: - updated_at - url examples: - default: &711 + default: &713 value: - author: login: octocat @@ -48752,8 +48933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *165 - - *294 + - *167 + - *296 requestBody: required: true content: @@ -48787,9 +48968,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: &350 + default: &352 value: author: login: octocat @@ -48861,9 +49042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *165 - - *294 - - &351 + - *167 + - *296 + - &353 name: discussion_number description: The number that identifies the discussion. in: path @@ -48875,9 +49056,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48899,9 +49080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 requestBody: required: false content: @@ -48924,9 +49105,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: &712 + default: &714 value: author: login: octocat @@ -48996,9 +49177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 responses: '204': description: Response @@ -49024,9 +49205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 - *86 - *17 - *19 @@ -49037,7 +49218,7 @@ paths: application/json: schema: type: array - items: &352 + items: &354 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -49102,7 +49283,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *137 + reactions: *139 required: - author - body @@ -49117,7 +49298,7 @@ paths: - updated_at - url examples: - default: &713 + default: &715 value: - author: login: octocat @@ -49185,9 +49366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 requestBody: required: true content: @@ -49209,9 +49390,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: &353 + default: &355 value: author: login: octocat @@ -49277,10 +49458,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *165 - - *294 - - *351 - - &354 + - *167 + - *296 + - *353 + - &356 name: comment_number description: The number that identifies the comment. in: path @@ -49292,9 +49473,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49316,10 +49497,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *165 - - *294 - - *351 - - *354 + - *167 + - *296 + - *353 + - *356 requestBody: required: true content: @@ -49341,9 +49522,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: &714 + default: &716 value: author: login: octocat @@ -49407,10 +49588,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *165 - - *294 - - *351 - - *354 + - *167 + - *296 + - *353 + - *356 responses: '204': description: Response @@ -49436,10 +49617,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: - - *165 - - *294 - - *351 - - *354 + - *167 + - *296 + - *353 + - *356 - 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. @@ -49465,7 +49646,7 @@ paths: application/json: schema: type: array - items: &355 + items: &357 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -49509,7 +49690,7 @@ paths: - content - created_at examples: - default: &357 + default: &359 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -49559,10 +49740,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: - - *165 - - *294 - - *351 - - *354 + - *167 + - *296 + - *353 + - *356 requestBody: required: true content: @@ -49595,9 +49776,9 @@ paths: team discussion comment content: application/json: - schema: *355 + schema: *357 examples: - default: &356 + default: &358 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -49626,9 +49807,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49651,11 +49832,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *165 - - *294 - - *351 - - *354 - - &358 + - *167 + - *296 + - *353 + - *356 + - &360 name: reaction_id description: The unique identifier of the reaction. in: path @@ -49687,9 +49868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 - 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. @@ -49715,9 +49896,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 x-github: @@ -49743,9 +49924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 requestBody: required: true content: @@ -49777,16 +49958,16 @@ paths: description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -49809,10 +49990,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *165 - - *294 - - *351 - - *358 + - *167 + - *296 + - *353 + - *360 responses: '204': description: Response @@ -49835,16 +50016,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: - - *165 - - *294 + - *167 + - *296 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -49863,8 +50044,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: - - *165 - - *294 + - *167 + - *296 requestBody: required: true content: @@ -49888,9 +50069,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: *362 + default: *364 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -49909,8 +50090,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: - - *165 - - *294 + - *167 + - *296 responses: '204': description: Response @@ -49934,8 +50115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *165 - - *294 + - *167 + - *296 - *17 - *19 responses: @@ -49945,9 +50126,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 headers: Link: *38 x-github: @@ -49969,8 +50150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *165 - - *294 + - *167 + - *296 - name: role description: Filters members returned by their role in the team. in: query @@ -49993,7 +50174,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -50023,15 +50204,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *165 - - *294 - - *213 + - *167 + - *296 + - *215 responses: '200': description: Response content: application/json: - schema: &363 + schema: &365 title: Team Membership description: Team Membership type: object @@ -50059,7 +50240,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &715 + response-if-user-is-a-team-maintainer: &717 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -50095,9 +50276,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: - - *165 - - *294 - - *213 + - *167 + - *296 + - *215 requestBody: required: false content: @@ -50122,9 +50303,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *365 examples: - response-if-users-membership-with-team-is-now-pending: &716 + response-if-users-membership-with-team-is-now-pending: &718 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -50159,9 +50340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *165 - - *294 - - *213 + - *167 + - *296 + - *215 responses: '204': description: Response @@ -50186,8 +50367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *165 - - *294 + - *167 + - *296 - *17 - *19 responses: @@ -50197,7 +50378,7 @@ paths: application/json: schema: type: array - items: &364 + items: &366 title: Team Project description: A team's access to a project. type: object @@ -50266,7 +50447,7 @@ paths: - updated_at - permissions examples: - default: &717 + default: &719 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -50329,9 +50510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *165 - - *294 - - &365 + - *167 + - *296 + - &367 name: project_id description: The unique identifier of the project. in: path @@ -50343,9 +50524,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &718 + default: &720 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -50407,9 +50588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *165 - - *294 - - *365 + - *167 + - *296 + - *367 requestBody: required: false content: @@ -50476,9 +50657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *165 - - *294 - - *365 + - *167 + - *296 + - *367 responses: '204': description: Response @@ -50505,8 +50686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *165 - - *294 + - *167 + - *296 - *17 - *19 responses: @@ -50516,9 +50697,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -50547,16 +50728,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *165 - - *294 - - *366 - - *367 + - *167 + - *296 + - *368 + - *369 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &719 + schema: &721 title: Team Repository description: A team's access to a repository. type: object @@ -50582,7 +50763,7 @@ paths: license: anyOf: - type: 'null' - - *150 + - *152 forks: type: integer permissions: @@ -51197,10 +51378,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *165 - - *294 - - *366 - - *367 + - *167 + - *296 + - *368 + - *369 requestBody: required: false content: @@ -51245,10 +51426,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *165 - - *294 - - *366 - - *367 + - *167 + - *296 + - *368 + - *369 responses: '204': description: Response @@ -51274,16 +51455,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: - - *165 - - *294 + - *167 + - *296 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -51305,8 +51486,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: - - *165 - - *294 + - *167 + - *296 requestBody: required: true content: @@ -51349,7 +51530,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: default: value: @@ -51381,8 +51562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *165 - - *294 + - *167 + - *296 - *17 - *19 responses: @@ -51392,9 +51573,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - response-if-child-teams-exist: &720 + response-if-child-teams-exist: &722 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -51447,7 +51628,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: - - *165 + - *167 - name: security_product in: path description: The security feature to enable or disable. @@ -51521,7 +51702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &370 + - &372 name: card_id description: The unique identifier of the card. in: path @@ -51533,7 +51714,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &373 title: Project Card description: Project cards represent a scope of work. type: object @@ -51608,7 +51789,7 @@ paths: - created_at - updated_at examples: - default: &372 + default: &374 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -51664,7 +51845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *370 + - *372 requestBody: required: false content: @@ -51694,9 +51875,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: *372 + default: *374 '304': *35 '403': *27 '401': *23 @@ -51723,7 +51904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *370 + - *372 responses: '204': description: Response @@ -51767,7 +51948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *370 + - *372 requestBody: required: true content: @@ -51880,7 +52061,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &373 + - &375 name: column_id description: The unique identifier of the column. in: path @@ -51892,7 +52073,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: Project Column description: Project columns contain cards of work. type: object @@ -51946,7 +52127,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &377 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -51981,7 +52162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *373 + - *375 requestBody: required: true content: @@ -52006,9 +52187,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 '304': *35 '403': *27 '401': *23 @@ -52033,7 +52214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *373 + - *375 responses: '204': description: Response @@ -52062,7 +52243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *373 + - *375 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -52083,7 +52264,7 @@ paths: application/json: schema: type: array - items: *371 + items: *373 examples: default: value: @@ -52142,7 +52323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *373 + - *375 requestBody: required: true content: @@ -52186,9 +52367,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: *372 + default: *374 '304': *35 '403': *27 '401': *23 @@ -52198,8 +52379,8 @@ paths: application/json: schema: oneOf: - - *174 - - *175 + - *176 + - *177 '503': description: Response content: @@ -52244,7 +52425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *373 + - *375 requestBody: required: true content: @@ -52305,15 +52486,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *365 + - *367 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: &376 + default: &378 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -52370,7 +52551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *365 + - *367 requestBody: required: false content: @@ -52419,9 +52600,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *376 + default: *378 '404': description: Not Found if the authenticated user does not have access to the project @@ -52442,7 +52623,7 @@ paths: items: type: string '401': *23 - '410': *377 + '410': *379 '422': *7 x-github: githubCloudOnly: false @@ -52465,7 +52646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *365 + - *367 responses: '204': description: Delete Success @@ -52486,7 +52667,7 @@ paths: items: type: string '401': *23 - '410': *377 + '410': *379 '404': *6 x-github: githubCloudOnly: false @@ -52510,7 +52691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *365 + - *367 - 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 @@ -52537,7 +52718,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '404': *6 @@ -52567,8 +52748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *365 - - *213 + - *367 + - *215 requestBody: required: false content: @@ -52622,8 +52803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *365 - - *213 + - *367 + - *215 responses: '204': description: Response @@ -52654,8 +52835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *365 - - *213 + - *367 + - *215 responses: '200': description: Response @@ -52725,7 +52906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *365 + - *367 - *17 - *19 responses: @@ -52735,7 +52916,7 @@ paths: application/json: schema: type: array - items: *374 + items: *376 examples: default: value: @@ -52773,7 +52954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *365 + - *367 requestBody: required: true content: @@ -52797,7 +52978,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -52862,7 +53043,7 @@ paths: resources: type: object properties: - core: &378 + core: &380 title: Rate Limit type: object properties: @@ -52879,21 +53060,21 @@ paths: - remaining - reset - used - graphql: *378 - search: *378 - code_search: *378 - source_import: *378 - integration_manifest: *378 - code_scanning_upload: *378 - actions_runner_registration: *378 - scim: *378 - dependency_snapshots: *378 - dependency_sbom: *378 - code_scanning_autofix: *378 + graphql: *380 + search: *380 + code_search: *380 + source_import: *380 + integration_manifest: *380 + code_scanning_upload: *380 + actions_runner_registration: *380 + scim: *380 + dependency_snapshots: *380 + dependency_sbom: *380 + code_scanning_autofix: *380 required: - core - search - rate: *378 + rate: *380 required: - rate - resources @@ -52997,14 +53178,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: default-response: summary: Default response @@ -53509,7 +53690,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *380 + '301': *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53527,8 +53708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -53783,10 +53964,10 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *381 - '307': &382 + default: *383 + '307': &384 description: Temporary Redirect content: application/json: @@ -53815,8 +53996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -53838,7 +54019,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': *382 + '307': *384 '404': *6 '409': *94 x-github: @@ -53862,11 +54043,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 - - &397 + - &399 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -53889,7 +54070,7 @@ paths: type: integer artifacts: type: array - items: &383 + items: &385 title: Artifact description: An artifact type: object @@ -53984,7 +54165,7 @@ paths: - expires_at - updated_at examples: - default: &398 + default: &400 value: total_count: 2 artifacts: @@ -54045,9 +54226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *366 - - *367 - - &384 + - *368 + - *369 + - &386 name: artifact_id description: The unique identifier of the artifact. in: path @@ -54059,7 +54240,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *385 examples: default: value: @@ -54097,9 +54278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *366 - - *367 - - *384 + - *368 + - *369 + - *386 responses: '204': description: Response @@ -54123,9 +54304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *366 - - *367 - - *384 + - *368 + - *369 + - *386 - name: archive_format in: path required: true @@ -54139,7 +54320,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': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54162,14 +54343,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: default: value: @@ -54195,11 +54376,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: - - *366 - - *367 + - *368 + - *369 - *17 - *19 - - &386 + - &388 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 @@ -54233,7 +54414,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &389 title: Repository actions caches description: Repository actions caches type: object @@ -54283,7 +54464,7 @@ paths: - total_count - actions_caches examples: - default: &388 + default: &390 value: total_count: 1 actions_caches: @@ -54315,23 +54496,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: - - *366 - - *367 + - *368 + - *369 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *386 + - *388 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54351,8 +54532,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: - - *366 - - *367 + - *368 + - *369 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -54383,9 +54564,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: - - *366 - - *367 - - &389 + - *368 + - *369 + - &391 name: job_id description: The unique identifier of the job. in: path @@ -54397,7 +54578,7 @@ paths: description: Response content: application/json: - schema: &401 + schema: &403 title: Job description: Information of a job execution in a workflow run type: object @@ -54744,9 +54925,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: - - *366 - - *367 - - *389 + - *368 + - *369 + - *391 responses: '302': description: Response @@ -54774,9 +54955,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: - - *366 - - *367 - - *389 + - *368 + - *369 + - *391 requestBody: required: false content: @@ -54798,7 +54979,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -54822,8 +55003,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Status response @@ -54873,8 +55054,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -54908,7 +55089,7 @@ paths: description: Empty response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -54937,8 +55118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -54956,7 +55137,7 @@ paths: type: integer secrets: type: array - items: &403 + items: &405 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -54977,7 +55158,7 @@ paths: - created_at - updated_at examples: - default: &404 + default: &406 value: total_count: 2 secrets: @@ -55010,9 +55191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *366 - - *367 - - *390 + - *368 + - *369 + - *392 - *19 responses: '200': @@ -55029,7 +55210,7 @@ paths: type: integer variables: type: array - items: &407 + items: &409 title: Actions Variable type: object properties: @@ -55063,7 +55244,7 @@ paths: - created_at - updated_at examples: - default: &408 + default: &410 value: total_count: 2 variables: @@ -55096,8 +55277,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -55106,11 +55287,11 @@ paths: schema: type: object properties: - enabled: &391 + enabled: &393 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *47 - selected_actions_url: *184 + selected_actions_url: *186 required: - enabled examples: @@ -55139,8 +55320,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -55151,7 +55332,7 @@ paths: schema: type: object properties: - enabled: *391 + enabled: *393 allowed_actions: *47 required: - enabled @@ -55182,14 +55363,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: &392 + schema: &394 type: object properties: access_level: @@ -55207,7 +55388,7 @@ paths: required: - access_level examples: - default: &393 + default: &395 value: access_level: organization x-github: @@ -55232,15 +55413,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 responses: '204': description: Response @@ -55264,8 +55445,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -55296,8 +55477,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -55329,14 +55510,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: default: *53 x-github: @@ -55359,8 +55540,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Success response @@ -55371,7 +55552,7 @@ paths: required: true content: application/json: - schema: *188 + schema: *190 examples: default: *53 x-github: @@ -55400,8 +55581,8 @@ paths: in: query schema: type: string - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -55445,8 +55626,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -55454,9 +55635,9 @@ paths: application/json: schema: type: array - items: *192 + items: *194 examples: - default: *193 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55478,8 +55659,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -55522,7 +55703,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *194 + '201': *196 '404': *6 '422': *7 '409': *94 @@ -55553,8 +55734,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: - - *366 - - *367 + - *368 + - *369 responses: '201': description: Response @@ -55562,7 +55743,7 @@ paths: application/json: schema: *63 examples: - default: *195 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55590,8 +55771,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: - - *366 - - *367 + - *368 + - *369 responses: '201': description: Response @@ -55599,7 +55780,7 @@ paths: application/json: schema: *63 examples: - default: *196 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55621,8 +55802,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: - - *366 - - *367 + - *368 + - *369 - *59 responses: '200': @@ -55631,7 +55812,7 @@ paths: application/json: schema: *60 examples: - default: *197 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55652,8 +55833,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: - - *366 - - *367 + - *368 + - *369 - *59 responses: '204': @@ -55680,8 +55861,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: - - *366 - - *367 + - *368 + - *369 - *59 responses: '200': *65 @@ -55706,8 +55887,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: - - *366 - - *367 + - *368 + - *369 - *59 requestBody: required: true @@ -55756,8 +55937,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: - - *366 - - *367 + - *368 + - *369 - *59 requestBody: required: true @@ -55807,11 +55988,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: - - *366 - - *367 + - *368 + - *369 - *59 responses: - '200': *198 + '200': *200 '404': *6 x-github: githubCloudOnly: false @@ -55838,10 +56019,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: - - *366 - - *367 + - *368 + - *369 - *59 - - *199 + - *201 responses: '200': *65 '404': *6 @@ -55869,9 +56050,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: - - *366 - - *367 - - &411 + - *368 + - *369 + - &413 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. @@ -55879,7 +56060,7 @@ paths: required: false schema: type: string - - &412 + - &414 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -55887,7 +56068,7 @@ paths: required: false schema: type: string - - &413 + - &415 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -55896,7 +56077,7 @@ paths: required: false schema: type: string - - &414 + - &416 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 @@ -55923,7 +56104,7 @@ paths: - pending - *17 - *19 - - &415 + - &417 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)." @@ -55932,7 +56113,7 @@ paths: schema: type: string format: date-time - - &394 + - &396 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -55941,13 +56122,13 @@ paths: schema: type: boolean default: false - - &416 + - &418 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &417 + - &419 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -55970,7 +56151,7 @@ paths: type: integer workflow_runs: type: array - items: &395 + items: &397 title: Workflow Run description: An invocation of a workflow type: object @@ -56087,7 +56268,7 @@ paths: type: - array - 'null' - items: &438 + items: &440 title: Pull Request Minimal type: object properties: @@ -56214,7 +56395,7 @@ paths: head_commit: anyOf: - type: 'null' - - &442 + - &444 title: Simple Commit description: A commit. type: object @@ -56288,8 +56469,8 @@ paths: - timestamp - author - committer - repository: *191 - head_repository: *191 + repository: *193 + head_repository: *193 head_repository_id: type: integer examples: @@ -56329,7 +56510,7 @@ paths: - workflow_url - pull_requests examples: - default: &418 + default: &420 value: total_count: 1 workflow_runs: @@ -56565,24 +56746,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *366 - - *367 - - &396 + - *368 + - *369 + - &398 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: &399 + default: &401 value: id: 30433642 name: Build @@ -56823,9 +57004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '204': description: Response @@ -56848,9 +57029,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '200': description: Response @@ -56978,15 +57159,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '201': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -57013,12 +57194,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 - *17 - *19 - - *397 + - *399 responses: '200': description: Response @@ -57034,9 +57215,9 @@ paths: type: integer artifacts: type: array - items: *383 + items: *385 examples: - default: *398 + default: *400 headers: Link: *38 x-github: @@ -57060,25 +57241,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *366 - - *367 - - *396 - - &400 + - *368 + - *369 + - *398 + - &402 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *399 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57101,10 +57282,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: - - *366 - - *367 - - *396 - - *400 + - *368 + - *369 + - *398 + - *402 - *17 - *19 responses: @@ -57122,9 +57303,9 @@ paths: type: integer jobs: type: array - items: *401 + items: *403 examples: - default: &402 + default: &404 value: total_count: 1 jobs: @@ -57237,10 +57418,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *366 - - *367 - - *396 - - *400 + - *368 + - *369 + - *398 + - *402 responses: '302': description: Response @@ -57268,15 +57449,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '202': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -57303,9 +57484,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 requestBody: required: true content: @@ -57372,15 +57553,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '202': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -57407,9 +57588,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 - 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 @@ -57439,9 +57620,9 @@ paths: type: integer jobs: type: array - items: *401 + items: *403 examples: - default: *402 + default: *404 headers: Link: *38 x-github: @@ -57466,9 +57647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '302': description: Response @@ -57495,9 +57676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '204': description: Response @@ -57524,9 +57705,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '200': description: Response @@ -57595,7 +57776,7 @@ paths: items: type: object properties: - type: &522 + type: &524 type: string description: The type of reviewer. enum: @@ -57606,7 +57787,7 @@ paths: reviewer: anyOf: - *4 - - *222 + - *224 required: - environment - wait_timer @@ -57681,9 +57862,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 requestBody: required: true content: @@ -57733,7 +57914,7 @@ paths: application/json: schema: type: array - items: &508 + items: &510 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -57845,7 +58026,7 @@ paths: - created_at - updated_at examples: - default: &509 + default: &511 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -57901,9 +58082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 requestBody: required: false content: @@ -57925,7 +58106,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -57948,9 +58129,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 requestBody: required: false content: @@ -57972,7 +58153,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -58005,9 +58186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '200': description: Response @@ -58144,8 +58325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -58163,9 +58344,9 @@ paths: type: integer secrets: type: array - items: *403 + items: *405 examples: - default: *404 + default: *406 headers: Link: *38 x-github: @@ -58190,16 +58371,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58221,17 +58402,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: &535 + default: &537 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -58257,9 +58438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 requestBody: required: true content: @@ -58290,7 +58471,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -58316,9 +58497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '204': description: Response @@ -58343,9 +58524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *366 - - *367 - - *390 + - *368 + - *369 + - *392 - *19 responses: '200': @@ -58362,9 +58543,9 @@ paths: type: integer variables: type: array - items: *407 + items: *409 examples: - default: *408 + default: *410 headers: Link: *38 x-github: @@ -58387,8 +58568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -58415,7 +58596,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -58440,17 +58621,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *366 - - *367 - - *204 + - *368 + - *369 + - *206 responses: '200': description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: &536 + default: &538 value: name: USERNAME value: octocat @@ -58476,9 +58657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *366 - - *367 - - *204 + - *368 + - *369 + - *206 requestBody: required: true content: @@ -58520,9 +58701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *366 - - *367 - - *204 + - *368 + - *369 + - *206 responses: '204': description: Response @@ -58547,8 +58728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -58566,7 +58747,7 @@ paths: type: integer workflows: type: array - items: &409 + items: &411 title: Workflow description: A GitHub Actions workflow type: object @@ -58684,9 +58865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *366 - - *367 - - &410 + - *368 + - *369 + - &412 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -58701,7 +58882,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: default: value: @@ -58734,9 +58915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *366 - - *367 - - *410 + - *368 + - *369 + - *412 responses: '204': description: Response @@ -58761,9 +58942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *366 - - *367 - - *410 + - *368 + - *369 + - *412 responses: '204': description: Response @@ -58814,9 +58995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *366 - - *367 - - *410 + - *368 + - *369 + - *412 responses: '204': description: Response @@ -58843,19 +59024,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: - - *366 - - *367 - - *410 - - *411 + - *368 + - *369 - *412 - *413 - *414 - - *17 - - *19 - *415 - - *394 - *416 + - *17 + - *19 - *417 + - *396 + - *418 + - *419 responses: '200': description: Response @@ -58871,9 +59052,9 @@ paths: type: integer workflow_runs: type: array - items: *395 + items: *397 examples: - default: *418 + default: *420 headers: Link: *38 x-github: @@ -58906,9 +59087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *366 - - *367 - - *410 + - *368 + - *369 + - *412 responses: '200': description: Response @@ -58969,8 +59150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *366 - - *367 + - *368 + - *369 - *86 - *17 - *84 @@ -59138,8 +59319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -59151,7 +59332,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '404': *6 @@ -59176,8 +59357,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: - - *366 - - *367 + - *368 + - *369 - name: assignee in: path required: true @@ -59213,8 +59394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -59326,8 +59507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *84 - *85 @@ -59381,7 +59562,7 @@ paths: bundle_url: type: string examples: - default: *419 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59401,8 +59582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -59410,7 +59591,7 @@ paths: application/json: schema: type: array - items: &420 + items: &422 title: Autolink reference description: An autolink reference. type: object @@ -59464,8 +59645,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -59504,9 +59685,9 @@ paths: description: response content: application/json: - schema: *420 + schema: *422 examples: - default: &421 + default: &423 value: id: 1 key_prefix: TICKET- @@ -59537,9 +59718,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: - - *366 - - *367 - - &422 + - *368 + - *369 + - &424 name: autolink_id description: The unique identifier of the autolink. in: path @@ -59551,9 +59732,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *421 + default: *423 '404': *6 x-github: githubCloudOnly: false @@ -59573,9 +59754,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: - - *366 - - *367 - - *422 + - *368 + - *369 + - *424 responses: '204': description: Response @@ -59599,8 +59780,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response if Dependabot is enabled @@ -59650,8 +59831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -59672,8 +59853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -59693,8 +59874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *366 - - *367 + - *368 + - *369 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -59732,7 +59913,7 @@ paths: - url protected: type: boolean - protection: &424 + protection: &426 title: Branch Protection description: Branch Protection type: object @@ -59775,7 +59956,7 @@ paths: required: - contexts - checks - enforce_admins: &427 + enforce_admins: &429 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -59792,7 +59973,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &429 + required_pull_request_reviews: &431 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -59814,7 +59995,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *222 + items: *224 apps: description: The list of apps with review dismissal access. @@ -59846,7 +60027,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *222 + items: *224 apps: description: The list of apps allowed to bypass pull request requirements. @@ -59876,7 +60057,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &426 + restrictions: &428 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -60201,9 +60382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *366 - - *367 - - &425 + - *368 + - *369 + - &427 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). @@ -60217,14 +60398,14 @@ paths: description: Response content: application/json: - schema: &435 + schema: &437 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &484 + commit: &486 title: Commit description: Commit type: object @@ -60263,7 +60444,7 @@ paths: author: anyOf: - type: 'null' - - &423 + - &425 title: Git User description: Metaproperties for Git author/committer information. @@ -60284,7 +60465,7 @@ paths: committer: anyOf: - type: 'null' - - *423 + - *425 message: type: string examples: @@ -60308,7 +60489,7 @@ paths: required: - sha - url - verification: &542 + verification: &544 title: Verification type: object properties: @@ -60344,14 +60525,14 @@ paths: author: oneOf: - *4 - - *202 + - *204 type: - 'null' - object committer: oneOf: - *4 - - *202 + - *204 type: - 'null' - object @@ -60388,7 +60569,7 @@ paths: type: integer files: type: array - items: &496 + items: &498 title: Diff Entry description: Diff Entry type: object @@ -60482,7 +60663,7 @@ paths: - self protected: type: boolean - protection: *424 + protection: *426 protection_url: type: string format: uri @@ -60591,7 +60772,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *380 + '301': *382 '404': *6 x-github: githubCloudOnly: false @@ -60613,15 +60794,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -60815,9 +60996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -61077,7 +61258,7 @@ paths: url: type: string format: uri - required_status_checks: &432 + required_status_checks: &434 title: Status Check Policy description: Status Check Policy type: object @@ -61158,7 +61339,7 @@ paths: items: *4 teams: type: array - items: *222 + items: *224 apps: type: array items: *5 @@ -61176,7 +61357,7 @@ paths: items: *4 teams: type: array - items: *222 + items: *224 apps: type: array items: *5 @@ -61236,7 +61417,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *426 + restrictions: *428 required_conversation_resolution: type: object properties: @@ -61348,9 +61529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -61375,17 +61556,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: &428 + default: &430 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -61407,17 +61588,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61436,9 +61617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -61463,17 +61644,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: &430 + default: &432 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -61569,9 +61750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -61669,9 +61850,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -61692,9 +61873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -61721,17 +61902,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: &431 + default: &433 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -61754,17 +61935,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *431 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -61784,9 +61965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -61811,17 +61992,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: &433 + default: &435 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -61847,9 +62028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -61901,9 +62082,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 '404': *6 '422': *15 x-github: @@ -61925,9 +62106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -61951,9 +62132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response @@ -61987,9 +62168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -62056,9 +62237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -62122,9 +62303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: content: application/json: @@ -62190,15 +62371,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *426 + schema: *428 examples: default: value: @@ -62289,9 +62470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -62314,9 +62495,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: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response @@ -62326,7 +62507,7 @@ paths: type: array items: *5 examples: - default: &434 + default: &436 value: - id: 1 slug: octoapp @@ -62383,9 +62564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62419,7 +62600,7 @@ paths: type: array items: *5 examples: - default: *434 + default: *436 '422': *15 x-github: githubCloudOnly: false @@ -62440,9 +62621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62476,7 +62657,7 @@ paths: type: array items: *5 examples: - default: *434 + default: *436 '422': *15 x-github: githubCloudOnly: false @@ -62497,9 +62678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62533,7 +62714,7 @@ paths: type: array items: *5 examples: - default: *434 + default: *436 '422': *15 x-github: githubCloudOnly: false @@ -62555,9 +62736,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: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response @@ -62565,9 +62746,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 '404': *6 x-github: githubCloudOnly: false @@ -62587,9 +62768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -62625,9 +62806,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -62648,9 +62829,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -62686,9 +62867,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -62709,9 +62890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: content: application/json: @@ -62746,9 +62927,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -62770,9 +62951,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: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response @@ -62782,7 +62963,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 '404': *6 x-github: githubCloudOnly: false @@ -62806,9 +62987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62841,7 +63022,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -62866,9 +63047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62901,7 +63082,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -62926,9 +63107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62961,7 +63142,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -62988,9 +63169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -63012,7 +63193,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: default: value: @@ -63126,12 +63307,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *366 - - *367 - - *214 - - *215 + - *368 + - *369 - *216 - *217 + - *218 + - *219 - *17 - *19 responses: @@ -63141,9 +63322,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '404': *6 '500': *83 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -63163,8 +63344,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: bypass_request_number in: path required: true @@ -63178,7 +63359,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -63237,12 +63418,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *366 - - *367 - - *214 - - *215 + - *368 + - *369 - *216 - *217 + - *218 + - *219 - *17 - *19 responses: @@ -63252,9 +63433,9 @@ paths: application/json: schema: type: array - items: *436 + items: *438 examples: - default: *437 + default: *439 '404': *6 '403': *27 '500': *83 @@ -63278,8 +63459,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *366 - - *367 + - *368 + - *369 - name: bypass_request_number in: path required: true @@ -63291,7 +63472,7 @@ paths: description: A single bypass request. content: application/json: - schema: *436 + schema: *438 examples: default: value: @@ -63349,8 +63530,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *366 - - *367 + - *368 + - *369 - name: bypass_request_number in: path required: true @@ -63421,8 +63602,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *366 - - *367 + - *368 + - *369 - name: bypass_response_id in: path required: true @@ -63455,8 +63636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -63735,7 +63916,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &441 title: CheckRun description: A check performed on the code of a given code change type: object @@ -63870,8 +64051,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *438 - deployment: &773 + items: *440 + deployment: &775 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -64158,9 +64339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *366 - - *367 - - &440 + - *368 + - *369 + - &442 name: check_run_id description: The unique identifier of the check run. in: path @@ -64172,9 +64353,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: &441 + default: &443 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -64274,9 +64455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *366 - - *367 - - *440 + - *368 + - *369 + - *442 requestBody: required: true content: @@ -64516,9 +64697,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *441 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64538,9 +64719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *366 - - *367 - - *440 + - *368 + - *369 + - *442 - *17 - *19 responses: @@ -64650,15 +64831,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *366 - - *367 - - *440 + - *368 + - *369 + - *442 responses: '201': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -64696,8 +64877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -64719,7 +64900,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &443 + schema: &445 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -64801,12 +64982,12 @@ paths: type: - array - 'null' - items: *438 + items: *440 app: anyOf: - type: 'null' - *5 - repository: *191 + repository: *193 created_at: type: - string @@ -64817,7 +64998,7 @@ paths: - string - 'null' format: date-time - head_commit: *442 + head_commit: *444 latest_check_runs_count: type: integer check_runs_url: @@ -64845,7 +65026,7 @@ paths: - check_runs_url - pull_requests examples: - default: &444 + default: &446 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -65136,9 +65317,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *443 + schema: *445 examples: - default: *444 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65157,8 +65338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -65219,7 +65400,7 @@ paths: required: - app_id - setting - repository: *191 + repository: *193 examples: default: value: @@ -65467,9 +65648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *366 - - *367 - - &445 + - *368 + - *369 + - &447 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -65481,9 +65662,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: - default: *444 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65506,17 +65687,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: - - *366 - - *367 - - *445 - - &491 + - *368 + - *369 + - *447 + - &493 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &492 + - &494 name: status description: Returns check runs with the specified `status`. in: query @@ -65555,9 +65736,9 @@ paths: type: integer check_runs: type: array - items: *439 + items: *441 examples: - default: &493 + default: &495 value: total_count: 1 check_runs: @@ -65659,15 +65840,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *366 - - *367 - - *445 + - *368 + - *369 + - *447 responses: '201': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -65694,21 +65875,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: - - *366 - - *367 - - *226 - - *227 + - *368 + - *369 + - *228 + - *229 - *19 - *17 - - &461 + - &463 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: *446 - - &462 + schema: *448 + - &464 name: pr description: The number of the pull request for the results you want to list. in: query @@ -65733,13 +65914,13 @@ paths: be returned. in: query required: false - schema: *228 + schema: *230 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *447 + schema: *449 responses: '200': description: Response @@ -65755,7 +65936,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *448 + instances_url: *450 state: *89 fixed_at: *106 dismissed_by: @@ -65763,11 +65944,11 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *449 - dismissed_comment: *450 - rule: *451 - tool: *452 - most_recent_instance: *453 + dismissed_reason: *451 + dismissed_comment: *452 + rule: *453 + tool: *454 + most_recent_instance: *455 dismissal_approved_by: anyOf: - type: 'null' @@ -65887,7 +66068,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &454 + '403': &456 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -65914,9 +66095,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: - - *366 - - *367 - - &455 + - *368 + - *369 + - &457 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -65930,7 +66111,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &458 type: object properties: number: *96 @@ -65938,7 +66119,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *448 + instances_url: *450 state: *89 fixed_at: *106 dismissed_by: @@ -65946,8 +66127,8 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *449 - dismissed_comment: *450 + dismissed_reason: *451 + dismissed_comment: *452 rule: type: object properties: @@ -66009,8 +66190,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *452 - most_recent_instance: *453 + tool: *454 + most_recent_instance: *455 dismissal_approved_by: anyOf: - type: 'null' @@ -66103,7 +66284,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -66123,9 +66304,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 requestBody: required: true content: @@ -66140,8 +66321,8 @@ paths: enum: - open - dismissed - dismissed_reason: *449 - dismissed_comment: *450 + dismissed_reason: *451 + dismissed_comment: *452 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -66160,7 +66341,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: default: value: @@ -66236,7 +66417,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &460 + '403': &462 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -66263,15 +66444,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 responses: '200': description: Response content: application/json: - schema: &457 + schema: &459 type: object properties: status: @@ -66298,13 +66479,13 @@ paths: - description - started_at examples: - default: &458 + default: &460 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &459 + '400': &461 description: Bad Request content: application/json: @@ -66315,7 +66496,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': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -66340,29 +66521,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 responses: '200': description: OK content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 '202': description: Accepted content: application/json: - schema: *457 + schema: *459 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *459 + '400': *461 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -66394,9 +66575,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 requestBody: required: false content: @@ -66442,8 +66623,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *459 - '403': *460 + '400': *461 + '403': *462 '404': *6 '422': description: Unprocessable Entity @@ -66467,13 +66648,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 - *19 - *17 - - *461 - - *462 + - *463 + - *464 responses: '200': description: Response @@ -66481,7 +66662,7 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: default: value: @@ -66520,7 +66701,7 @@ paths: end_column: 50 classifications: - source - '403': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -66554,25 +66735,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: - - *366 - - *367 - - *226 - - *227 + - *368 + - *369 + - *228 + - *229 - *19 - *17 - - *462 + - *464 - 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: *446 + schema: *448 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &465 + schema: &467 type: string description: An identifier for the upload. examples: @@ -66594,23 +66775,23 @@ paths: application/json: schema: type: array - items: &466 + items: &468 type: object properties: - ref: *446 - commit_sha: &474 + ref: *448 + commit_sha: &476 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: *463 + analysis_key: *465 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *464 + category: *466 error: type: string examples: @@ -66635,8 +66816,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *465 - tool: *452 + sarif_id: *467 + tool: *454 deletable: type: boolean warning: @@ -66698,7 +66879,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -66734,8 +66915,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: - - *366 - - *367 + - *368 + - *369 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -66748,7 +66929,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: response: summary: application/json response @@ -66802,7 +66983,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *454 + '403': *456 '404': *6 '422': description: Response if analysis could not be processed @@ -66889,8 +67070,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: - - *366 - - *367 + - *368 + - *369 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -66946,7 +67127,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': *460 + '403': *462 '404': *6 '503': *130 x-github: @@ -66968,8 +67149,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -66977,7 +67158,7 @@ paths: application/json: schema: type: array - items: &467 + items: &469 title: CodeQL Database description: A CodeQL database. type: object @@ -67089,7 +67270,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': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -67118,8 +67299,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: - - *366 - - *367 + - *368 + - *369 - name: language in: path description: The language of the CodeQL database. @@ -67131,7 +67312,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: default: value: @@ -67163,9 +67344,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': &498 + '302': &500 description: Found - '403': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -67187,8 +67368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *366 - - *367 + - *368 + - *369 - name: language in: path description: The language of the CodeQL database. @@ -67198,7 +67379,7 @@ paths: responses: '204': description: Response - '403': *460 + '403': *462 '404': *6 '503': *130 x-github: @@ -67226,8 +67407,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -67236,7 +67417,7 @@ paths: type: object additionalProperties: false properties: - language: &468 + language: &470 type: string description: The language targeted by the CodeQL query enum: @@ -67315,7 +67496,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &472 + schema: &474 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -67325,7 +67506,7 @@ paths: description: The ID of the variant analysis. controller_repo: *95 actor: *4 - query_language: *468 + query_language: *470 query_pack_url: type: string description: The download url for the query pack. @@ -67373,7 +67554,7 @@ paths: items: type: object properties: - repository: &469 + repository: &471 title: Repository Identifier description: Repository Identifier type: object @@ -67415,7 +67596,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &473 + analysis_status: &475 type: string description: The new status of the CodeQL variant analysis repository task. @@ -67447,7 +67628,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &470 + access_mismatch_repos: &472 type: object properties: repository_count: @@ -67462,7 +67643,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: *469 + items: *471 required: - repository_count - repositories @@ -67485,8 +67666,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *470 - over_limit_repos: *470 + no_codeql_db_repos: *472 + over_limit_repos: *472 required: - access_mismatch_repos - not_found_repos @@ -67502,7 +67683,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &471 + value: &473 summary: Default response value: id: 1 @@ -67654,10 +67835,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *471 + value: *473 repository_lists: summary: Response for a successful variant analysis submission - value: *471 + value: *473 '404': *6 '422': description: Unable to process variant analysis submission @@ -67685,8 +67866,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: - - *366 - - *367 + - *368 + - *369 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -67698,9 +67879,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *471 + default: *473 '404': *6 '503': *130 x-github: @@ -67723,7 +67904,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: - - *366 + - *368 - name: repo in: path description: The name of the controller repository. @@ -67758,7 +67939,7 @@ paths: type: object properties: repository: *95 - analysis_status: *473 + analysis_status: *475 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -67883,8 +68064,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -67977,7 +68158,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -67998,8 +68179,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -68068,7 +68249,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -68093,7 +68274,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *460 + '403': *462 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -68158,8 +68339,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -68167,7 +68348,7 @@ paths: schema: type: object properties: - commit_sha: *474 + commit_sha: *476 ref: type: string description: |- @@ -68227,7 +68408,7 @@ paths: schema: type: object properties: - id: *465 + id: *467 url: type: string description: The REST API URL for checking the status of the upload. @@ -68241,7 +68422,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': *460 + '403': *462 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -68264,8 +68445,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: - - *366 - - *367 + - *368 + - *369 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -68313,7 +68494,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': *454 + '403': *456 '404': description: Not Found if the sarif id does not match any upload '503': *130 @@ -68338,8 +68519,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -68420,8 +68601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *366 - - *367 + - *368 + - *369 - 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 @@ -68549,8 +68730,8 @@ paths: parameters: - *17 - *19 - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -68566,7 +68747,7 @@ paths: type: integer codespaces: type: array - items: *286 + items: *288 examples: default: value: @@ -68864,8 +69045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -68929,17 +69110,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '400': *14 '401': *23 '403': *27 @@ -68968,8 +69149,8 @@ paths: parameters: - *17 - *19 - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -69033,8 +69214,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: - - *366 - - *367 + - *368 + - *369 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -69071,9 +69252,9 @@ paths: type: integer machines: type: array - items: *476 + items: *478 examples: - default: &727 + default: &729 value: total_count: 2 machines: @@ -69113,8 +69294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *366 - - *367 + - *368 + - *369 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -69201,8 +69382,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: - - *366 - - *367 + - *368 + - *369 - 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 @@ -69271,8 +69452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -69290,7 +69471,7 @@ paths: type: integer secrets: type: array - items: &480 + items: &482 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -69311,7 +69492,7 @@ paths: - created_at - updated_at examples: - default: *477 + default: *479 headers: Link: *38 x-github: @@ -69334,16 +69515,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -69363,17 +69544,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '200': description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69393,9 +69574,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: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 requestBody: required: true content: @@ -69423,7 +69604,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -69447,9 +69628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '204': description: Response @@ -69477,8 +69658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *366 - - *367 + - *368 + - *369 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -69516,7 +69697,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 title: Collaborator description: Collaborator type: object @@ -69709,9 +69890,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: - - *366 - - *367 - - *213 + - *368 + - *369 + - *215 responses: '204': description: Response if user is a collaborator @@ -69757,9 +69938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *366 - - *367 - - *213 + - *368 + - *369 + - *215 requestBody: required: false content: @@ -69785,7 +69966,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &555 + schema: &557 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -69797,7 +69978,7 @@ paths: format: int64 examples: - 42 - repository: *191 + repository: *193 invitee: anyOf: - type: 'null' @@ -69973,7 +70154,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *174 + schema: *176 '403': *27 x-github: triggersNotification: true @@ -70013,9 +70194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *366 - - *367 - - *213 + - *368 + - *369 + - *215 responses: '204': description: No Content when collaborator was removed from the repository. @@ -70046,9 +70227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *366 - - *367 - - *213 + - *368 + - *369 + - *215 responses: '200': description: if user has admin permissions @@ -70068,7 +70249,7 @@ paths: user: anyOf: - type: 'null' - - *482 + - *484 required: - permission - role_name @@ -70122,8 +70303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -70133,7 +70314,7 @@ paths: application/json: schema: type: array - items: &483 + items: &485 title: Commit Comment description: Commit Comment type: object @@ -70174,8 +70355,8 @@ paths: updated_at: type: string format: date-time - author_association: *136 - reactions: *137 + author_association: *138 + reactions: *139 required: - url - html_url @@ -70191,7 +70372,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &488 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -70250,17 +70431,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '200': description: Response content: application/json: - schema: *483 + schema: *485 examples: - default: &487 + default: &489 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -70317,9 +70498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -70341,7 +70522,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -70392,9 +70573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '204': description: Response @@ -70415,9 +70596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 - 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. @@ -70443,9 +70624,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 '404': *6 @@ -70466,9 +70647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -70500,16 +70681,16 @@ paths: description: Reaction exists content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Reaction created content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -70531,10 +70712,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *366 - - *367 - - *148 - - *358 + - *368 + - *369 + - *150 + - *360 responses: '204': description: Response @@ -70583,8 +70764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *366 - - *367 + - *368 + - *369 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -70640,9 +70821,9 @@ paths: application/json: schema: type: array - items: *484 + items: *486 examples: - default: &603 + default: &605 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70736,9 +70917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *366 - - *367 - - &485 + - *368 + - *369 + - &487 name: commit_sha description: The SHA of the commit. in: path @@ -70810,9 +70991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *366 - - *367 - - *485 + - *368 + - *369 + - *487 - *17 - *19 responses: @@ -70822,9 +71003,9 @@ paths: application/json: schema: type: array - items: *483 + items: *485 examples: - default: *486 + default: *488 headers: Link: *38 x-github: @@ -70852,9 +71033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *366 - - *367 - - *485 + - *368 + - *369 + - *487 requestBody: required: true content: @@ -70889,9 +71070,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: - default: *487 + default: *489 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -70919,9 +71100,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: - - *366 - - *367 - - *485 + - *368 + - *369 + - *487 - *17 - *19 responses: @@ -70931,7 +71112,7 @@ paths: application/json: schema: type: array - items: &594 + items: &596 title: Pull Request Simple description: Pull Request Simple type: object @@ -71051,7 +71232,7 @@ paths: milestone: anyOf: - type: 'null' - - *488 + - *490 active_lock_reason: type: - string @@ -71106,7 +71287,7 @@ paths: type: - array - 'null' - items: *222 + items: *224 head: type: object properties: @@ -71150,7 +71331,7 @@ paths: _links: type: object properties: - comments: &489 + comments: &491 title: Link description: Hypermedia Link type: object @@ -71159,13 +71340,13 @@ paths: type: string required: - href - commits: *489 - statuses: *489 - html: *489 - issue: *489 - review_comments: *489 - review_comment: *489 - self: *489 + commits: *491 + statuses: *491 + html: *491 + issue: *491 + review_comments: *491 + review_comment: *491 + self: *491 required: - comments - commits @@ -71175,8 +71356,8 @@ paths: - review_comments - review_comment - self - author_association: *136 - auto_merge: &596 + author_association: *138 + auto_merge: &598 title: Auto merge description: The status of auto merging a pull request. type: @@ -71241,7 +71422,7 @@ paths: - author_association - auto_merge examples: - default: &595 + default: &597 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -71778,11 +71959,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *366 - - *367 + - *368 + - *369 - *19 - *17 - - &490 + - &492 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)" @@ -71797,9 +71978,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: &582 + default: &584 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -71912,11 +72093,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: - - *366 - - *367 - - *490 - - *491 + - *368 + - *369 - *492 + - *493 + - *494 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -71950,9 +72131,9 @@ paths: type: integer check_runs: type: array - items: *439 + items: *441 examples: - default: *493 + default: *495 headers: Link: *38 x-github: @@ -71977,9 +72158,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: - - *366 - - *367 - - *490 + - *368 + - *369 + - *492 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -71987,7 +72168,7 @@ paths: schema: type: integer example: 1 - - *491 + - *493 - *17 - *19 responses: @@ -72005,7 +72186,7 @@ paths: type: integer check_suites: type: array - items: *443 + items: *445 examples: default: value: @@ -72205,9 +72386,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: - - *366 - - *367 - - *490 + - *368 + - *369 + - *492 - *17 - *19 responses: @@ -72278,7 +72459,7 @@ paths: type: string total_count: type: integer - repository: *191 + repository: *193 commit_url: type: string format: uri @@ -72409,9 +72590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *366 - - *367 - - *490 + - *368 + - *369 + - *492 - *17 - *19 responses: @@ -72421,7 +72602,7 @@ paths: application/json: schema: type: array - items: &675 + items: &677 title: Status description: The status of a commit. type: object @@ -72502,7 +72683,7 @@ paths: site_admin: false headers: Link: *38 - '301': *380 + '301': *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72530,8 +72711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -72564,11 +72745,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *494 + - *496 code_of_conduct_file: anyOf: - type: 'null' - - &495 + - &497 title: Community Health File type: object properties: @@ -72584,23 +72765,23 @@ paths: license: anyOf: - type: 'null' - - *150 + - *152 contributing: anyOf: - type: 'null' - - *495 + - *497 readme: anyOf: - type: 'null' - - *495 + - *497 issue_template: anyOf: - type: 'null' - - *495 + - *497 pull_request_template: anyOf: - type: 'null' - - *495 + - *497 required: - code_of_conduct - code_of_conduct_file @@ -72729,8 +72910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *366 - - *367 + - *368 + - *369 - *19 - *17 - name: basehead @@ -72778,8 +72959,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *484 - merge_base_commit: *484 + base_commit: *486 + merge_base_commit: *486 status: type: string enum: @@ -72803,10 +72984,10 @@ paths: - 6 commits: type: array - items: *484 + items: *486 files: type: array - items: *496 + items: *498 required: - url - html_url @@ -73092,8 +73273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *366 - - *367 + - *368 + - *369 - name: path description: path parameter in: path @@ -73246,7 +73427,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &497 + response-if-content-is-a-file: &499 summary: Response if content is a file value: type: file @@ -73383,7 +73564,7 @@ paths: - size - type - url - - &608 + - &610 title: Content File description: Content File type: object @@ -73601,7 +73782,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *497 + response-if-content-is-a-file: *499 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -73670,7 +73851,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *498 + '302': *500 '304': *35 x-github: githubCloudOnly: false @@ -73693,8 +73874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *366 - - *367 + - *368 + - *369 - name: path description: path parameter in: path @@ -73789,7 +73970,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &501 title: File Commit description: File Commit type: object @@ -73945,7 +74126,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: example-for-creating-a-file: value: @@ -73999,7 +74180,7 @@ paths: schema: oneOf: - *3 - - &537 + - &539 description: Repository rule violation was detected type: object properties: @@ -74020,7 +74201,7 @@ paths: items: type: object properties: - placeholder_id: &667 + placeholder_id: &669 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -74052,8 +74233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *366 - - *367 + - *368 + - *369 - name: path description: path parameter in: path @@ -74114,7 +74295,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -74169,8 +74350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *366 - - *367 + - *368 + - *369 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -74294,22 +74475,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *366 - - *367 - - *242 - - *243 + - *368 + - *369 - *244 - *245 + - *246 + - *247 - 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 - - *246 - - *247 - *248 - *249 + - *250 + - *251 - *86 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -74329,8 +74510,8 @@ paths: default: 30 - *84 - *85 - - *250 - - *251 + - *252 + - *253 responses: '200': description: Response @@ -74338,7 +74519,7 @@ paths: application/json: schema: type: array - items: &502 + items: &504 type: object description: A Dependabot alert. properties: @@ -74388,7 +74569,7 @@ paths: - direct - transitive - - security_advisory: *500 + security_advisory: *502 security_vulnerability: *100 url: *101 html_url: *102 @@ -74419,7 +74600,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: *501 + auto_dismissed_at: *503 required: - number - state @@ -74649,9 +74830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *366 - - *367 - - &503 + - *368 + - *369 + - &505 name: alert_number in: path description: |- @@ -74666,7 +74847,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -74779,9 +74960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *366 - - *367 - - *503 + - *368 + - *369 + - *505 requestBody: required: true content: @@ -74826,7 +75007,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -74955,8 +75136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -74974,7 +75155,7 @@ paths: type: integer secrets: type: array - items: &506 + items: &508 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -75028,16 +75209,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *504 + schema: *506 examples: - default: *505 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75057,15 +75238,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '200': description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -75091,9 +75272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 requestBody: required: true content: @@ -75121,7 +75302,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -75145,9 +75326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '204': description: Response @@ -75169,8 +75350,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: - - *366 - - *367 + - *368 + - *369 - 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 @@ -75344,8 +75525,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -75605,8 +75786,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -75689,7 +75870,7 @@ paths: - version - url additionalProperties: false - metadata: &507 + metadata: &509 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -75728,7 +75909,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *507 + metadata: *509 resolved: type: object description: A collection of resolved package dependencies. @@ -75742,7 +75923,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *507 + metadata: *509 relationship: type: string description: A notation of whether a dependency is requested @@ -75875,8 +76056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *366 - - *367 + - *368 + - *369 - name: sha description: The SHA recorded at creation time. in: query @@ -75917,9 +76098,9 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 + default: *511 headers: Link: *38 x-github: @@ -75985,8 +76166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -76068,7 +76249,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: simple-example: summary: Simple example @@ -76141,9 +76322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *366 - - *367 - - &510 + - *368 + - *369 + - &512 name: deployment_id description: deployment_id parameter in: path @@ -76155,7 +76336,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: default: value: @@ -76220,9 +76401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *366 - - *367 - - *510 + - *368 + - *369 + - *512 responses: '204': description: Response @@ -76244,9 +76425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *366 - - *367 - - *510 + - *368 + - *369 + - *512 - *17 - *19 responses: @@ -76256,7 +76437,7 @@ paths: application/json: schema: type: array - items: &511 + items: &513 title: Deployment Status description: The status of a deployment. type: object @@ -76420,9 +76601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *366 - - *367 - - *510 + - *368 + - *369 + - *512 requestBody: required: true content: @@ -76497,9 +76678,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: &512 + default: &514 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -76555,9 +76736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *366 - - *367 - - *510 + - *368 + - *369 + - *512 - name: status_id in: path required: true @@ -76568,9 +76749,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -76597,12 +76778,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 - - *513 - - *514 + - *368 + - *369 - *515 - *516 + - *517 + - *518 - *17 - *19 responses: @@ -76612,9 +76793,9 @@ paths: application/json: schema: type: array - items: *517 + items: *519 examples: - default: *518 + default: *520 '404': *6 '403': *27 '500': *83 @@ -76638,8 +76819,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: alert_number in: path required: true @@ -76651,7 +76832,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *517 + schema: *519 examples: default: value: @@ -76707,8 +76888,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: alert_number in: path required: true @@ -76767,12 +76948,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 - - *214 - - *215 + - *368 + - *369 - *216 - - *519 + - *217 + - *218 + - *521 - *17 - *19 responses: @@ -76782,9 +76963,9 @@ paths: application/json: schema: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 '404': *6 '403': *27 '500': *83 @@ -76809,8 +76990,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: alert_number in: path required: true @@ -76822,7 +77003,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *520 + schema: *522 examples: default: value: @@ -76880,8 +77061,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: alert_number in: path required: true @@ -76950,8 +77131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -77008,8 +77189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -77027,7 +77208,7 @@ paths: - 5 environments: type: array - items: &523 + items: &525 title: Environment description: Details of a deployment environment type: object @@ -77089,7 +77270,7 @@ paths: type: string examples: - wait_timer - wait_timer: &525 + wait_timer: &527 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -77131,11 +77312,11 @@ paths: items: type: object properties: - type: *522 + type: *524 reviewer: anyOf: - *4 - - *222 + - *224 required: - id - node_id @@ -77158,7 +77339,7 @@ paths: - id - node_id - type - deployment_branch_policy: &526 + deployment_branch_policy: &528 type: - object - 'null' @@ -77275,9 +77456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *366 - - *367 - - &524 + - *368 + - *369 + - &526 name: environment_name in: path required: true @@ -77290,9 +77471,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: &527 + default: &529 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -77376,9 +77557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 requestBody: required: false content: @@ -77388,7 +77569,7 @@ paths: - object - 'null' properties: - wait_timer: *525 + wait_timer: *527 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -77407,14 +77588,14 @@ paths: items: type: object properties: - type: *522 + type: *524 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *526 + deployment_branch_policy: *528 additionalProperties: false examples: default: @@ -77434,9 +77615,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *527 + default: *529 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -77460,9 +77641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 responses: '204': description: Default response @@ -77487,9 +77668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 - *17 - *19 responses: @@ -77508,7 +77689,7 @@ paths: - 2 branch_policies: type: array - items: &528 + items: &530 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -77569,9 +77750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 requestBody: required: true content: @@ -77619,9 +77800,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - example-wildcard: &529 + example-wildcard: &531 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -77663,10 +77844,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *366 - - *367 - - *524 - - &530 + - *368 + - *369 + - *526 + - &532 name: branch_policy_id in: path required: true @@ -77678,9 +77859,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77699,10 +77880,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *366 - - *367 - - *524 - - *530 + - *368 + - *369 + - *526 + - *532 requestBody: required: true content: @@ -77731,9 +77912,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77752,10 +77933,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *366 - - *367 - - *524 - - *530 + - *368 + - *369 + - *526 + - *532 responses: '204': description: Response @@ -77780,9 +77961,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: - - *524 - - *367 - - *366 + - *526 + - *369 + - *368 responses: '200': description: List of deployment protection rules @@ -77799,7 +77980,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &531 + items: &533 title: Deployment protection rule description: Deployment protection rule type: object @@ -77821,7 +78002,7 @@ paths: for the environment. examples: - true - app: &532 + app: &534 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -77924,9 +78105,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: - - *524 - - *367 - - *366 + - *526 + - *369 + - *368 requestBody: content: application/json: @@ -77947,9 +78128,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *531 + schema: *533 examples: - default: &533 + default: &535 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -77984,9 +78165,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: - - *524 - - *367 - - *366 + - *526 + - *369 + - *368 - *19 - *17 responses: @@ -78006,7 +78187,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *532 + items: *534 examples: default: value: @@ -78041,10 +78222,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: - - *366 - - *367 - - *524 - - &534 + - *368 + - *369 + - *526 + - &536 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -78056,9 +78237,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: - default: *533 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78079,10 +78260,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: - - *524 - - *367 - - *366 - - *534 + - *526 + - *369 + - *368 + - *536 responses: '204': description: Response @@ -78108,9 +78289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 - *17 - *19 responses: @@ -78128,9 +78309,9 @@ paths: type: integer secrets: type: array - items: *403 + items: *405 examples: - default: *404 + default: *406 headers: Link: *38 x-github: @@ -78155,17 +78336,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78187,18 +78368,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *366 - - *367 - - *524 - - *201 + - *368 + - *369 + - *526 + - *203 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *535 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78220,10 +78401,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *366 - - *367 - - *524 - - *201 + - *368 + - *369 + - *526 + - *203 requestBody: required: true content: @@ -78254,7 +78435,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -78280,10 +78461,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *366 - - *367 - - *524 - - *201 + - *368 + - *369 + - *526 + - *203 responses: '204': description: Default response @@ -78308,10 +78489,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *366 - - *367 - - *524 - - *390 + - *368 + - *369 + - *526 + - *392 - *19 responses: '200': @@ -78328,9 +78509,9 @@ paths: type: integer variables: type: array - items: *407 + items: *409 examples: - default: *408 + default: *410 headers: Link: *38 x-github: @@ -78353,9 +78534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 requestBody: required: true content: @@ -78382,7 +78563,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -78407,18 +78588,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *366 - - *367 - - *524 - - *204 + - *368 + - *369 + - *526 + - *206 responses: '200': description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: *536 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78439,10 +78620,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *366 - - *367 - - *204 - - *524 + - *368 + - *369 + - *206 + - *526 requestBody: required: true content: @@ -78484,10 +78665,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *366 - - *367 - - *204 - - *524 + - *368 + - *369 + - *206 + - *526 responses: '204': description: Response @@ -78509,8 +78690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -78520,7 +78701,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: 200-response: value: @@ -78587,8 +78768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *366 - - *367 + - *368 + - *369 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -78610,7 +78791,7 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: default: value: @@ -78747,8 +78928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -78781,9 +78962,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *381 + default: *383 '400': *14 '422': *15 '403': *27 @@ -78804,8 +78985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -78864,8 +79045,8 @@ paths: application/json: schema: oneOf: - - *174 - - *537 + - *176 + - *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78890,8 +79071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *366 - - *367 + - *368 + - *369 - name: file_sha in: path required: true @@ -78991,8 +79172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -79101,7 +79282,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &540 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -79328,15 +79509,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *366 - - *367 - - *485 + - *368 + - *369 + - *487 responses: '200': description: Response content: application/json: - schema: *538 + schema: *540 examples: default: value: @@ -79392,9 +79573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *366 - - *367 - - &539 + - *368 + - *369 + - &541 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. @@ -79411,7 +79592,7 @@ paths: application/json: schema: type: array - items: &540 + items: &542 title: Git Reference description: Git references within a repository type: object @@ -79487,17 +79668,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *366 - - *367 - - *539 + - *368 + - *369 + - *541 responses: '200': description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: &541 + default: &543 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -79526,8 +79707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -79556,9 +79737,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -79584,9 +79765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *366 - - *367 - - *539 + - *368 + - *369 + - *541 requestBody: required: true content: @@ -79615,9 +79796,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 '422': *15 '409': *94 x-github: @@ -79635,9 +79816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *366 - - *367 - - *539 + - *368 + - *369 + - *541 responses: '204': description: Response @@ -79692,8 +79873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -79760,7 +79941,7 @@ paths: description: Response content: application/json: - schema: &543 + schema: &545 title: Git Tag description: Metadata for a Git tag type: object @@ -79816,7 +79997,7 @@ paths: - sha - type - url - verification: *542 + verification: *544 required: - sha - url @@ -79826,7 +80007,7 @@ paths: - tag - message examples: - default: &544 + default: &546 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -79899,8 +80080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *366 - - *367 + - *368 + - *369 - name: tag_sha in: path required: true @@ -79911,9 +80092,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: *544 + default: *546 '404': *6 '409': *94 x-github: @@ -79937,8 +80118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -80012,7 +80193,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &547 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -80114,8 +80295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *366 - - *367 + - *368 + - *369 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -80138,7 +80319,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: default-response: summary: Default response @@ -80197,8 +80378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -80208,7 +80389,7 @@ paths: application/json: schema: type: array - items: &546 + items: &548 title: Webhook description: Webhooks for repositories. type: object @@ -80271,7 +80452,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &804 + last_response: &806 title: Hook Response type: object properties: @@ -80348,8 +80529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -80402,9 +80583,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: &547 + default: &549 value: type: Repository id: 12345678 @@ -80452,17 +80633,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 responses: '200': description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *547 + default: *549 '404': *6 x-github: githubCloudOnly: false @@ -80482,9 +80663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 requestBody: required: true content: @@ -80529,9 +80710,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *547 + default: *549 '422': *15 '404': *6 x-github: @@ -80552,9 +80733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 responses: '204': description: Response @@ -80578,9 +80759,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: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 responses: '200': description: Response @@ -80607,9 +80788,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: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 requestBody: required: false content: @@ -80653,11 +80834,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 - *17 - - *258 + - *260 responses: '200': description: Response @@ -80665,9 +80846,9 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: - default: *260 + default: *262 '400': *14 '422': *15 x-github: @@ -80686,18 +80867,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: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 - *16 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 '400': *14 '422': *15 x-github: @@ -80716,9 +80897,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: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 - *16 responses: '202': *37 @@ -80741,9 +80922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 responses: '204': description: Response @@ -80768,9 +80949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 responses: '204': description: Response @@ -80828,14 +81009,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: &548 + schema: &550 title: Import description: A repository import from an external source. type: object @@ -80942,7 +81123,7 @@ paths: - html_url - authors_url examples: - default: &551 + default: &553 value: vcs: subversion use_lfs: true @@ -80958,7 +81139,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': &549 + '503': &551 description: Unavailable due to service under maintenance. content: application/json: @@ -80987,8 +81168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -81036,7 +81217,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: default: value: @@ -81061,7 +81242,7 @@ paths: type: string '422': *15 '404': *6 - '503': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81089,8 +81270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -81142,7 +81323,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: example-1: summary: Example 1 @@ -81190,7 +81371,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': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81213,12 +81394,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response - '503': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81244,9 +81425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *366 - - *367 - - &750 + - *368 + - *369 + - &752 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -81260,7 +81441,7 @@ paths: application/json: schema: type: array - items: &550 + items: &552 title: Porter Author description: Porter Author type: object @@ -81314,7 +81495,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': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81339,8 +81520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *366 - - *367 + - *368 + - *369 - name: author_id in: path required: true @@ -81370,7 +81551,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -81383,7 +81564,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81407,8 +81588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -81449,7 +81630,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81477,8 +81658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -81505,11 +81686,11 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: - default: *551 + default: *553 '422': *15 - '503': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81532,8 +81713,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -81541,8 +81722,8 @@ paths: application/json: schema: *20 examples: - default: *552 - '301': *380 + default: *554 + '301': *382 '404': *6 x-github: githubCloudOnly: false @@ -81562,8 +81743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -81571,12 +81752,12 @@ paths: application/json: schema: anyOf: - - *275 + - *277 - type: object properties: {} additionalProperties: false examples: - default: &554 + default: &556 value: limit: collaborators_only origin: repository @@ -81601,13 +81782,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: application/json: - schema: *553 + schema: *555 examples: default: summary: Example request body @@ -81619,9 +81800,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *554 + default: *556 '409': description: Response x-github: @@ -81643,8 +81824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -81667,8 +81848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -81678,9 +81859,9 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: &743 + default: &745 value: - id: 1 repository: @@ -81811,9 +81992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *366 - - *367 - - *279 + - *368 + - *369 + - *281 requestBody: required: false content: @@ -81842,7 +82023,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: default: value: @@ -81973,9 +82154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *366 - - *367 - - *279 + - *368 + - *369 + - *281 responses: '204': description: Response @@ -82006,8 +82187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *366 - - *367 + - *368 + - *369 - 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 @@ -82055,7 +82236,7 @@ paths: required: false schema: type: string - - *283 + - *285 - name: sort description: What to sort results by. in: query @@ -82068,7 +82249,7 @@ paths: - comments default: created - *86 - - *139 + - *141 - *17 - *19 responses: @@ -82078,9 +82259,9 @@ paths: application/json: schema: type: array - items: *149 + items: *151 examples: - default: &564 + default: &566 value: - id: 1 node_id: MDU6SXNzdWUx @@ -82228,7 +82409,7 @@ paths: state_reason: completed headers: Link: *38 - '301': *380 + '301': *382 '422': *15 '404': *6 x-github: @@ -82257,8 +82438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -82348,9 +82529,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: &559 + default: &561 value: id: 1 node_id: MDU6SXNzdWUx @@ -82506,7 +82687,7 @@ paths: '422': *15 '503': *130 '404': *6 - '410': *377 + '410': *379 x-github: triggersNotification: true githubCloudOnly: false @@ -82534,9 +82715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *366 - - *367 - - *158 + - *368 + - *369 + - *160 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -82546,7 +82727,7 @@ paths: enum: - asc - desc - - *139 + - *141 - *17 - *19 responses: @@ -82556,9 +82737,9 @@ paths: application/json: schema: type: array - items: *556 + items: *558 examples: - default: &561 + default: &563 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -82616,17 +82797,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '200': description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: &557 + default: &559 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -82680,9 +82861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -82704,9 +82885,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *557 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -82724,9 +82905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '204': description: Response @@ -82746,9 +82927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 - 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. @@ -82774,9 +82955,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 '404': *6 @@ -82797,9 +82978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -82831,16 +83012,16 @@ paths: description: Reaction exists content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Reaction created content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -82862,10 +83043,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *366 - - *367 - - *148 - - *358 + - *368 + - *369 + - *150 + - *360 responses: '204': description: Response @@ -82885,8 +83066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -82896,7 +83077,7 @@ paths: application/json: schema: type: array - items: &558 + items: &560 title: Issue Event description: Issue Event type: object @@ -82943,7 +83124,7 @@ paths: issue: anyOf: - type: 'null' - - *149 + - *151 label: title: Issue Event Label description: Issue Event Label @@ -82976,7 +83157,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *222 + requested_team: *224 dismissed_review: title: Issue Event Dismissed Review type: object @@ -83043,7 +83224,7 @@ paths: required: - from - to - author_association: *136 + author_association: *138 lock_reason: type: - string @@ -83235,8 +83416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *366 - - *367 + - *368 + - *369 - name: event_id in: path required: true @@ -83247,7 +83428,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default: value: @@ -83440,7 +83621,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *377 + '410': *379 '403': *27 x-github: githubCloudOnly: false @@ -83474,9 +83655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *366 - - *367 - - &560 + - *368 + - *369 + - &562 name: issue_number description: The number that identifies the issue. in: path @@ -83488,12 +83669,12 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 - '301': *380 + default: *561 + '301': *382 '404': *6 - '410': *377 + '410': *379 '304': *35 x-github: githubCloudOnly: false @@ -83518,9 +83699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: false content: @@ -83638,15 +83819,15 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 '422': *15 '503': *130 '403': *27 - '301': *380 + '301': *382 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83664,9 +83845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: false content: @@ -83692,9 +83873,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83710,9 +83891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: content: application/json: @@ -83737,9 +83918,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83761,9 +83942,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: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - name: assignee in: path required: true @@ -83803,10 +83984,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *366 - - *367 - - *560 - - *139 + - *368 + - *369 + - *562 + - *141 - *17 - *19 responses: @@ -83816,13 +83997,13 @@ paths: application/json: schema: type: array - items: *556 + items: *558 examples: - default: *561 + default: *563 headers: Link: *38 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83851,9 +84032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: true content: @@ -83875,16 +84056,16 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *557 + default: *559 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *377 + '410': *379 '422': *15 '404': *6 x-github: @@ -83904,9 +84085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - *17 - *19 responses: @@ -83920,7 +84101,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &565 + - &567 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -83969,7 +84150,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &568 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -84097,7 +84278,7 @@ paths: - performed_via_github_app - assignee - assigner - - &567 + - &569 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -84143,7 +84324,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &570 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -84189,7 +84370,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &571 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -84238,7 +84419,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &572 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -84267,7 +84448,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *222 + requested_team: *224 requested_reviewer: *4 required: - review_requester @@ -84280,7 +84461,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &573 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -84309,7 +84490,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *222 + requested_team: *224 requested_reviewer: *4 required: - review_requester @@ -84322,7 +84503,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &574 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -84378,7 +84559,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &575 title: Locked Issue Event description: Locked Issue Event type: object @@ -84423,7 +84604,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &576 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -84484,7 +84665,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &577 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -84545,7 +84726,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &578 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -84606,7 +84787,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &579 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -84699,7 +84880,7 @@ paths: color: red headers: Link: *38 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84716,9 +84897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - *17 - *19 responses: @@ -84728,7 +84909,7 @@ paths: application/json: schema: type: array - items: &562 + items: &564 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -84783,7 +84964,7 @@ paths: - color - default examples: - default: &563 + default: &565 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84801,9 +84982,9 @@ paths: default: false headers: Link: *38 - '301': *380 + '301': *382 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84820,9 +85001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: false content: @@ -84881,12 +85062,12 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: *563 - '301': *380 + default: *565 + '301': *382 '404': *6 - '410': *377 + '410': *379 '422': *15 x-github: githubCloudOnly: false @@ -84903,9 +85084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: false content: @@ -84965,12 +85146,12 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: *563 - '301': *380 + default: *565 + '301': *382 '404': *6 - '410': *377 + '410': *379 '422': *15 x-github: githubCloudOnly: false @@ -84987,15 +85168,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 responses: '204': description: Response - '301': *380 + '301': *382 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85014,9 +85195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - name: name in: path required: true @@ -85029,7 +85210,7 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: default: value: @@ -85040,9 +85221,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *380 + '301': *382 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85062,9 +85243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: false content: @@ -85093,7 +85274,7 @@ paths: '204': description: Response '403': *27 - '410': *377 + '410': *379 '404': *6 '422': *15 x-github: @@ -85111,9 +85292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 responses: '204': description: Response @@ -85135,9 +85316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - 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. @@ -85163,13 +85344,13 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85187,9 +85368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: true content: @@ -85221,16 +85402,16 @@ paths: description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -85252,10 +85433,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *366 - - *367 - - *560 - - *358 + - *368 + - *369 + - *562 + - *360 responses: '204': description: Response @@ -85284,9 +85465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: true content: @@ -85308,9 +85489,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -85343,9 +85524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - *17 - *19 responses: @@ -85355,13 +85536,13 @@ paths: application/json: schema: type: array - items: *149 + items: *151 examples: - default: *564 + default: *566 headers: Link: *38 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85389,9 +85570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: true content: @@ -85418,16 +85599,16 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *377 + '410': *379 '422': *15 '404': *6 x-github: @@ -85447,9 +85628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: true content: @@ -85480,9 +85661,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 '403': *27 '404': *6 '422': *7 @@ -85504,9 +85685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - *17 - *19 responses: @@ -85521,8 +85702,6 @@ paths: description: Timeline Event type: object anyOf: - - *565 - - *566 - *567 - *568 - *569 @@ -85534,6 +85713,8 @@ paths: - *575 - *576 - *577 + - *578 + - *579 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -85581,12 +85762,12 @@ paths: issue_url: type: string format: uri - author_association: *136 + author_association: *138 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *137 + reactions: *139 required: - event - actor @@ -85617,7 +85798,7 @@ paths: properties: type: type: string - issue: *149 + issue: *151 required: - event - created_at @@ -85834,7 +86015,7 @@ paths: type: string body_text: type: string - author_association: *136 + author_association: *138 required: - event - id @@ -85857,7 +86038,7 @@ paths: type: string comments: type: array - items: &597 + items: &599 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -85962,7 +86143,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *136 + author_association: *138 _links: type: object properties: @@ -86057,7 +86238,7 @@ paths: enum: - line - file - reactions: *137 + reactions: *139 body_html: type: string examples: @@ -86095,7 +86276,7 @@ paths: type: string comments: type: array - items: *483 + items: *485 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -86370,7 +86551,7 @@ paths: headers: Link: *38 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86387,8 +86568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -86398,7 +86579,7 @@ paths: application/json: schema: type: array - items: &578 + items: &580 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -86465,8 +86646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -86502,9 +86683,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: &579 + default: &581 value: id: 1 key: ssh-rsa AAA... @@ -86538,9 +86719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *366 - - *367 - - &580 + - *368 + - *369 + - &582 name: key_id description: The unique identifier of the key. in: path @@ -86552,9 +86733,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 '404': *6 x-github: githubCloudOnly: false @@ -86572,9 +86753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *366 - - *367 - - *580 + - *368 + - *369 + - *582 responses: '204': description: Response @@ -86594,8 +86775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -86605,9 +86786,9 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: *563 + default: *565 headers: Link: *38 '404': *6 @@ -86628,8 +86809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -86665,9 +86846,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &581 + default: &583 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -86699,8 +86880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *366 - - *367 + - *368 + - *369 - name: name in: path required: true @@ -86711,9 +86892,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *581 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -86730,8 +86911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *366 - - *367 + - *368 + - *369 - name: name in: path required: true @@ -86770,7 +86951,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: default: value: @@ -86796,8 +86977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *366 - - *367 + - *368 + - *369 - name: name in: path required: true @@ -86823,8 +87004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -86860,8 +87041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '202': *37 '403': @@ -86889,8 +87070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -86916,9 +87097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *366 - - *367 - - *461 + - *368 + - *369 + - *463 responses: '200': description: Response @@ -86984,7 +87165,7 @@ paths: license: anyOf: - type: 'null' - - *150 + - *152 required: - _links - git_url @@ -87065,8 +87246,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -87131,8 +87312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -87166,9 +87347,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *484 + schema: *486 examples: - default: *582 + default: *584 '204': description: Response when already merged '404': @@ -87193,8 +87374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *366 - - *367 + - *368 + - *369 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -87235,7 +87416,7 @@ paths: application/json: schema: type: array - items: *488 + items: *490 examples: default: value: @@ -87291,8 +87472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -87332,9 +87513,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: &583 + default: &585 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -87393,9 +87574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *366 - - *367 - - &584 + - *368 + - *369 + - &586 name: milestone_number description: The number that identifies the milestone. in: path @@ -87407,9 +87588,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *583 + default: *585 '404': *6 x-github: githubCloudOnly: false @@ -87426,9 +87607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *366 - - *367 - - *584 + - *368 + - *369 + - *586 requestBody: required: false content: @@ -87466,9 +87647,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87484,9 +87665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *366 - - *367 - - *584 + - *368 + - *369 + - *586 responses: '204': description: Response @@ -87507,9 +87688,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: - - *366 - - *367 - - *584 + - *368 + - *369 + - *586 - *17 - *19 responses: @@ -87519,9 +87700,9 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: *563 + default: *565 headers: Link: *38 x-github: @@ -87540,12 +87721,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: - - *366 - - *367 - - *585 - - *586 - - *139 + - *368 + - *369 - *587 + - *588 + - *141 + - *589 - *17 - *19 responses: @@ -87555,9 +87736,9 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: - default: *588 + default: *590 headers: Link: *38 x-github: @@ -87581,8 +87762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -87640,14 +87821,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: &589 + schema: &591 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -87791,7 +87972,7 @@ paths: - custom_404 - public examples: - default: &590 + default: &592 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -87832,8 +88013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -87888,9 +88069,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: *590 + default: *592 '422': *15 '409': *94 x-github: @@ -87913,8 +88094,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -88022,8 +88203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -88049,8 +88230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -88060,7 +88241,7 @@ paths: application/json: schema: type: array - items: &591 + items: &593 title: Page Build description: Page Build type: object @@ -88152,8 +88333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *366 - - *367 + - *368 + - *369 responses: '201': description: Response @@ -88200,16 +88381,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *591 + schema: *593 examples: - default: &592 + default: &594 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -88257,8 +88438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *366 - - *367 + - *368 + - *369 - name: build_id in: path required: true @@ -88269,9 +88450,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *593 examples: - default: *592 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88291,8 +88472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -88400,9 +88581,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: - - *366 - - *367 - - &593 + - *368 + - *369 + - &595 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -88460,9 +88641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *366 - - *367 - - *593 + - *368 + - *369 + - *595 responses: '204': *116 '404': *6 @@ -88489,8 +88670,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -88758,7 +88939,7 @@ paths: description: Empty response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -88785,8 +88966,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Private vulnerability reporting status @@ -88823,8 +89004,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: - - *366 - - *367 + - *368 + - *369 responses: '204': *116 '422': *14 @@ -88845,8 +89026,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: - - *366 - - *367 + - *368 + - *369 responses: '204': *116 '422': *14 @@ -88869,8 +89050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *366 - - *367 + - *368 + - *369 - name: state description: Indicates the state of the projects to return. in: query @@ -88891,7 +89072,7 @@ paths: application/json: schema: type: array - items: *313 + items: *315 examples: default: value: @@ -88931,7 +89112,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *377 + '410': *379 '422': *7 x-github: githubCloudOnly: false @@ -88954,8 +89135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -88981,13 +89162,13 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *376 + default: *378 '401': *23 '403': *27 '404': *6 - '410': *377 + '410': *379 '422': *7 x-github: githubCloudOnly: false @@ -89010,8 +89191,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -89019,7 +89200,7 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: default: value: @@ -89050,8 +89231,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -89063,7 +89244,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *315 + items: *317 required: - properties examples: @@ -89113,8 +89294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -89174,9 +89355,9 @@ paths: application/json: schema: type: array - items: *594 + items: *596 examples: - default: *595 + default: *597 headers: Link: *38 '304': *35 @@ -89208,8 +89389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -89276,7 +89457,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &601 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -89405,7 +89586,7 @@ paths: milestone: anyOf: - type: 'null' - - *488 + - *490 active_lock_reason: type: - string @@ -89460,7 +89641,7 @@ paths: type: - array - 'null' - items: *295 + items: *297 head: type: object properties: @@ -89498,14 +89679,14 @@ paths: _links: type: object properties: - comments: *489 - commits: *489 - statuses: *489 - html: *489 - issue: *489 - review_comments: *489 - review_comment: *489 - self: *489 + comments: *491 + commits: *491 + statuses: *491 + html: *491 + issue: *491 + review_comments: *491 + review_comment: *491 + self: *491 required: - comments - commits @@ -89515,8 +89696,8 @@ paths: - review_comments - review_comment - self - author_association: *136 - auto_merge: *596 + author_association: *138 + auto_merge: *598 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -89618,7 +89799,7 @@ paths: - merged_by - review_comments examples: - default: &600 + default: &602 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -90145,8 +90326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *366 - - *367 + - *368 + - *369 - name: sort in: query required: false @@ -90165,7 +90346,7 @@ paths: enum: - asc - desc - - *139 + - *141 - *17 - *19 responses: @@ -90175,9 +90356,9 @@ paths: application/json: schema: type: array - items: *597 + items: *599 examples: - default: &602 + default: &604 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -90254,17 +90435,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: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '200': description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: &598 + default: &600 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -90339,9 +90520,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: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -90363,9 +90544,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90381,9 +90562,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: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '204': description: Response @@ -90404,9 +90585,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: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 - 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. @@ -90432,9 +90613,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 '404': *6 @@ -90455,9 +90636,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: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -90489,16 +90670,16 @@ paths: description: Reaction exists content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Reaction created content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -90520,10 +90701,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *366 - - *367 - - *148 - - *358 + - *368 + - *369 + - *150 + - *360 responses: '204': description: Response @@ -90566,9 +90747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *366 - - *367 - - &601 + - *368 + - *369 + - &603 name: pull_number description: The number that identifies the pull request. in: path @@ -90581,9 +90762,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *599 + schema: *601 examples: - default: *600 + default: *602 '304': *35 '404': *6 '406': @@ -90618,9 +90799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: false content: @@ -90662,9 +90843,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *601 examples: - default: *600 + default: *602 '422': *15 '403': *27 x-github: @@ -90686,9 +90867,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: true content: @@ -90749,17 +90930,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '401': *23 '403': *27 '404': *6 @@ -90789,10 +90970,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: - - *366 - - *367 - - *601 - - *158 + - *368 + - *369 + - *603 + - *160 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -90802,7 +90983,7 @@ paths: enum: - asc - desc - - *139 + - *141 - *17 - *19 responses: @@ -90812,9 +90993,9 @@ paths: application/json: schema: type: array - items: *597 + items: *599 examples: - default: *602 + default: *604 headers: Link: *38 x-github: @@ -90847,9 +91028,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: true content: @@ -90955,7 +91136,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: example-for-a-multi-line-comment: value: @@ -91043,10 +91224,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: - - *366 - - *367 - - *601 - - *148 + - *368 + - *369 + - *603 + - *150 requestBody: required: true content: @@ -91068,7 +91249,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: default: value: @@ -91154,9 +91335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 - *17 - *19 responses: @@ -91166,9 +91347,9 @@ paths: application/json: schema: type: array - items: *484 + items: *486 examples: - default: *603 + default: *605 headers: Link: *38 x-github: @@ -91198,9 +91379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 - *17 - *19 responses: @@ -91210,7 +91391,7 @@ paths: application/json: schema: type: array - items: *496 + items: *498 examples: default: value: @@ -91248,9 +91429,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 responses: '204': description: Response if pull request has been merged @@ -91273,9 +91454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: false content: @@ -91387,9 +91568,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 responses: '200': description: Response @@ -91405,7 +91586,7 @@ paths: items: *4 teams: type: array - items: *222 + items: *224 required: - users - teams @@ -91464,9 +91645,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: false content: @@ -91503,7 +91684,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: default: value: @@ -92039,9 +92220,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: true content: @@ -92075,7 +92256,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: default: value: @@ -92580,9 +92761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 - *17 - *19 responses: @@ -92592,7 +92773,7 @@ paths: application/json: schema: type: array - items: &604 + items: &606 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -92666,7 +92847,7 @@ paths: type: string body_text: type: string - author_association: *136 + author_association: *138 required: - id - node_id @@ -92748,9 +92929,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: false content: @@ -92840,9 +93021,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: &606 + default: &608 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92905,10 +93086,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: - - *366 - - *367 - - *601 - - &605 + - *368 + - *369 + - *603 + - &607 name: review_id description: The unique identifier of the review. in: path @@ -92920,9 +93101,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: &607 + default: &609 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92981,10 +93162,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: - - *366 - - *367 - - *601 - - *605 + - *368 + - *369 + - *603 + - *607 requestBody: required: true content: @@ -93007,7 +93188,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -93069,18 +93250,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: - - *366 - - *367 - - *601 - - *605 + - *368 + - *369 + - *603 + - *607 responses: '200': description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *606 + default: *608 '422': *7 '404': *6 x-github: @@ -93107,10 +93288,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: - - *366 - - *367 - - *601 - - *605 + - *368 + - *369 + - *603 + - *607 - *17 - *19 responses: @@ -93204,13 +93385,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *136 + author_association: *138 _links: type: object properties: - self: *489 - html: *489 - pull_request: *489 + self: *491 + html: *491 + pull_request: *491 required: - self - html @@ -93219,7 +93400,7 @@ paths: type: string body_html: type: string - reactions: *137 + reactions: *139 side: description: The side of the first line of the range for a multi-line comment. @@ -93368,10 +93549,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: - - *366 - - *367 - - *601 - - *605 + - *368 + - *369 + - *603 + - *607 requestBody: required: true content: @@ -93400,7 +93581,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -93463,10 +93644,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: - - *366 - - *367 - - *601 - - *605 + - *368 + - *369 + - *603 + - *607 requestBody: required: true content: @@ -93501,9 +93682,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *607 + default: *609 '404': *6 '422': *7 '403': *27 @@ -93525,9 +93706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: false content: @@ -93591,8 +93772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *366 - - *367 + - *368 + - *369 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -93605,9 +93786,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: &609 + default: &611 value: type: file encoding: base64 @@ -93649,8 +93830,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: - - *366 - - *367 + - *368 + - *369 - name: dir description: The alternate path to look for a README file in: path @@ -93670,9 +93851,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *609 + default: *611 '404': *6 '422': *15 x-github: @@ -93694,8 +93875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -93705,7 +93886,7 @@ paths: application/json: schema: type: array - items: &610 + items: &612 title: Release description: A release. type: object @@ -93777,7 +93958,7 @@ paths: author: *4 assets: type: array - items: &611 + items: &613 title: Release Asset description: Data related to a release. type: object @@ -93852,7 +94033,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *137 + reactions: *139 required: - assets_url - upload_url @@ -93963,8 +94144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -94040,9 +94221,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: &614 + default: &616 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -94146,9 +94327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *366 - - *367 - - &612 + - *368 + - *369 + - &614 name: asset_id description: The unique identifier of the asset. in: path @@ -94160,9 +94341,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *613 examples: - default: &613 + default: &615 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 @@ -94197,7 +94378,7 @@ paths: type: User site_admin: false '404': *6 - '302': *498 + '302': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94213,9 +94394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *366 - - *367 - - *612 + - *368 + - *369 + - *614 requestBody: required: false content: @@ -94244,9 +94425,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *613 examples: - default: *613 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94262,9 +94443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *366 - - *367 - - *612 + - *368 + - *369 + - *614 responses: '204': description: Response @@ -94288,8 +94469,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -94375,16 +94556,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94401,8 +94582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *366 - - *367 + - *368 + - *369 - name: tag description: tag parameter in: path @@ -94415,9 +94596,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 '404': *6 x-github: githubCloudOnly: false @@ -94439,9 +94620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *366 - - *367 - - &615 + - *368 + - *369 + - &617 name: release_id description: The unique identifier of the release. in: path @@ -94455,9 +94636,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: *610 + schema: *612 examples: - default: *614 + default: *616 '401': description: Unauthorized x-github: @@ -94475,9 +94656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 requestBody: required: false content: @@ -94541,9 +94722,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 '404': description: Not Found if the discussion category name is invalid content: @@ -94564,9 +94745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 responses: '204': description: Response @@ -94586,9 +94767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 - *17 - *19 responses: @@ -94598,7 +94779,7 @@ paths: application/json: schema: type: array - items: *611 + items: *613 examples: default: value: @@ -94680,9 +94861,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: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 - name: name in: query required: true @@ -94708,7 +94889,7 @@ paths: description: Response for successful upload content: application/json: - schema: *611 + schema: *613 examples: response-for-successful-upload: value: @@ -94763,9 +94944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 - 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. @@ -94789,9 +94970,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 '404': *6 @@ -94812,9 +94993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 requestBody: required: true content: @@ -94844,16 +95025,16 @@ paths: description: Reaction exists content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Reaction created content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -94875,10 +95056,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *366 - - *367 - - *615 - - *358 + - *368 + - *369 + - *617 + - *360 responses: '204': description: Response @@ -94902,9 +95083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 - *17 - *19 responses: @@ -94920,8 +95101,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *616 - - &618 + - *618 + - &620 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -94940,66 +95121,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *617 - - *618 - allOf: - *619 - - *618 - - allOf: - *620 - - *618 - allOf: - *621 - - *618 + - *620 - allOf: - *622 - - *618 + - *620 - allOf: - *623 - - *618 + - *620 - allOf: - *624 - - *618 + - *620 - allOf: - *625 - - *618 + - *620 - allOf: - *626 - - *618 + - *620 - allOf: - *627 - - *618 + - *620 - allOf: - *628 - - *618 + - *620 - allOf: - *629 - - *618 + - *620 - allOf: - *630 - - *618 + - *620 - allOf: - *631 - - *618 + - *620 - allOf: - *632 - - *618 + - *620 - allOf: - *633 - - *618 + - *620 - allOf: - *634 - - *618 + - *620 - allOf: - *635 - - *618 + - *620 - allOf: - *636 - - *618 + - *620 - allOf: - *637 - - *618 + - *620 + - allOf: + - *638 + - *620 + - allOf: + - *639 + - *620 examples: default: value: @@ -95038,8 +95219,8 @@ paths: category: repos subcategory: rules parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 - name: includes_parents @@ -95050,7 +95231,7 @@ paths: schema: type: boolean default: true - - *638 + - *640 responses: '200': description: Response @@ -95105,8 +95286,8 @@ paths: category: repos subcategory: rules parameters: - - *366 - - *367 + - *368 + - *369 requestBody: description: Request body required: true @@ -95168,7 +95349,7 @@ paths: application/json: schema: *126 examples: - default: &647 + default: &649 value: id: 42 name: super cool ruleset @@ -95215,12 +95396,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *366 - - *367 - - *639 - - *216 - - *640 + - *368 + - *369 - *641 + - *218 + - *642 + - *643 - *17 - *19 responses: @@ -95228,9 +95409,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *644 examples: - default: *643 + default: *645 '404': *6 '500': *83 x-github: @@ -95251,17 +95432,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *366 - - *367 - - *644 + - *368 + - *369 + - *646 responses: '200': description: Response content: application/json: - schema: *645 + schema: *647 examples: - default: *646 + default: *648 '404': *6 '500': *83 x-github: @@ -95289,8 +95470,8 @@ paths: category: repos subcategory: rules parameters: - - *366 - - *367 + - *368 + - *369 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95312,7 +95493,7 @@ paths: application/json: schema: *126 examples: - default: *647 + default: *649 '404': *6 '500': *83 put: @@ -95330,8 +95511,8 @@ paths: category: repos subcategory: rules parameters: - - *366 - - *367 + - *368 + - *369 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95395,7 +95576,7 @@ paths: application/json: schema: *126 examples: - default: *647 + default: *649 '404': *6 '500': *83 delete: @@ -95413,8 +95594,8 @@ paths: category: repos subcategory: rules parameters: - - *366 - - *367 + - *368 + - *369 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95437,8 +95618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 - name: ruleset_id @@ -95456,7 +95637,7 @@ paths: type: array items: *129 examples: - default: *321 + default: *323 '404': *6 '500': *83 x-github: @@ -95475,8 +95656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *366 - - *367 + - *368 + - *369 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95494,7 +95675,7 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: default: value: @@ -95549,21 +95730,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: - - *366 - - *367 - - *323 - - *324 + - *368 + - *369 - *325 - *326 + - *327 + - *328 - *86 - *19 - *17 - - *648 - - *649 - - *327 - - *328 + - *650 + - *651 - *329 - *330 + - *331 + - *332 responses: '200': description: Response @@ -95571,7 +95752,7 @@ paths: application/json: schema: type: array - items: &653 + items: &655 type: object properties: number: *96 @@ -95587,8 +95768,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *650 - resolution: *651 + state: *652 + resolution: *653 resolved_at: type: - string @@ -95682,7 +95863,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *652 + - *654 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -95831,16 +96012,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: - - *366 - - *367 - - *455 - - *330 + - *368 + - *369 + - *457 + - *332 responses: '200': description: Response content: application/json: - schema: *653 + schema: *655 examples: default: value: @@ -95892,9 +96073,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 requestBody: required: true content: @@ -95902,8 +96083,8 @@ paths: schema: type: object properties: - state: *650 - resolution: *651 + state: *652 + resolution: *653 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -95922,7 +96103,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *655 examples: default: value: @@ -95997,9 +96178,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 - *19 - *17 responses: @@ -96010,7 +96191,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &825 + items: &827 type: object properties: type: @@ -96037,8 +96218,6 @@ paths: - commit details: oneOf: - - *654 - - *655 - *656 - *657 - *658 @@ -96050,6 +96229,8 @@ paths: - *664 - *665 - *666 + - *667 + - *668 examples: default: value: @@ -96135,8 +96316,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -96144,14 +96325,14 @@ paths: schema: type: object properties: - reason: &668 + reason: &670 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *667 + placeholder_id: *669 required: - reason - placeholder_id @@ -96168,7 +96349,7 @@ paths: schema: type: object properties: - reason: *668 + reason: *670 expire_at: type: - string @@ -96212,8 +96393,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: - - *366 - - *367 + - *368 + - *369 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -96228,7 +96409,7 @@ paths: properties: incremental_scans: type: array - items: &669 + items: &671 description: Information on a single scan performed by secret scanning on the repository type: object @@ -96256,15 +96437,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *669 + items: *671 backfill_scans: type: array - items: *669 + items: *671 custom_pattern_backfill_scans: type: array items: allOf: - - *669 + - *671 - type: object properties: pattern_name: @@ -96334,8 +96515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *366 - - *367 + - *368 + - *369 - *86 - name: sort description: The property to sort the results by. @@ -96379,9 +96560,9 @@ paths: application/json: schema: type: array - items: *670 + items: *672 examples: - default: *671 + default: *673 '400': *14 '404': *6 x-github: @@ -96404,8 +96585,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -96485,7 +96666,7 @@ paths: login: type: string description: The username of the user credited. - type: *333 + type: *335 required: - login - type @@ -96575,9 +96756,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *672 examples: - default: &673 + default: &675 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -96810,8 +96991,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -96924,7 +97105,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *672 examples: default: value: @@ -97071,17 +97252,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: - - *366 - - *367 - - *672 + - *368 + - *369 + - *674 responses: '200': description: Response content: application/json: - schema: *670 + schema: *672 examples: - default: *673 + default: *675 '403': *27 '404': *6 x-github: @@ -97105,9 +97286,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: - - *366 - - *367 - - *672 + - *368 + - *369 + - *674 requestBody: required: true content: @@ -97187,7 +97368,7 @@ paths: login: type: string description: The username of the user credited. - type: *333 + type: *335 required: - login - type @@ -97278,17 +97459,17 @@ paths: description: Response content: application/json: - schema: *670 + schema: *672 examples: - default: *673 - add_credit: *673 + default: *675 + add_credit: *675 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *174 + schema: *176 examples: invalid_state_transition: value: @@ -97319,9 +97500,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: - - *366 - - *367 - - *672 + - *368 + - *369 + - *674 responses: '202': *37 '400': *14 @@ -97348,17 +97529,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: - - *366 - - *367 - - *672 + - *368 + - *369 + - *674 responses: '202': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *381 + default: *383 '400': *14 '422': *15 '403': *27 @@ -97384,8 +97565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -97481,8 +97662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -97491,7 +97672,7 @@ paths: application/json: schema: type: array - items: &674 + items: &676 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -97524,8 +97705,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -97603,8 +97784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -97698,8 +97879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -97853,8 +98034,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -97864,7 +98045,7 @@ paths: application/json: schema: type: array - items: *674 + items: *676 examples: default: value: @@ -97897,8 +98078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *366 - - *367 + - *368 + - *369 - name: sha in: path required: true @@ -97954,7 +98135,7 @@ paths: description: Response content: application/json: - schema: *675 + schema: *677 examples: default: value: @@ -98008,8 +98189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -98021,7 +98202,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -98041,14 +98222,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &676 + schema: &678 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -98121,8 +98302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -98148,7 +98329,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *678 examples: default: value: @@ -98175,8 +98356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -98196,8 +98377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -98279,8 +98460,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -98288,7 +98469,7 @@ paths: application/json: schema: type: array - items: &677 + items: &679 title: Tag protection description: Tag protection type: object @@ -98345,8 +98526,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -98369,7 +98550,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *679 examples: default: value: @@ -98400,8 +98581,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: - - *366 - - *367 + - *368 + - *369 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -98438,8 +98619,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *366 - - *367 + - *368 + - *369 - name: ref in: path required: true @@ -98475,8 +98656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -98486,9 +98667,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 headers: Link: *38 '404': *6 @@ -98508,8 +98689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *366 - - *367 + - *368 + - *369 - *19 - *17 responses: @@ -98517,7 +98698,7 @@ paths: description: Response content: application/json: - schema: &678 + schema: &680 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -98529,7 +98710,7 @@ paths: required: - names examples: - default: &679 + default: &681 value: names: - octocat @@ -98552,8 +98733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -98584,9 +98765,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: *679 + default: *681 '404': *6 '422': *7 x-github: @@ -98607,9 +98788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *366 - - *367 - - &680 + - *368 + - *369 + - &682 name: per description: The time frame to display results for. in: query @@ -98640,7 +98821,7 @@ paths: - 128 clones: type: array - items: &681 + items: &683 title: Traffic type: object properties: @@ -98727,8 +98908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -98822,8 +99003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -98886,9 +99067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *366 - - *367 - - *680 + - *368 + - *369 + - *682 responses: '200': description: Response @@ -98909,7 +99090,7 @@ paths: - 3782 views: type: array - items: *681 + items: *683 required: - uniques - count @@ -98986,8 +99167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -99023,7 +99204,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *193 examples: default: value: @@ -99261,8 +99442,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -99285,8 +99466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -99308,8 +99489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -99335,8 +99516,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *366 - - *367 + - *368 + - *369 - name: ref in: path required: true @@ -99428,9 +99609,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *381 + default: *383 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99471,7 +99652,7 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: default: value: @@ -99581,7 +99762,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &689 + - &691 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -99591,7 +99772,7 @@ paths: type: string examples: - members - - &694 + - &696 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -99603,7 +99784,7 @@ paths: format: int32 examples: - 1 - - &695 + - &697 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -99647,7 +99828,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &683 + items: &685 allOf: - type: object required: @@ -99729,7 +99910,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: &696 + meta: &698 type: object description: The metadata associated with the creation/updates to the user. @@ -99794,31 +99975,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &684 + '400': &686 description: Bad request content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 - '401': &685 + schema: *684 + '401': &687 description: Authorization failure - '403': &686 + '403': &688 description: Permission denied - '429': &687 + '429': &689 description: Too many requests content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 - '500': &688 + schema: *684 + '500': &690 description: Internal server error content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 + schema: *684 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99842,7 +100023,7 @@ paths: required: true content: application/json: - schema: &692 + schema: &694 type: object required: - schemas @@ -99902,9 +100083,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *683 + schema: *685 examples: - group: &690 + group: &692 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -99923,13 +100104,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': *684 - '401': *685 - '403': *686 - '409': &693 + '400': *686 + '401': *687 + '403': *688 + '409': &695 description: Duplicate record detected - '429': *687 - '500': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99946,7 +100127,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: - - &691 + - &693 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -99955,22 +100136,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *689 + - *691 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *683 + schema: *685 examples: - default: *690 - '400': *684 - '401': *685 - '403': *686 + default: *692 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '429': *687 - '500': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99989,13 +100170,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: - - *691 + - *693 - *39 requestBody: required: true content: application/json: - schema: *692 + schema: *694 examples: group: summary: Group @@ -100021,17 +100202,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *683 + schema: *685 examples: - group: *690 - groupWithMembers: *690 - '400': *684 - '401': *685 - '403': *686 + group: *692 + groupWithMembers: *692 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '409': *693 - '429': *687 - '500': *688 + '409': *695 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100055,13 +100236,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: - - *691 + - *693 - *39 requestBody: required: true content: application/json: - schema: &703 + schema: &705 type: object required: - Operations @@ -100121,17 +100302,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *683 + schema: *685 examples: - updateGroup: *690 - addMembers: *690 - '400': *684 - '401': *685 - '403': *686 + updateGroup: *692 + addMembers: *692 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '409': *693 - '429': *687 - '500': *688 + '409': *695 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100147,17 +100328,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: - - *691 + - *693 - *39 responses: '204': description: Group was deleted, no content - '400': *684 - '401': *685 - '403': *686 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '429': *687 - '500': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100191,8 +100372,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *694 - - *695 + - *696 + - *697 - *39 responses: '200': @@ -100226,7 +100407,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &698 + items: &700 allOf: - type: object required: @@ -100318,7 +100499,7 @@ paths: address. examples: - true - roles: &697 + roles: &699 type: array description: The roles assigned to the user. items: @@ -100377,7 +100558,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *696 + meta: *698 startIndex: type: integer description: A starting index for the returned page @@ -100416,11 +100597,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *684 - '401': *685 - '403': *686 - '429': *687 - '500': *688 + '400': *686 + '401': *687 + '403': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100444,7 +100625,7 @@ paths: required: true content: application/json: - schema: &701 + schema: &703 type: object required: - schemas @@ -100537,9 +100718,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *697 + roles: *699 examples: - user: &702 + user: &704 summary: User value: schemas: @@ -100586,9 +100767,9 @@ paths: description: User has been created content: application/scim+json: - schema: *698 + schema: *700 examples: - user: &699 + user: &701 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -100614,13 +100795,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: *699 - '400': *684 - '401': *685 - '403': *686 - '409': *693 - '429': *687 - '500': *688 + enterpriseOwner: *701 + '400': *686 + '401': *687 + '403': *688 + '409': *695 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100637,7 +100818,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: - - &700 + - &702 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -100650,15 +100831,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *698 + schema: *700 examples: - default: *699 - '400': *684 - '401': *685 - '403': *686 + default: *701 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '429': *687 - '500': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100680,30 +100861,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: - - *700 + - *702 - *39 requestBody: required: true content: application/json: - schema: *701 + schema: *703 examples: - user: *702 + user: *704 responses: '200': description: User was updated content: application/scim+json: - schema: *698 + schema: *700 examples: - user: *699 - '400': *684 - '401': *685 - '403': *686 + user: *701 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '409': *693 - '429': *687 - '500': *688 + '409': *695 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100738,13 +100919,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: - - *700 + - *702 - *39 requestBody: required: true content: application/json: - schema: *703 + schema: *705 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -100784,18 +100965,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *698 + schema: *700 examples: - userMultiValuedProperties: *699 - userSingleValuedProperties: *699 - disableUser: *699 - '400': *684 - '401': *685 - '403': *686 + userMultiValuedProperties: *701 + userSingleValuedProperties: *701 + disableUser: *701 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '409': *693 - '429': *687 - '500': *688 + '409': *695 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100815,17 +100996,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: - - *700 + - *702 - *39 responses: '204': description: User was deleted, no content - '400': *684 - '401': *685 - '403': *686 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '429': *687 - '500': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100858,7 +101039,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *165 + - *167 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -100916,7 +101097,7 @@ paths: - 1 Resources: type: array - items: &704 + items: &706 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -101163,22 +101344,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': *35 - '404': &705 + '404': &707 description: Resource not found content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 - '403': &706 + schema: *684 + '403': &708 description: Forbidden content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 - '400': *684 - '429': *687 + schema: *684 + '400': *686 + '429': *689 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -101198,15 +101379,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *165 + - *167 responses: '201': description: Response content: application/scim+json: - schema: *704 + schema: *706 examples: - default: &707 + default: &709 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -101229,17 +101410,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': *35 - '404': *705 - '403': *706 - '500': *688 + '404': *707 + '403': *708 + '500': *690 '409': description: Conflict content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 - '400': *684 + schema: *684 + '400': *686 requestBody: required: true content: @@ -101338,18 +101519,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: - - *165 - - *700 + - *167 + - *702 responses: '200': description: Response content: application/scim+json: - schema: *704 + schema: *706 examples: - default: *707 - '404': *705 - '403': *706 + default: *709 + '404': *707 + '403': *708 '304': *35 x-github: githubCloudOnly: true @@ -101372,19 +101553,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *165 - - *700 + - *167 + - *702 responses: '200': description: Response content: application/scim+json: - schema: *704 + schema: *706 examples: - default: *707 + default: *709 '304': *35 - '404': *705 - '403': *706 + '404': *707 + '403': *708 requestBody: required: true content: @@ -101498,20 +101679,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: - - *165 - - *700 + - *167 + - *702 responses: '200': description: Response content: application/scim+json: - schema: *704 + schema: *706 examples: - default: *707 + default: *709 '304': *35 - '404': *705 - '403': *706 - '400': *684 + '404': *707 + '403': *708 + '400': *686 '429': description: Response content: @@ -101606,13 +101787,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: - - *165 - - *700 + - *167 + - *702 responses: '204': description: Response - '404': *705 - '403': *706 + '404': *707 + '403': *708 '304': *35 x-github: githubCloudOnly: true @@ -101727,7 +101908,7 @@ paths: html_url: type: string format: uri - repository: *191 + repository: *193 score: type: number file_size: @@ -101746,7 +101927,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &708 + text_matches: &710 title: Search Result Text Matches type: array items: @@ -101910,7 +102091,7 @@ paths: enum: - author-date - committer-date - - &709 + - &711 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 @@ -101979,7 +102160,7 @@ paths: committer: anyOf: - type: 'null' - - *423 + - *425 comment_count: type: integer message: @@ -101998,7 +102179,7 @@ paths: url: type: string format: uri - verification: *542 + verification: *544 required: - author - committer @@ -102013,7 +102194,7 @@ paths: committer: anyOf: - type: 'null' - - *423 + - *425 parents: type: array items: @@ -102025,12 +102206,12 @@ paths: type: string sha: type: string - repository: *191 + repository: *193 score: type: number node_id: type: string - text_matches: *708 + text_matches: *710 required: - sha - node_id @@ -102213,7 +102394,7 @@ paths: - interactions - created - updated - - *709 + - *711 - *17 - *19 - name: advanced_search @@ -102337,7 +102518,7 @@ paths: milestone: anyOf: - type: 'null' - - *488 + - *490 comments: type: integer created_at: @@ -102351,7 +102532,7 @@ paths: - string - 'null' format: date-time - text_matches: *708 + text_matches: *710 pull_request: type: object properties: @@ -102389,7 +102570,7 @@ paths: type: string score: type: number - author_association: *136 + author_association: *138 draft: type: boolean repository: *62 @@ -102400,12 +102581,12 @@ paths: timeline_url: type: string format: uri - type: *280 + type: *282 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *137 + reactions: *139 required: - assignee - closed_at @@ -102577,7 +102758,7 @@ paths: enum: - created - updated - - *709 + - *711 - *17 - *19 responses: @@ -102622,7 +102803,7 @@ paths: - 'null' score: type: number - text_matches: *708 + text_matches: *710 required: - id - node_id @@ -102708,7 +102889,7 @@ paths: - forks - help-wanted-issues - updated - - *709 + - *711 - *17 - *19 responses: @@ -102927,7 +103108,7 @@ paths: license: anyOf: - type: 'null' - - *150 + - *152 permissions: type: object properties: @@ -102945,7 +103126,7 @@ paths: - admin - pull - push - text_matches: *708 + text_matches: *710 temp_clone_token: type: string allow_merge_commit: @@ -103254,7 +103435,7 @@ paths: - string - 'null' format: uri - text_matches: *708 + text_matches: *710 related: type: - array @@ -103449,7 +103630,7 @@ paths: - followers - repositories - joined - - *709 + - *711 - *17 - *19 responses: @@ -103559,7 +103740,7 @@ paths: type: - boolean - 'null' - text_matches: *708 + text_matches: *710 blog: type: - string @@ -103641,7 +103822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &710 + - &712 name: team_id description: The unique identifier of the team. in: path @@ -103653,9 +103834,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '404': *6 x-github: githubCloudOnly: false @@ -103682,7 +103863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *710 + - *712 requestBody: required: true content: @@ -103746,16 +103927,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '201': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '404': *6 '422': *15 '403': *27 @@ -103783,7 +103964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *710 + - *712 responses: '204': description: Response @@ -103814,7 +103995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *710 + - *712 - *86 - *17 - *19 @@ -103825,9 +104006,9 @@ paths: application/json: schema: type: array - items: *349 + items: *351 examples: - default: *711 + default: *713 headers: Link: *38 x-github: @@ -103856,7 +104037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *710 + - *712 requestBody: required: true content: @@ -103890,9 +104071,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 x-github: triggersNotification: true githubCloudOnly: false @@ -103919,16 +104100,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *710 - - *351 + - *712 + - *353 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103953,8 +104134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *710 - - *351 + - *712 + - *353 requestBody: required: false content: @@ -103977,9 +104158,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *712 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104004,8 +104185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *710 - - *351 + - *712 + - *353 responses: '204': description: Response @@ -104034,8 +104215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *710 - - *351 + - *712 + - *353 - *86 - *17 - *19 @@ -104046,9 +104227,9 @@ paths: application/json: schema: type: array - items: *352 + items: *354 examples: - default: *713 + default: *715 headers: Link: *38 x-github: @@ -104077,8 +104258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *710 - - *351 + - *712 + - *353 requestBody: required: true content: @@ -104100,9 +104281,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: triggersNotification: true githubCloudOnly: false @@ -104129,17 +104310,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *710 - - *351 - - *354 + - *712 + - *353 + - *356 responses: '200': description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104164,9 +104345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *710 - - *351 - - *354 + - *712 + - *353 + - *356 requestBody: required: true content: @@ -104188,9 +104369,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *714 + default: *716 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104215,9 +104396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *710 - - *351 - - *354 + - *712 + - *353 + - *356 responses: '204': description: Response @@ -104246,9 +104427,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: - - *710 - - *351 - - *354 + - *712 + - *353 + - *356 - 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. @@ -104274,9 +104455,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 x-github: @@ -104305,9 +104486,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: - - *710 - - *351 - - *354 + - *712 + - *353 + - *356 requestBody: required: true content: @@ -104339,9 +104520,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104367,8 +104548,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: - - *710 - - *351 + - *712 + - *353 - 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. @@ -104394,9 +104575,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 x-github: @@ -104425,8 +104606,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: - - *710 - - *351 + - *712 + - *353 requestBody: required: true content: @@ -104458,9 +104639,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104484,7 +104665,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *710 + - *712 - *17 - *19 responses: @@ -104494,9 +104675,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 headers: Link: *38 x-github: @@ -104522,7 +104703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *710 + - *712 - name: role description: Filters members returned by their role in the team. in: query @@ -104545,7 +104726,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '404': *6 @@ -104573,8 +104754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *710 - - *213 + - *712 + - *215 responses: '204': description: if user is a member @@ -104610,8 +104791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *710 - - *213 + - *712 + - *215 responses: '204': description: Response @@ -104650,8 +104831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *710 - - *213 + - *712 + - *215 responses: '204': description: Response @@ -104687,16 +104868,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: - - *710 - - *213 + - *712 + - *215 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - response-if-user-is-a-team-maintainer: *715 + response-if-user-is-a-team-maintainer: *717 '404': *6 x-github: githubCloudOnly: false @@ -104729,8 +104910,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: - - *710 - - *213 + - *712 + - *215 requestBody: required: false content: @@ -104755,9 +104936,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *365 examples: - response-if-users-membership-with-team-is-now-pending: *716 + response-if-users-membership-with-team-is-now-pending: *718 '403': description: Forbidden if team synchronization is set up '422': @@ -104791,8 +104972,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: - - *710 - - *213 + - *712 + - *215 responses: '204': description: Response @@ -104820,7 +105001,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *710 + - *712 - *17 - *19 responses: @@ -104830,9 +105011,9 @@ paths: application/json: schema: type: array - items: *364 + items: *366 examples: - default: *717 + default: *719 headers: Link: *38 '404': *6 @@ -104858,16 +105039,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: - - *710 - - *365 + - *712 + - *367 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *718 + default: *720 '404': description: Not Found if project is not managed by this team x-github: @@ -104891,8 +105072,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: - - *710 - - *365 + - *712 + - *367 requestBody: required: false content: @@ -104959,8 +105140,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: - - *710 - - *365 + - *712 + - *367 responses: '204': description: Response @@ -104987,7 +105168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *710 + - *712 - *17 - *19 responses: @@ -104997,9 +105178,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 '404': *6 @@ -105029,15 +105210,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: - - *710 - - *366 - - *367 + - *712 + - *368 + - *369 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *719 + schema: *721 examples: alternative-response-with-extra-repository-information: value: @@ -105188,9 +105369,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: - - *710 - - *366 - - *367 + - *712 + - *368 + - *369 requestBody: required: false content: @@ -105240,9 +105421,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: - - *710 - - *366 - - *367 + - *712 + - *368 + - *369 responses: '204': description: Response @@ -105271,15 +105452,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: - - *710 + - *712 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '403': *27 '404': *6 x-github: @@ -105306,7 +105487,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: - - *710 + - *712 requestBody: required: true content: @@ -105367,7 +105548,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: default: value: @@ -105398,7 +105579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *710 + - *712 - *17 - *19 responses: @@ -105408,9 +105589,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - response-if-child-teams-exist: *720 + response-if-child-teams-exist: *722 headers: Link: *38 '404': *6 @@ -105443,7 +105624,7 @@ paths: application/json: schema: oneOf: - - &722 + - &724 title: Private User description: Private User type: object @@ -105693,7 +105874,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *721 + - *723 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -105853,7 +106034,7 @@ paths: description: Response content: application/json: - schema: *722 + schema: *724 examples: default: value: @@ -105932,7 +106113,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 '304': *35 '404': *6 '403': *27 @@ -105955,7 +106136,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: - - *213 + - *215 responses: '204': description: If the user is blocked @@ -105983,7 +106164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *213 + - *215 responses: '204': description: Response @@ -106007,7 +106188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *213 + - *215 responses: '204': description: Response @@ -106056,9 +106237,9 @@ paths: type: integer codespaces: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 '304': *35 '500': *83 '401': *23 @@ -106197,17 +106378,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '401': *23 '403': *27 '404': *6 @@ -106251,7 +106432,7 @@ paths: type: integer secrets: type: array - items: &723 + items: &725 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -106293,7 +106474,7 @@ paths: - visibility - selected_repositories_url examples: - default: *477 + default: *479 headers: Link: *38 x-github: @@ -106365,13 +106546,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: - - *201 + - *203 responses: '200': description: Response content: application/json: - schema: *723 + schema: *725 examples: default: value: @@ -106401,7 +106582,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: - - *201 + - *203 requestBody: required: true content: @@ -106446,7 +106627,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -106474,7 +106655,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: - - *201 + - *203 responses: '204': description: Response @@ -106499,7 +106680,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: - - *201 + - *203 responses: '200': description: Response @@ -106515,9 +106696,9 @@ paths: type: integer repositories: type: array - items: *191 + items: *193 examples: - default: *724 + default: *726 '401': *23 '403': *27 '404': *6 @@ -106542,7 +106723,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: - - *201 + - *203 requestBody: required: true content: @@ -106596,7 +106777,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: - - *201 + - *203 - name: repository_id in: path required: true @@ -106629,7 +106810,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: - - *201 + - *203 - name: repository_id in: path required: true @@ -106661,15 +106842,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: - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '304': *35 '500': *83 '401': *23 @@ -106695,7 +106876,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: - - *288 + - *290 requestBody: required: false content: @@ -106725,9 +106906,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '401': *23 '403': *27 '404': *6 @@ -106749,7 +106930,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: - - *288 + - *290 responses: '202': *37 '304': *35 @@ -106778,13 +106959,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: - - *288 + - *290 responses: '202': description: Response content: application/json: - schema: &725 + schema: &727 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -106837,7 +107018,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &726 + default: &728 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -106869,7 +107050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *288 + - *290 - name: export_id in: path required: true @@ -106882,9 +107063,9 @@ paths: description: Response content: application/json: - schema: *725 + schema: *727 examples: - default: *726 + default: *728 '404': *6 x-github: githubCloudOnly: false @@ -106905,7 +107086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *288 + - *290 responses: '200': description: Response @@ -106921,9 +107102,9 @@ paths: type: integer machines: type: array - items: *476 + items: *478 examples: - default: *727 + default: *729 '304': *35 '500': *83 '401': *23 @@ -106952,7 +107133,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: - - *288 + - *290 requestBody: required: true content: @@ -107008,11 +107189,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *379 + repository: *381 machine: anyOf: - type: 'null' - - *476 + - *478 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -107809,15 +107990,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: - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '304': *35 '500': *83 '400': *14 @@ -107849,15 +108030,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: - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '500': *83 '401': *23 '403': *27 @@ -107887,9 +108068,9 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: &740 + default: &742 value: - id: 197 name: hello_docker @@ -107990,7 +108171,7 @@ paths: application/json: schema: type: array - items: &728 + items: &730 title: Email description: Email type: object @@ -108060,9 +108241,9 @@ paths: application/json: schema: type: array - items: *728 + items: *730 examples: - default: &742 + default: &744 value: - email: octocat@github.com verified: true @@ -108139,7 +108320,7 @@ paths: application/json: schema: type: array - items: *728 + items: *730 examples: default: value: @@ -108251,7 +108432,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '304': *35 @@ -108284,7 +108465,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '304': *35 @@ -108306,7 +108487,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: - - *213 + - *215 responses: '204': description: if the person is followed by the authenticated user @@ -108336,7 +108517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *213 + - *215 responses: '204': description: Response @@ -108361,7 +108542,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *213 + - *215 responses: '204': description: Response @@ -108397,7 +108578,7 @@ paths: application/json: schema: type: array - items: &729 + items: &731 title: GPG Key description: A unique encryption key type: object @@ -108542,7 +108723,7 @@ paths: - subkeys - revoked examples: - default: &756 + default: &758 value: - id: 3 name: Octocat's GPG Key @@ -108627,9 +108808,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *731 examples: - default: &730 + default: &732 value: id: 3 name: Octocat's GPG Key @@ -108686,7 +108867,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: - - &731 + - &733 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -108698,9 +108879,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *731 examples: - default: *730 + default: *732 '404': *6 '304': *35 '403': *27 @@ -108723,7 +108904,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: - - *731 + - *733 responses: '204': description: Response @@ -108914,7 +109095,7 @@ paths: type: array items: *62 examples: - default: *732 + default: *734 headers: Link: *38 '404': *6 @@ -108939,7 +109120,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *186 + - *188 responses: '204': description: Response @@ -108965,7 +109146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *186 + - *188 responses: '204': description: Response @@ -108999,12 +109180,12 @@ paths: application/json: schema: anyOf: - - *275 + - *277 - type: object properties: {} additionalProperties: false examples: - default: *276 + default: *278 '204': description: Response when there are no restrictions x-github: @@ -109028,7 +109209,7 @@ paths: required: true content: application/json: - schema: *553 + schema: *555 examples: default: value: @@ -109039,7 +109220,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: default: value: @@ -109120,7 +109301,7 @@ paths: - closed - all default: open - - *283 + - *285 - name: sort description: What to sort results by. in: query @@ -109133,7 +109314,7 @@ paths: - comments default: created - *86 - - *139 + - *141 - *17 - *19 responses: @@ -109143,9 +109324,9 @@ paths: application/json: schema: type: array - items: *149 + items: *151 examples: - default: *284 + default: *286 headers: Link: *38 '404': *6 @@ -109178,7 +109359,7 @@ paths: application/json: schema: type: array - items: &733 + items: &735 title: Key description: Key type: object @@ -109276,9 +109457,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *735 examples: - default: &734 + default: &736 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109311,15 +109492,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: - - *580 + - *582 responses: '200': description: Response content: application/json: - schema: *733 + schema: *735 examples: - default: *734 + default: *736 '404': *6 '304': *35 '403': *27 @@ -109342,7 +109523,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: - - *580 + - *582 responses: '204': description: Response @@ -109375,7 +109556,7 @@ paths: application/json: schema: type: array - items: &735 + items: &737 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -109443,7 +109624,7 @@ paths: - id - type - login - plan: *152 + plan: *154 required: - billing_cycle - next_billing_date @@ -109454,7 +109635,7 @@ paths: - account - plan examples: - default: &736 + default: &738 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -109516,9 +109697,9 @@ paths: application/json: schema: type: array - items: *735 + items: *737 examples: - default: *736 + default: *738 headers: Link: *38 '304': *35 @@ -109558,7 +109739,7 @@ paths: application/json: schema: type: array - items: *289 + items: *291 examples: default: value: @@ -109660,13 +109841,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -109724,7 +109905,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: - - *165 + - *167 requestBody: required: true content: @@ -109749,7 +109930,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -109817,7 +109998,7 @@ paths: application/json: schema: type: array - items: *291 + items: *293 examples: default: value: @@ -110079,7 +110260,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: default: value: @@ -110259,7 +110440,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *292 + - *294 - name: exclude in: query required: false @@ -110272,7 +110453,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: default: value: @@ -110466,7 +110647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *292 + - *294 responses: '302': description: Response @@ -110492,7 +110673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *292 + - *294 responses: '204': description: Response @@ -110521,8 +110702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *292 - - *737 + - *294 + - *739 responses: '204': description: Response @@ -110546,7 +110727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *292 + - *294 - *17 - *19 responses: @@ -110556,9 +110737,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 '404': *6 @@ -110595,7 +110776,7 @@ paths: type: array items: *57 examples: - default: *738 + default: *740 headers: Link: *38 '304': *35 @@ -110637,7 +110818,7 @@ paths: - docker - nuget - container - - *739 + - *741 - *19 - *17 responses: @@ -110647,10 +110828,10 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: *740 - '400': *741 + default: *742 + '400': *743 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110670,16 +110851,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: - - *299 - - *300 + - *301 + - *302 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: &757 + default: &759 value: id: 40201 name: octo-name @@ -110792,8 +110973,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: - - *299 - - *300 + - *301 + - *302 responses: '204': description: Response @@ -110823,8 +111004,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: - - *299 - - *300 + - *301 + - *302 - name: token description: package token schema: @@ -110856,8 +111037,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: - - *299 - - *300 + - *301 + - *302 - *19 - *17 - name: state @@ -110877,7 +111058,7 @@ paths: application/json: schema: type: array - items: *301 + items: *303 examples: default: value: @@ -110926,15 +111107,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: - - *299 - - *300 + - *301 - *302 + - *304 responses: '200': description: Response content: application/json: - schema: *301 + schema: *303 examples: default: value: @@ -110970,9 +111151,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: - - *299 - - *300 + - *301 - *302 + - *304 responses: '204': description: Response @@ -111002,9 +111183,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: - - *299 - - *300 + - *301 - *302 + - *304 responses: '204': description: Response @@ -111062,7 +111243,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -111134,9 +111315,9 @@ paths: application/json: schema: type: array - items: *728 + items: *730 examples: - default: *742 + default: *744 headers: Link: *38 '304': *35 @@ -111249,7 +111430,7 @@ paths: type: array items: *62 examples: - default: &749 + default: &751 summary: Default response value: - id: 1296269 @@ -111567,9 +111748,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *381 + default: *383 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -111607,9 +111788,9 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: *743 + default: *745 headers: Link: *38 '304': *35 @@ -111632,7 +111813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *279 + - *281 responses: '204': description: Response @@ -111655,7 +111836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *279 + - *281 responses: '204': description: Response @@ -111688,7 +111869,7 @@ paths: application/json: schema: type: array - items: &744 + items: &746 title: Social account description: Social media account type: object @@ -111705,7 +111886,7 @@ paths: - provider - url examples: - default: &745 + default: &747 value: - provider: twitter url: https://twitter.com/github @@ -111768,9 +111949,9 @@ paths: application/json: schema: type: array - items: *744 + items: *746 examples: - default: *745 + default: *747 '422': *15 '304': *35 '404': *6 @@ -111858,7 +112039,7 @@ paths: application/json: schema: type: array - items: &746 + items: &748 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -111878,7 +112059,7 @@ paths: - title - created_at examples: - default: &758 + default: &760 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111945,9 +112126,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *748 examples: - default: &747 + default: &749 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111978,7 +112159,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: - - &748 + - &750 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -111990,9 +112171,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *748 examples: - default: *747 + default: *749 '404': *6 '304': *35 '403': *27 @@ -112015,7 +112196,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: - - *748 + - *750 responses: '204': description: Response @@ -112044,7 +112225,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: - - &759 + - &761 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 @@ -112069,11 +112250,11 @@ paths: type: array items: *62 examples: - default-response: *749 + default-response: *751 application/vnd.github.v3.star+json: schema: type: array - items: &760 + items: &762 title: Starred Repository description: Starred Repository type: object @@ -112229,8 +112410,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response if this repository is starred by you @@ -112258,8 +112439,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -112283,8 +112464,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -112317,9 +112498,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 '304': *35 @@ -112356,7 +112537,7 @@ paths: application/json: schema: type: array - items: *347 + items: *349 examples: default: value: @@ -112434,7 +112615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *154 + - *156 responses: '200': description: Response @@ -112442,10 +112623,10 @@ paths: application/json: schema: oneOf: - - *722 - - *721 + - *724 + - *723 examples: - default-response: &751 + default-response: &753 summary: Default response value: login: octocat @@ -112480,7 +112661,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &752 + response-with-git-hub-plan-information: &754 summary: Response with GitHub plan information value: login: octocat @@ -112540,7 +112721,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *750 + - *752 - *17 responses: '200': @@ -112551,7 +112732,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: example: ; rel="next" @@ -112581,7 +112762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *213 + - *215 responses: '200': description: Response @@ -112589,11 +112770,11 @@ paths: application/json: schema: oneOf: - - *722 - - *721 + - *724 + - *723 examples: - default-response: *751 - response-with-git-hub-plan-information: *752 + default-response: *753 + response-with-git-hub-plan-information: *754 '404': *6 x-github: githubCloudOnly: false @@ -112619,7 +112800,7 @@ paths: - *17 - *84 - *85 - - *213 + - *215 requestBody: required: true content: @@ -112642,8 +112823,8 @@ paths: required: - subject_digests examples: - default: *753 - withPredicateType: *754 + default: *755 + withPredicateType: *756 responses: '200': description: Response @@ -112697,7 +112878,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *755 + default: *757 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112715,7 +112896,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *213 + - *215 requestBody: required: true content: @@ -112780,7 +112961,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *213 + - *215 - name: subject_digest description: Subject Digest in: path @@ -112811,7 +112992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *213 + - *215 - name: attestation_id description: Attestation ID in: path @@ -112849,7 +113030,7 @@ paths: - *17 - *84 - *85 - - *213 + - *215 - name: subject_digest description: Subject Digest in: path @@ -112899,12 +113080,12 @@ paths: bundle_url: type: string examples: - default: *419 + default: *421 '201': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -112930,7 +113111,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: - - *213 + - *215 responses: '200': description: Response @@ -112938,9 +113119,9 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: *740 + default: *742 '403': *27 '401': *23 x-github: @@ -112963,7 +113144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -112973,7 +113154,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -113044,8 +113225,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: - - *213 - - *165 + - *215 + - *167 - *17 - *19 responses: @@ -113055,7 +113236,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -113134,7 +113315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -113144,7 +113325,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -113211,7 +113392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -113223,7 +113404,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -113242,7 +113423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *213 + - *215 - *17 - *19 responses: @@ -113254,7 +113435,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -113273,7 +113454,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: - - *213 + - *215 - name: target_user in: path required: true @@ -113300,8 +113481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *213 - - *139 + - *215 + - *141 - *17 - *19 responses: @@ -113311,9 +113492,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *141 + default: *143 headers: Link: *38 '422': *15 @@ -113334,7 +113515,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: - - *213 + - *215 - *17 - *19 responses: @@ -113344,9 +113525,9 @@ paths: application/json: schema: type: array - items: *729 + items: *731 examples: - default: *756 + default: *758 headers: Link: *38 x-github: @@ -113370,7 +113551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *213 + - *215 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -113442,7 +113623,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: - - *213 + - *215 responses: '200': description: Response @@ -113450,7 +113631,7 @@ paths: application/json: schema: *20 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113468,7 +113649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -113519,7 +113700,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -113531,7 +113712,7 @@ paths: type: array items: *57 examples: - default: *738 + default: *740 headers: Link: *38 x-github: @@ -113570,8 +113751,8 @@ paths: - docker - nuget - container - - *739 - - *213 + - *741 + - *215 - *19 - *17 responses: @@ -113581,12 +113762,12 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: *740 + default: *742 '403': *27 '401': *23 - '400': *741 + '400': *743 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113606,17 +113787,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *299 - - *300 - - *213 + - *301 + - *302 + - *215 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *757 + default: *759 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113637,9 +113818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *299 - - *300 - - *213 + - *301 + - *302 + - *215 responses: '204': description: Response @@ -113671,9 +113852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *299 - - *300 - - *213 + - *301 + - *302 + - *215 - name: token description: package token schema: @@ -113705,9 +113886,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: - - *299 - - *300 - - *213 + - *301 + - *302 + - *215 responses: '200': description: Response @@ -113715,7 +113896,7 @@ paths: application/json: schema: type: array - items: *301 + items: *303 examples: default: value: @@ -113773,16 +113954,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: - - *299 - - *300 + - *301 - *302 - - *213 + - *304 + - *215 responses: '200': description: Response content: application/json: - schema: *301 + schema: *303 examples: default: value: @@ -113817,10 +113998,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *299 - - *300 - - *213 + - *301 - *302 + - *215 + - *304 responses: '204': description: Response @@ -113852,10 +114033,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *299 - - *300 - - *213 + - *301 - *302 + - *215 + - *304 responses: '204': description: Response @@ -113881,7 +114062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *213 + - *215 - name: state description: Indicates the state of the projects to return. in: query @@ -113902,7 +114083,7 @@ paths: application/json: schema: type: array - items: *313 + items: *315 examples: default: value: @@ -113964,7 +114145,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: - - *213 + - *215 - *17 - *19 responses: @@ -113974,7 +114155,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -114053,7 +114234,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: - - *213 + - *215 - *17 - *19 responses: @@ -114063,7 +114244,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -114140,7 +114321,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *213 + - *215 - name: type description: Limit results to repositories of the specified type. in: query @@ -114183,9 +114364,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -114209,15 +114390,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: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114239,15 +114420,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: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *340 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114269,15 +114450,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: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *342 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114297,11 +114478,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: - - *213 - - *166 - - *167 + - *215 - *168 - *169 + - *170 + - *171 responses: '200': description: Response when getting a billing usage report @@ -114390,7 +114571,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: - - *213 + - *215 - *17 - *19 responses: @@ -114400,9 +114581,9 @@ paths: application/json: schema: type: array - items: *744 + items: *746 examples: - default: *745 + default: *747 headers: Link: *38 x-github: @@ -114422,7 +114603,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: - - *213 + - *215 - *17 - *19 responses: @@ -114432,9 +114613,9 @@ paths: application/json: schema: type: array - items: *746 + items: *748 examples: - default: *758 + default: *760 headers: Link: *38 x-github: @@ -114458,8 +114639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *213 - - *759 + - *215 + - *761 - *86 - *17 - *19 @@ -114471,11 +114652,11 @@ paths: schema: anyOf: - type: array - items: *760 + items: *762 - type: array items: *62 examples: - default-response: *749 + default-response: *751 headers: Link: *38 x-github: @@ -114494,7 +114675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -114504,9 +114685,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -114635,7 +114816,7 @@ webhooks: type: string enum: - disabled - enterprise: &761 + enterprise: &763 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -114704,7 +114885,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &762 + installation: &764 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -114725,7 +114906,7 @@ webhooks: required: - id - node_id - organization: &763 + organization: &765 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -114798,7 +114979,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &764 + repository: &766 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -114827,7 +115008,7 @@ webhooks: license: anyOf: - type: 'null' - - *150 + - *152 organization: anyOf: - type: 'null' @@ -115711,10 +115892,10 @@ webhooks: type: string enum: - enabled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -115790,11 +115971,11 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: &765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: &767 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) @@ -116017,11 +116198,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: *767 sender: *4 required: - action @@ -116209,11 +116390,11 @@ webhooks: - everyone required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: *767 sender: *4 required: - action @@ -116284,7 +116465,7 @@ webhooks: required: true content: application/json: - schema: &768 + schema: &770 title: Exemption request cancellation event type: object properties: @@ -116292,11 +116473,11 @@ webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: &766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + exemption_request: &768 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -116534,7 +116715,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &767 + items: &769 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -116644,7 +116825,7 @@ webhooks: required: true content: application/json: - schema: &769 + schema: &771 title: Exemption request completed event type: object properties: @@ -116652,11 +116833,11 @@ webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + exemption_request: *768 sender: *4 required: - action @@ -116726,7 +116907,7 @@ webhooks: required: true content: application/json: - schema: &770 + schema: &772 title: Exemption request created event type: object properties: @@ -116734,11 +116915,11 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + exemption_request: *768 sender: *4 required: - action @@ -116808,7 +116989,7 @@ webhooks: required: true content: application/json: - schema: &771 + schema: &773 title: Exemption response dismissed event type: object properties: @@ -116816,12 +116997,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + exemption_request: *768 + exemption_response: *769 sender: *4 required: - action @@ -116893,7 +117074,7 @@ webhooks: required: true content: application/json: - schema: &772 + schema: &774 title: Exemption response submitted event type: object properties: @@ -116901,12 +117082,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + exemption_request: *768 + exemption_response: *769 sender: *4 required: - action @@ -116979,7 +117160,7 @@ webhooks: required: true content: application/json: - schema: *768 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117046,7 +117227,7 @@ webhooks: required: true content: application/json: - schema: *769 + schema: *771 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117113,7 +117294,7 @@ webhooks: required: true content: application/json: - schema: *770 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117180,7 +117361,7 @@ webhooks: required: true content: application/json: - schema: *771 + schema: *773 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117248,7 +117429,7 @@ webhooks: required: true content: application/json: - schema: *772 + schema: *774 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117326,7 +117507,7 @@ webhooks: type: string enum: - completed - check_run: &774 + check_run: &776 title: CheckRun description: A check performed on the code of a given code change type: object @@ -117391,8 +117572,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *438 - repository: *191 + items: *440 + repository: *193 status: type: string enum: @@ -117436,7 +117617,7 @@ webhooks: - examples: - neutral - deployment: *773 + deployment: *775 details_url: type: string examples: @@ -117496,7 +117677,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *438 + items: *440 started_at: type: string format: date-time @@ -117534,9 +117715,9 @@ webhooks: - output - app - pull_requests - installation: *762 - organization: *763 - repository: *764 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -117929,10 +118110,10 @@ webhooks: type: string enum: - created - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *776 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -118328,10 +118509,10 @@ webhooks: type: string enum: - requested_action - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *776 + installation: *764 + organization: *765 + repository: *766 requested_action: description: The action requested by the user. type: object @@ -118736,10 +118917,10 @@ webhooks: type: string enum: - rerequested - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *776 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -119731,10 +119912,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -120419,10 +120600,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -121101,10 +121282,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -121270,7 +121451,7 @@ webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -121422,20 +121603,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &775 + commit_oid: &777 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: *761 - installation: *762 - organization: *763 - ref: &776 + enterprise: *763 + installation: *764 + organization: *765 + ref: &778 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: *764 + repository: *766 sender: *4 required: - action @@ -121599,7 +121780,7 @@ webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -121840,12 +122021,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *777 + enterprise: *763 + installation: *764 + organization: *765 + ref: *778 + repository: *766 sender: *4 required: - action @@ -121943,7 +122124,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -122125,12 +122306,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *777 + enterprise: *763 + installation: *764 + organization: *765 + ref: *778 + repository: *766 sender: *4 required: - action @@ -122296,7 +122477,7 @@ webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -122473,12 +122654,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *777 + enterprise: *763 + installation: *764 + organization: *765 + ref: *778 + repository: *766 sender: *4 required: - action @@ -122578,7 +122759,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -122758,9 +122939,9 @@ webhooks: type: - string - 'null' - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -122768,7 +122949,7 @@ webhooks: type: - string - 'null' - repository: *764 + repository: *766 sender: *4 required: - action @@ -122864,7 +123045,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -123011,12 +123192,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *777 + enterprise: *763 + installation: *764 + organization: *765 + ref: *778 + repository: *766 sender: *4 required: - action @@ -123278,10 +123459,10 @@ webhooks: - updated_at - author_association - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -123362,18 +123543,18 @@ webhooks: type: - string - 'null' - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *763 - pusher_type: &777 + organization: *765 + pusher_type: &779 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &778 + ref: &780 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -123383,7 +123564,7 @@ webhooks: enum: - tag - branch - repository: *764 + repository: *766 sender: *4 required: - ref @@ -123466,9 +123647,9 @@ webhooks: enum: - created definition: *112 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -123553,9 +123734,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -123633,9 +123814,9 @@ webhooks: enum: - promote_to_enterprise definition: *112 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -123713,9 +123894,9 @@ webhooks: enum: - updated definition: *112 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -123792,19 +123973,19 @@ webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - repository: *764 - organization: *763 + enterprise: *763 + installation: *764 + repository: *766 + organization: *765 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *315 + items: *317 old_property_values: type: array description: The old custom property values for the repository. - items: *315 + items: *317 required: - action - repository @@ -123880,18 +124061,18 @@ webhooks: title: delete event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - pusher_type: *777 - ref: *778 + enterprise: *763 + installation: *764 + organization: *765 + pusher_type: *779 + ref: *780 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *764 + repository: *766 sender: *4 required: - ref @@ -123975,11 +124156,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124063,11 +124244,11 @@ webhooks: type: string enum: - auto_reopened - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124151,11 +124332,11 @@ webhooks: type: string enum: - created - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124237,11 +124418,11 @@ webhooks: type: string enum: - dismissed - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124323,11 +124504,11 @@ webhooks: type: string enum: - fixed - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124410,11 +124591,11 @@ webhooks: type: string enum: - reintroduced - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124496,11 +124677,11 @@ webhooks: type: string enum: - reopened - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124577,9 +124758,9 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - key: &779 + enterprise: *763 + installation: *764 + key: &781 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -124617,8 +124798,8 @@ webhooks: - verified - created_at - read_only - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -124695,11 +124876,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - key: *779 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + key: *781 + organization: *765 + repository: *766 sender: *4 required: - action @@ -125271,12 +125452,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: &783 + workflow: &785 title: Workflow type: - object @@ -126014,13 +126195,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *508 + deployment: *510 pull_requests: type: array - items: *599 - repository: *764 - organization: *763 - installation: *762 + items: *601 + repository: *766 + organization: *765 + installation: *764 sender: *4 responses: '200': @@ -126091,7 +126272,7 @@ webhooks: type: string enum: - approved - approver: &780 + approver: &782 type: object properties: avatar_url: @@ -126134,11 +126315,11 @@ webhooks: type: string comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: &781 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + reviewers: &783 type: array items: type: object @@ -126219,7 +126400,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &782 + workflow_job_run: &784 type: object properties: conclusion: @@ -126965,18 +127146,18 @@ webhooks: type: string enum: - rejected - approver: *780 + approver: *782 comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: *781 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + reviewers: *783 sender: *4 since: type: string - workflow_job_run: *782 + workflow_job_run: *784 workflow_job_runs: type: array items: @@ -127693,13 +127874,13 @@ webhooks: type: string enum: - requested - enterprise: *761 + enterprise: *763 environment: type: string - installation: *762 - organization: *763 - repository: *764 - requestor: &788 + installation: *764 + organization: *765 + repository: *766 + requestor: &790 title: User type: - object @@ -129642,12 +129823,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *783 + workflow: *785 workflow_run: title: Deployment Workflow Run type: @@ -130338,7 +130519,7 @@ webhooks: type: string enum: - answered - answer: &786 + answer: &788 type: object properties: author_association: @@ -130498,7 +130679,7 @@ webhooks: - created_at - updated_at - body - discussion: &784 + discussion: &786 title: Discussion description: A Discussion in a repository. type: object @@ -130794,7 +130975,7 @@ webhooks: - id labels: type: array - items: *562 + items: *564 required: - repository_url - category @@ -130816,10 +130997,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -130946,11 +131127,11 @@ webhooks: - from required: - category - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131033,11 +131214,11 @@ webhooks: type: string enum: - closed - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131119,7 +131300,7 @@ webhooks: type: string enum: - created - comment: &785 + comment: &787 type: object properties: author_association: @@ -131279,11 +131460,11 @@ webhooks: - updated_at - body - reactions - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131366,12 +131547,12 @@ webhooks: type: string enum: - deleted - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *787 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131466,12 +131647,12 @@ webhooks: - from required: - body - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *787 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131555,11 +131736,11 @@ webhooks: type: string enum: - created - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131641,11 +131822,11 @@ webhooks: type: string enum: - deleted - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131745,11 +131926,11 @@ webhooks: type: string required: - from - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131831,10 +132012,10 @@ webhooks: type: string enum: - labeled - discussion: *784 - enterprise: *761 - installation: *762 - label: &787 + discussion: *786 + enterprise: *763 + installation: *764 + label: &789 title: Label type: object properties: @@ -131867,8 +132048,8 @@ webhooks: - color - default - description - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131951,11 +132132,11 @@ webhooks: type: string enum: - locked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132037,11 +132218,11 @@ webhooks: type: string enum: - pinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132123,11 +132304,11 @@ webhooks: type: string enum: - reopened - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132212,16 +132393,16 @@ webhooks: changes: type: object properties: - new_discussion: *784 - new_repository: *764 + new_discussion: *786 + new_repository: *766 required: - new_discussion - new_repository - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132304,10 +132485,10 @@ webhooks: type: string enum: - unanswered - discussion: *784 - old_answer: *786 - organization: *763 - repository: *764 + discussion: *786 + old_answer: *788 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132389,12 +132570,12 @@ webhooks: type: string enum: - unlabeled - discussion: *784 - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132477,11 +132658,11 @@ webhooks: type: string enum: - unlocked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132563,11 +132744,11 @@ webhooks: type: string enum: - unpinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132636,7 +132817,7 @@ webhooks: required: true content: application/json: - schema: *770 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132699,7 +132880,7 @@ webhooks: required: true content: application/json: - schema: *772 + schema: *774 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132765,7 +132946,7 @@ webhooks: required: true content: application/json: - schema: *768 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132831,7 +133012,7 @@ webhooks: required: true content: application/json: - schema: *769 + schema: *771 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132897,7 +133078,7 @@ webhooks: required: true content: application/json: - schema: *770 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132963,7 +133144,7 @@ webhooks: required: true content: application/json: - schema: *771 + schema: *773 responses: '200': description: Return a 200 status to indicate that the data was received @@ -133029,7 +133210,7 @@ webhooks: required: true content: application/json: - schema: *772 + schema: *774 responses: '200': description: Return a 200 status to indicate that the data was received @@ -133096,7 +133277,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *761 + enterprise: *763 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -133774,9 +133955,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - forkee @@ -133922,9 +134103,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pages: description: The pages that were updated. type: array @@ -133962,7 +134143,7 @@ webhooks: - action - sha - html_url - repository: *764 + repository: *766 sender: *4 required: - pages @@ -134038,10 +134219,10 @@ webhooks: type: string enum: - created - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories: &789 + organization: *765 + repositories: &791 description: An array of repository objects that the installation can access. type: array @@ -134067,8 +134248,8 @@ webhooks: - name - full_name - private - repository: *764 - requester: *788 + repository: *766 + requester: *790 sender: *4 required: - action @@ -134143,11 +134324,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories: *789 - repository: *764 + organization: *765 + repositories: *791 + repository: *766 requester: type: - 'null' @@ -134224,11 +134405,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories: *789 - repository: *764 + organization: *765 + repositories: *791 + repository: *766 requester: type: - 'null' @@ -134305,10 +134486,10 @@ webhooks: type: string enum: - added - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories_added: &790 + organization: *765 + repositories_added: &792 description: An array of repository objects, which were added to the installation. type: array @@ -134354,15 +134535,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *764 - repository_selection: &791 + repository: *766 + repository_selection: &793 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *788 + requester: *790 sender: *4 required: - action @@ -134441,10 +134622,10 @@ webhooks: type: string enum: - removed - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories_added: *790 + organization: *765 + repositories_added: *792 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -134471,9 +134652,9 @@ webhooks: - name - full_name - private - repository: *764 - repository_selection: *791 - requester: *788 + repository: *766 + repository_selection: *793 + requester: *790 sender: *4 required: - action @@ -134552,11 +134733,11 @@ webhooks: type: string enum: - suspend - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories: *789 - repository: *764 + organization: *765 + repositories: *791 + repository: *766 requester: type: - 'null' @@ -134739,10 +134920,10 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 target_type: type: string @@ -134821,11 +135002,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories: *789 - repository: *764 + organization: *765 + repositories: *791 + repository: *766 requester: type: - 'null' @@ -135073,8 +135254,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135921,7 +136102,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -136265,8 +136446,8 @@ webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -136346,7 +136527,7 @@ webhooks: type: string enum: - deleted - comment: &792 + comment: &794 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -136513,8 +136694,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -137357,7 +137538,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -137703,8 +137884,8 @@ webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -137784,7 +137965,7 @@ webhooks: type: string enum: - edited - changes: &817 + changes: &819 description: The changes to the comment. type: object properties: @@ -137796,9 +137977,9 @@ webhooks: type: string required: - from - comment: *792 - enterprise: *761 - installation: *762 + comment: *794 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -138644,7 +138825,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -138988,8 +139169,8 @@ webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139071,10 +139252,10 @@ webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - issue: &795 + assignee: *790 + enterprise: *763 + installation: *764 + issue: &797 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139916,7 +140097,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -140019,8 +140200,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -140100,8 +140281,8 @@ webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -140948,7 +141129,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -141194,8 +141375,8 @@ webhooks: required: - state - closed_at - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -141274,8 +141455,8 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142113,7 +142294,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -142215,8 +142396,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -142295,8 +142476,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143157,7 +143338,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -143238,7 +143419,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &795 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143381,8 +143562,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -143481,8 +143662,8 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144321,7 +144502,7 @@ webhooks: timeline_url: type: string format: uri - type: *280 + type: *282 title: description: Title of the issue type: string @@ -144427,9 +144608,9 @@ webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -144509,8 +144690,8 @@ webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145348,7 +145529,7 @@ webhooks: timeline_url: type: string format: uri - type: *280 + type: *282 title: description: Title of the issue type: string @@ -145454,9 +145635,9 @@ webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -145536,8 +145717,8 @@ webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146400,7 +146581,7 @@ webhooks: timeline_url: type: string format: uri - type: *280 + type: *282 title: description: Title of the issue type: string @@ -146483,8 +146664,8 @@ webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -146563,8 +146744,8 @@ webhooks: type: string enum: - milestoned - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147424,7 +147605,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -147504,9 +147685,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *763 - repository: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -148507,7 +148688,7 @@ webhooks: required: - login - id - type: *280 + type: *282 required: - id - number @@ -148988,8 +149169,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149831,7 +150012,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -149933,8 +150114,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -150014,9 +150195,9 @@ webhooks: type: string enum: - pinned - enterprise: *761 - installation: *762 - issue: &794 + enterprise: *763 + installation: *764 + issue: &796 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150852,7 +151033,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -150954,8 +151135,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -151034,8 +151215,8 @@ webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151979,9 +152160,9 @@ webhooks: format: uri user_view_type: type: string - type: *280 - organization: *763 - repository: *764 + type: *282 + organization: *765 + repository: *766 sender: *4 required: - action @@ -152900,7 +153081,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -153482,11 +153663,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153566,12 +153747,12 @@ webhooks: type: string enum: - typed - enterprise: *761 - installation: *762 - issue: *795 - type: *280 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *797 + type: *282 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153652,7 +153833,7 @@ webhooks: type: string enum: - unassigned - assignee: &820 + assignee: &822 title: User type: - object @@ -153724,11 +153905,11 @@ webhooks: required: - login - id - enterprise: *761 - installation: *762 - issue: *795 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *797 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153807,12 +153988,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - issue: *795 - label: *787 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *797 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153892,8 +154073,8 @@ webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154757,7 +154938,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -154837,8 +155018,8 @@ webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -154918,11 +155099,11 @@ webhooks: type: string enum: - unpinned - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155001,12 +155182,12 @@ webhooks: type: string enum: - untyped - enterprise: *761 - installation: *762 - issue: *795 - type: *280 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *797 + type: *282 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155086,11 +155267,11 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155168,11 +155349,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155282,11 +155463,11 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155368,9 +155549,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: &796 + enterprise: *763 + installation: *764 + marketplace_purchase: &798 title: Marketplace Purchase type: object required: @@ -155458,8 +155639,8 @@ webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: &797 + organization: *765 + previous_marketplace_purchase: &799 title: Marketplace Purchase type: object properties: @@ -155543,7 +155724,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *766 sender: *4 required: - action @@ -155623,10 +155804,10 @@ webhooks: - changed effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *763 + installation: *764 + marketplace_purchase: *798 + organization: *765 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -155714,7 +155895,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *766 sender: *4 required: - action @@ -155796,10 +155977,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *763 + installation: *764 + marketplace_purchase: *798 + organization: *765 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -155885,7 +156066,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *766 sender: *4 required: - action @@ -155966,8 +156147,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 marketplace_purchase: title: Marketplace Purchase type: object @@ -156053,9 +156234,9 @@ webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + organization: *765 + previous_marketplace_purchase: *799 + repository: *766 sender: *4 required: - action @@ -156135,12 +156316,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + enterprise: *763 + installation: *764 + marketplace_purchase: *798 + organization: *765 + previous_marketplace_purchase: *799 + repository: *766 sender: *4 required: - action @@ -156242,11 +156423,11 @@ webhooks: type: string required: - to - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + member: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -156348,11 +156529,11 @@ webhooks: type: - string - 'null' - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + member: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -156431,11 +156612,11 @@ webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + member: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -156513,11 +156694,11 @@ webhooks: type: string enum: - added - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + member: *790 + organization: *765 + repository: *766 scope: description: The scope of the membership. Currently, can only be `team`. @@ -156595,7 +156776,7 @@ webhooks: required: - login - id - team: &798 + team: &800 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -156788,11 +156969,11 @@ webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + member: *790 + organization: *765 + repository: *766 scope: description: The scope of the membership. Currently, can only be `team`. @@ -156871,7 +157052,7 @@ webhooks: required: - login - id - team: *798 + team: *800 required: - action - scope @@ -156953,8 +157134,8 @@ webhooks: type: string enum: - checks_requested - installation: *762 - merge_group: &799 + installation: *764 + merge_group: &801 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -156973,15 +157154,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *442 + head_commit: *444 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157067,10 +157248,10 @@ webhooks: - merged - invalidated - dequeued - installation: *762 - merge_group: *799 - organization: *763 - repository: *764 + installation: *764 + merge_group: *801 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157143,7 +157324,7 @@ webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *763 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -157252,12 +157433,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *762 - organization: *763 + installation: *764 + organization: *765 repository: anyOf: - type: 'null' - - *764 + - *766 sender: *4 required: - action @@ -157337,11 +157518,11 @@ webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157420,9 +157601,9 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - milestone: &800 + enterprise: *763 + installation: *764 + milestone: &802 title: Milestone description: A collection of related issues and pull requests. type: object @@ -157564,8 +157745,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157644,11 +157825,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157758,11 +157939,11 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157842,11 +158023,11 @@ webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - milestone: *800 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + milestone: *802 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157925,11 +158106,11 @@ webhooks: type: string enum: - blocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *790 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158008,11 +158189,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *790 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158091,9 +158272,9 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - membership: &801 + enterprise: *763 + installation: *764 + membership: &803 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -158187,8 +158368,8 @@ webhooks: - role - organization_url - user - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158266,11 +158447,11 @@ webhooks: type: string enum: - member_added - enterprise: *761 - installation: *762 - membership: *801 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + membership: *803 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158349,8 +158530,8 @@ webhooks: type: string enum: - member_invited - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -158472,10 +158653,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 - user: *788 + user: *790 required: - action - invitation @@ -158553,11 +158734,11 @@ webhooks: type: string enum: - member_removed - enterprise: *761 - installation: *762 - membership: *801 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + membership: *803 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158644,11 +158825,11 @@ webhooks: properties: from: type: string - enterprise: *761 - installation: *762 - membership: *801 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + membership: *803 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158724,9 +158905,9 @@ webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 package: description: Information about the package. type: object @@ -159249,7 +159430,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &802 + items: &804 title: Ruby Gems metadata type: object properties: @@ -159346,7 +159527,7 @@ webhooks: - owner - package_version - registry - repository: *764 + repository: *766 sender: *4 required: - action @@ -159422,9 +159603,9 @@ webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 package: description: Information about the package. type: object @@ -159786,7 +159967,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *802 + items: *804 source_url: type: string format: uri @@ -159857,7 +160038,7 @@ webhooks: - owner - package_version - registry - repository: *764 + repository: *766 sender: *4 required: - action @@ -160038,12 +160219,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *761 + enterprise: *763 id: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - id @@ -160120,7 +160301,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &803 + personal_access_token_request: &805 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -160270,10 +160451,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *761 - organization: *763 + enterprise: *763 + organization: *765 sender: *4 - installation: *762 + installation: *764 required: - action - personal_access_token_request @@ -160350,11 +160531,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *803 - enterprise: *761 - organization: *763 + personal_access_token_request: *805 + enterprise: *763 + organization: *765 sender: *4 - installation: *762 + installation: *764 required: - action - personal_access_token_request @@ -160430,11 +160611,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *803 - enterprise: *761 - organization: *763 + personal_access_token_request: *805 + enterprise: *763 + organization: *765 sender: *4 - installation: *762 + installation: *764 required: - action - personal_access_token_request @@ -160509,11 +160690,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *803 - organization: *763 - enterprise: *761 + personal_access_token_request: *805 + organization: *765 + enterprise: *763 sender: *4 - installation: *762 + installation: *764 required: - action - personal_access_token_request @@ -160618,7 +160799,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *804 + last_response: *806 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -160650,8 +160831,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 zen: description: Random string of GitHub zen. @@ -160896,10 +161077,10 @@ webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: &805 + enterprise: *763 + installation: *764 + organization: *765 + project_card: &807 title: Project Card type: object properties: @@ -161022,7 +161203,7 @@ webhooks: - creator - created_at - updated_at - repository: *764 + repository: *766 sender: *4 required: - action @@ -161103,11 +161284,11 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_card: *805 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project_card: *807 + repository: *766 sender: *4 required: - action @@ -161187,9 +161368,9 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 project_card: title: Project Card type: object @@ -161319,7 +161500,7 @@ webhooks: repository: anyOf: - type: 'null' - - *764 + - *766 sender: *4 required: - action @@ -161413,11 +161594,11 @@ webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: *805 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project_card: *807 + repository: *766 sender: *4 required: - action @@ -161511,9 +161692,9 @@ webhooks: - from required: - column_id - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 project_card: allOf: - title: Project Card @@ -161710,7 +161891,7 @@ webhooks: type: string required: - after_id - repository: *764 + repository: *766 sender: *4 required: - action @@ -161790,10 +161971,10 @@ webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - organization: *763 - project: &807 + enterprise: *763 + installation: *764 + organization: *765 + project: &809 title: Project type: object properties: @@ -161920,7 +162101,7 @@ webhooks: - creator - created_at - updated_at - repository: *764 + repository: *766 sender: *4 required: - action @@ -162000,10 +162181,10 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_column: &806 + enterprise: *763 + installation: *764 + organization: *765 + project_column: &808 title: Project Column type: object properties: @@ -162043,7 +162224,7 @@ webhooks: - name - created_at - updated_at - repository: *764 + repository: *766 sender: *4 required: - action @@ -162122,14 +162303,14 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project_column: *806 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *808 repository: anyOf: - type: 'null' - - *764 + - *766 sender: *4 required: - action @@ -162218,11 +162399,11 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project_column: *806 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *808 + repository: *766 sender: *4 required: - action @@ -162302,11 +162483,11 @@ webhooks: type: string enum: - moved - enterprise: *761 - installation: *762 - organization: *763 - project_column: *806 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *808 + repository: *766 sender: *4 required: - action @@ -162386,11 +162567,11 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project: *807 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project: *809 + repository: *766 sender: *4 required: - action @@ -162470,14 +162651,14 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project: *807 + enterprise: *763 + installation: *764 + organization: *765 + project: *809 repository: anyOf: - type: 'null' - - *764 + - *766 sender: *4 required: - action @@ -162578,11 +162759,11 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project: *807 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project: *809 + repository: *766 sender: *4 required: - action @@ -162661,11 +162842,11 @@ webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - organization: *763 - project: *807 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project: *809 + repository: *766 sender: *4 required: - action @@ -162746,9 +162927,9 @@ webhooks: type: string enum: - closed - installation: *762 - organization: *763 - projects_v2: &808 + installation: *764 + organization: *765 + projects_v2: &810 title: Projects v2 Project description: A projects v2 project type: object @@ -162896,9 +163077,9 @@ webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2: *808 + installation: *764 + organization: *765 + projects_v2: *810 sender: *4 required: - action @@ -162979,9 +163160,9 @@ webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2: *808 + installation: *764 + organization: *765 + projects_v2: *810 sender: *4 required: - action @@ -163102,9 +163283,9 @@ webhooks: type: string to: type: string - installation: *762 - organization: *763 - projects_v2: *808 + installation: *764 + organization: *765 + projects_v2: *810 sender: *4 required: - action @@ -163187,7 +163368,7 @@ webhooks: type: string enum: - archived - changes: &812 + changes: &814 type: object properties: archived_at: @@ -163203,9 +163384,9 @@ webhooks: - string - 'null' format: date-time - installation: *762 - organization: *763 - projects_v2_item: &809 + installation: *764 + organization: *765 + projects_v2_item: &811 title: Projects v2 Item description: An item belonging to a project type: object @@ -163344,9 +163525,9 @@ webhooks: - 'null' to: type: string - installation: *762 - organization: *763 - projects_v2_item: *809 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163428,9 +163609,9 @@ webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_item: *809 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163511,9 +163692,9 @@ webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_item: *809 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163618,7 +163799,7 @@ webhooks: oneOf: - type: string - type: integer - - &810 + - &812 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -163638,7 +163819,7 @@ webhooks: required: - id - name - - &811 + - &813 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -163667,8 +163848,8 @@ webhooks: oneOf: - type: string - type: integer - - *810 - - *811 + - *812 + - *813 type: - 'null' - string @@ -163691,9 +163872,9 @@ webhooks: - 'null' required: - body - installation: *762 - organization: *763 - projects_v2_item: *809 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163790,9 +163971,9 @@ webhooks: type: - string - 'null' - installation: *762 - organization: *763 - projects_v2_item: *809 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163875,10 +164056,10 @@ webhooks: type: string enum: - restored - changes: *812 - installation: *762 - organization: *763 - projects_v2_item: *809 + changes: *814 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163960,9 +164141,9 @@ webhooks: type: string enum: - reopened - installation: *762 - organization: *763 - projects_v2: *808 + installation: *764 + organization: *765 + projects_v2: *810 sender: *4 required: - action @@ -164043,9 +164224,9 @@ webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_status_update: &813 + installation: *764 + organization: *765 + projects_v2_status_update: &815 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -164180,9 +164361,9 @@ webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_status_update: *813 + installation: *764 + organization: *765 + projects_v2_status_update: *815 sender: *4 required: - action @@ -164328,9 +164509,9 @@ webhooks: - string - 'null' format: date - installation: *762 - organization: *763 - projects_v2_status_update: *813 + installation: *764 + organization: *765 + projects_v2_status_update: *815 sender: *4 required: - action @@ -164401,10 +164582,10 @@ webhooks: title: public event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - repository @@ -164481,13 +164662,13 @@ webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - number: &814 + assignee: *790 + enterprise: *763 + installation: *764 + number: &816 description: The pull request number. type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -166836,7 +167017,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -166918,11 +167099,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -169264,7 +169445,7 @@ webhooks: - draft reason: type: string - repository: *764 + repository: *766 sender: *4 required: - action @@ -169346,11 +169527,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -171692,7 +171873,7 @@ webhooks: - draft reason: type: string - repository: *764 + repository: *766 sender: *4 required: - action @@ -171774,13 +171955,13 @@ webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: &815 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: &817 allOf: - - *599 + - *601 - type: object properties: allow_auto_merge: @@ -171842,7 +172023,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *764 + repository: *766 sender: *4 required: - action @@ -171923,12 +172104,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: *815 - repository: *764 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: *817 + repository: *766 sender: *4 required: - action @@ -172008,11 +172189,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *761 - milestone: *488 - number: *814 - organization: *763 - pull_request: &816 + enterprise: *763 + milestone: *490 + number: *816 + organization: *765 + pull_request: &818 title: Pull Request type: object properties: @@ -174339,7 +174520,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -174418,11 +174599,11 @@ webhooks: type: string enum: - dequeued - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -176768,7 +176949,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *764 + repository: *766 sender: *4 required: - action @@ -176892,12 +177073,12 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: *815 - repository: *764 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: *817 + repository: *766 sender: *4 required: - action @@ -176977,11 +177158,11 @@ webhooks: type: string enum: - enqueued - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -179312,7 +179493,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -179392,11 +179573,11 @@ webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 - label: *787 - number: *814 - organization: *763 + enterprise: *763 + installation: *764 + label: *789 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -181744,7 +181925,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -181825,10 +182006,10 @@ webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 - number: *814 - organization: *763 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -184174,7 +184355,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -184254,12 +184435,12 @@ webhooks: type: string enum: - milestoned - enterprise: *761 - milestone: *488 - number: *814 - organization: *763 - pull_request: *816 - repository: *764 + enterprise: *763 + milestone: *490 + number: *816 + organization: *765 + pull_request: *818 + repository: *766 sender: *4 required: - action @@ -184338,12 +184519,12 @@ webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: *815 - repository: *764 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: *817 + repository: *766 sender: *4 required: - action @@ -184424,12 +184605,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: *815 - repository: *764 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: *817 + repository: *766 sender: *4 required: - action @@ -184509,12 +184690,12 @@ webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: *815 - repository: *764 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: *817 + repository: *766 sender: *4 required: - action @@ -184889,9 +185070,9 @@ webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -187121,7 +187302,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *766 sender: *4 required: - action @@ -187201,7 +187382,7 @@ webhooks: type: string enum: - deleted - comment: &818 + comment: &820 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. @@ -187494,9 +187675,9 @@ webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -189714,7 +189895,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *766 sender: *4 required: - action @@ -189794,11 +189975,11 @@ webhooks: type: string enum: - edited - changes: *817 - comment: *818 - enterprise: *761 - installation: *762 - organization: *763 + changes: *819 + comment: *820 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -192019,7 +192200,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *766 sender: *4 required: - action @@ -192100,9 +192281,9 @@ webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -194335,7 +194516,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *766 review: description: The review that was affected. type: object @@ -194581,9 +194762,9 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -196697,8 +196878,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: &819 + repository: *766 + review: &821 description: The review that was affected. type: object properties: @@ -196931,12 +197112,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -199283,7 +199464,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 requested_reviewer: title: User type: @@ -199369,12 +199550,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -201728,7 +201909,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201923,12 +202104,12 @@ webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -204277,7 +204458,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 requested_reviewer: title: User type: @@ -204364,12 +204545,12 @@ webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -206709,7 +206890,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206893,9 +207074,9 @@ webhooks: type: string enum: - submitted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -209131,8 +209312,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: *819 + repository: *766 + review: *821 sender: *4 required: - action @@ -209212,9 +209393,9 @@ webhooks: type: string enum: - resolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -211345,7 +211526,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *766 sender: *4 thread: type: object @@ -211737,9 +211918,9 @@ webhooks: type: string enum: - unresolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -213853,7 +214034,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *766 sender: *4 thread: type: object @@ -214247,10 +214428,10 @@ webhooks: type: string before: type: string - enterprise: *761 - installation: *762 - number: *814 - organization: *763 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -216585,7 +216766,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -216667,11 +216848,11 @@ webhooks: type: string enum: - unassigned - assignee: *820 - enterprise: *761 - installation: *762 - number: *814 - organization: *763 + assignee: *822 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -219021,7 +219202,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -219100,11 +219281,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - label: *787 - number: *814 - organization: *763 + enterprise: *763 + installation: *764 + label: *789 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -221443,7 +221624,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -221524,10 +221705,10 @@ webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 - number: *814 - organization: *763 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -223856,7 +224037,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -224059,7 +224240,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *761 + enterprise: *763 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -224154,8 +224335,8 @@ webhooks: - url - author - committer - installation: *762 - organization: *763 + installation: *764 + organization: *765 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -224743,9 +224924,9 @@ webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 registry_package: type: object properties: @@ -225222,7 +225403,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *802 + items: *804 summary: type: string tag_name: @@ -225278,7 +225459,7 @@ webhooks: - owner - package_version - registry - repository: *764 + repository: *766 sender: *4 required: - action @@ -225356,9 +225537,9 @@ webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 registry_package: type: object properties: @@ -225670,7 +225851,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *802 + items: *804 summary: type: string tag_name: @@ -225720,7 +225901,7 @@ webhooks: - owner - package_version - registry - repository: *764 + repository: *766 sender: *4 required: - action @@ -225797,10 +225978,10 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - release: &821 + enterprise: *763 + installation: *764 + organization: *765 + release: &823 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -226121,7 +226302,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *764 + repository: *766 sender: *4 required: - action @@ -226198,11 +226379,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - release: *821 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + release: *823 + repository: *766 sender: *4 required: - action @@ -226319,11 +226500,11 @@ webhooks: type: boolean required: - to - enterprise: *761 - installation: *762 - organization: *763 - release: *821 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + release: *823 + repository: *766 sender: *4 required: - action @@ -226401,9 +226582,9 @@ webhooks: type: string enum: - prereleased - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -226729,7 +226910,7 @@ webhooks: - string - 'null' format: uri - repository: *764 + repository: *766 sender: *4 required: - action @@ -226805,10 +226986,10 @@ webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - release: &822 + enterprise: *763 + installation: *764 + organization: *765 + release: &824 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -227131,7 +227312,7 @@ webhooks: - string - 'null' format: uri - repository: *764 + repository: *766 sender: *4 required: - action @@ -227207,11 +227388,11 @@ webhooks: type: string enum: - released - enterprise: *761 - installation: *762 - organization: *763 - release: *821 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + release: *823 + repository: *766 sender: *4 required: - action @@ -227287,11 +227468,11 @@ webhooks: type: string enum: - unpublished - enterprise: *761 - installation: *762 - organization: *763 - release: *822 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + release: *824 + repository: *766 sender: *4 required: - action @@ -227367,11 +227548,11 @@ webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *670 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_advisory: *672 sender: *4 required: - action @@ -227447,11 +227628,11 @@ webhooks: type: string enum: - reported - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *670 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_advisory: *672 sender: *4 required: - action @@ -227527,10 +227708,10 @@ webhooks: type: string enum: - archived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -227607,10 +227788,10 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -227688,10 +227869,10 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -227776,10 +227957,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -227894,10 +228075,10 @@ webhooks: - 'null' items: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -227969,10 +228150,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 status: type: string @@ -228053,10 +228234,10 @@ webhooks: type: string enum: - privatized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -228133,10 +228314,10 @@ webhooks: type: string enum: - publicized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -228230,10 +228411,10 @@ webhooks: - name required: - repository - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -228313,10 +228494,10 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 repository_ruleset: *126 sender: *4 required: @@ -228395,10 +228576,10 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 repository_ruleset: *126 sender: *4 required: @@ -228477,10 +228658,10 @@ webhooks: type: string enum: - edited - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 repository_ruleset: *126 changes: type: object @@ -228788,10 +228969,10 @@ webhooks: - from required: - owner - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -228869,10 +229050,10 @@ webhooks: type: string enum: - unarchived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -228950,7 +229131,7 @@ webhooks: type: string enum: - create - alert: &823 + alert: &825 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -229074,10 +229255,10 @@ webhooks: type: string enum: - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -229287,10 +229468,10 @@ webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -229368,11 +229549,11 @@ webhooks: type: string enum: - reopen - alert: *823 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *825 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -229574,10 +229755,10 @@ webhooks: enum: - fixed - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -229655,7 +229836,7 @@ webhooks: type: string enum: - created - alert: &824 + alert: &826 type: object properties: number: *96 @@ -229765,10 +229946,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -229849,11 +230030,11 @@ webhooks: type: string enum: - created - alert: *824 - installation: *762 - location: *825 - organization: *763 - repository: *764 + alert: *826 + installation: *764 + location: *827 + organization: *765 + repository: *766 sender: *4 required: - location @@ -230091,11 +230272,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *824 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -230173,11 +230354,11 @@ webhooks: type: string enum: - reopened - alert: *824 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -230255,11 +230436,11 @@ webhooks: type: string enum: - resolved - alert: *824 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -230337,11 +230518,11 @@ webhooks: type: string enum: - validated - alert: *824 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -230471,10 +230652,10 @@ webhooks: - organization - enterprise - - repository: *764 - enterprise: *761 - installation: *762 - organization: *763 + repository: *766 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -230552,11 +230733,11 @@ webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: &826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + security_advisory: &828 description: The details of the security advisory, including summary, description, and severity. type: object @@ -230742,11 +230923,11 @@ webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: *826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + security_advisory: *828 sender: *4 required: - action @@ -230819,10 +231000,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -231008,11 +231189,11 @@ webhooks: from: type: object properties: - security_and_analysis: *316 - enterprise: *761 - installation: *762 - organization: *763 - repository: *379 + security_and_analysis: *318 + enterprise: *763 + installation: *764 + organization: *765 + repository: *381 sender: *4 required: - changes @@ -231090,12 +231271,12 @@ webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: &827 + sponsorship: &829 type: object properties: created_at: @@ -231400,12 +231581,12 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *827 + sponsorship: *829 required: - action - sponsorship @@ -231493,12 +231674,12 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *827 + sponsorship: *829 required: - action - changes @@ -231575,17 +231756,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &828 + effective_date: &830 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: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *827 + sponsorship: *829 required: - action - sponsorship @@ -231659,7 +231840,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &829 + changes: &831 type: object properties: tier: @@ -231703,13 +231884,13 @@ webhooks: - from required: - tier - effective_date: *828 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + effective_date: *830 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *827 + sponsorship: *829 required: - action - changes @@ -231786,13 +231967,13 @@ webhooks: type: string enum: - tier_changed - changes: *829 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + changes: *831 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *827 + sponsorship: *829 required: - action - changes @@ -231866,10 +232047,10 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231953,10 +232134,10 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232390,15 +232571,15 @@ webhooks: type: - string - 'null' - enterprise: *761 + enterprise: *763 id: description: The unique identifier of the status. type: integer - installation: *762 + installation: *764 name: type: string - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 sha: description: The Commit SHA. @@ -232508,15 +232689,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *149 + parent_issue: *151 parent_issue_repo: *62 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *149 - installation: *762 - organization: *763 - repository: *764 + sub_issue: *151 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -232600,15 +232781,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *149 + parent_issue: *151 parent_issue_repo: *62 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *149 - installation: *762 - organization: *763 - repository: *764 + sub_issue: *151 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -232692,15 +232873,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *149 + sub_issue: *151 sub_issue_repo: *62 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *149 - installation: *762 - organization: *763 - repository: *764 + parent_issue: *151 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -232784,15 +232965,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *149 + sub_issue: *151 sub_issue_repo: *62 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *149 - installation: *762 - organization: *763 - repository: *764 + parent_issue: *151 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -232869,12 +233050,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - team: &830 + team: &832 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -233067,9 +233248,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -233539,7 +233720,7 @@ webhooks: - topics - visibility sender: *4 - team: *830 + team: *832 required: - action - team @@ -233615,9 +233796,9 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -234087,7 +234268,7 @@ webhooks: - topics - visibility sender: *4 - team: *830 + team: *832 required: - action - team @@ -234164,9 +234345,9 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -234636,7 +234817,7 @@ webhooks: - topics - visibility sender: *4 - team: *830 + team: *832 required: - action - team @@ -234780,9 +234961,9 @@ webhooks: - from required: - permissions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -235252,7 +235433,7 @@ webhooks: - topics - visibility sender: *4 - team: *830 + team: *832 required: - action - changes @@ -235330,9 +235511,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -235802,7 +235983,7 @@ webhooks: - topics - visibility sender: *4 - team: *830 + team: *832 required: - action - team @@ -235878,10 +236059,10 @@ webhooks: type: string enum: - started - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -235954,17 +236135,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *761 + enterprise: *763 inputs: type: - object - 'null' additionalProperties: true - installation: *762 - organization: *763 + installation: *764 + organization: *765 ref: type: string - repository: *764 + repository: *766 sender: *4 workflow: type: string @@ -236046,10 +236227,10 @@ webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: allOf: @@ -236305,7 +236486,7 @@ webhooks: type: string required: - conclusion - deployment: *508 + deployment: *510 required: - action - repository @@ -236384,10 +236565,10 @@ webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: allOf: @@ -236669,7 +236850,7 @@ webhooks: required: - status - steps - deployment: *508 + deployment: *510 required: - action - repository @@ -236748,10 +236929,10 @@ webhooks: type: string enum: - queued - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: type: object @@ -236897,7 +237078,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *508 + deployment: *510 required: - action - repository @@ -236976,10 +237157,10 @@ webhooks: type: string enum: - waiting - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: type: object @@ -237126,7 +237307,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *508 + deployment: *510 required: - action - repository @@ -237206,12 +237387,12 @@ webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *783 + workflow: *785 workflow_run: title: Workflow Run type: object @@ -238230,12 +238411,12 @@ webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *783 + workflow: *785 workflow_run: title: Workflow Run type: object @@ -239239,12 +239420,12 @@ webhooks: type: string enum: - requested - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *783 + workflow: *785 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 56c61d25e0..c8b79ef1bc 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -52558,6 +52558,833 @@ } } }, + "/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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "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", @@ -86635,15 +87462,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": [ { @@ -87412,15 +88239,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": [ { @@ -87558,7 +88385,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-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index bb424d3c67..d0ef9b9ec2 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -909,7 +909,7 @@ paths: - subscriptions_url - type - url - type: &333 + type: &335 type: string description: The type of credit the user is receiving. enum: @@ -1042,7 +1042,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &175 + schema: &177 title: Validation Error Simple description: Validation Error Simple type: object @@ -1075,7 +1075,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: - - &672 + - &674 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1660,7 +1660,7 @@ paths: schema: type: integer default: 30 - - &258 + - &260 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 @@ -1676,7 +1676,7 @@ paths: application/json: schema: type: array - items: &259 + items: &261 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1772,7 +1772,7 @@ paths: - installation_id - repository_id examples: - default: &260 + default: &262 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1804,7 +1804,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &682 + schema: &684 title: Scim Error description: Scim Error type: object @@ -1835,7 +1835,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &174 + schema: &176 title: Validation Error description: Validation Error type: object @@ -1907,7 +1907,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &263 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2042,7 +2042,7 @@ paths: - request - response examples: - default: &262 + default: &264 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2246,7 +2246,7 @@ paths: parameters: - *17 - *19 - - &139 + - &141 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) @@ -3008,7 +3008,7 @@ paths: license: anyOf: - type: 'null' - - &150 + - &152 title: License Simple description: License Simple type: object @@ -7672,7 +7672,7 @@ paths: description: Response content: application/json: - schema: &176 + schema: &178 type: object properties: total_active_caches_count: @@ -7687,7 +7687,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &177 + default: &179 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7892,7 +7892,7 @@ paths: - public_ip_enabled - platform examples: - default: &178 + default: &180 value: total_count: 2 runners: @@ -8182,7 +8182,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &181 type: object properties: public_ips: @@ -8209,7 +8209,7 @@ paths: required: - public_ips examples: - default: &180 + default: &182 value: public_ips: current_usage: 17 @@ -8249,7 +8249,7 @@ paths: type: array items: *43 examples: - default: &181 + default: &183 value: id: 4-core cpu_cores: 4 @@ -8507,7 +8507,7 @@ paths: - all - local_only - selected - selected_actions_url: &184 + selected_actions_url: &186 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` @@ -8888,7 +8888,7 @@ paths: description: Success response content: application/json: - schema: &187 + schema: &189 type: object properties: default_workflow_permissions: &51 @@ -8936,7 +8936,7 @@ paths: required: true content: application/json: - schema: &188 + schema: &190 type: object properties: default_workflow_permissions: *51 @@ -9781,7 +9781,7 @@ paths: application/json: schema: type: array - items: &192 + items: &194 title: Runner Application description: Runner Application type: object @@ -9806,7 +9806,7 @@ paths: - download_url - filename examples: - default: &193 + default: &195 value: - os: osx architecture: x64 @@ -9890,7 +9890,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &194 + '201': &196 description: Response content: application/json: @@ -10009,7 +10009,7 @@ paths: - token - expires_at examples: - default: &195 + default: &197 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10049,7 +10049,7 @@ paths: application/json: schema: *63 examples: - default: &196 + default: &198 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10081,7 +10081,7 @@ paths: application/json: schema: *60 examples: - default: &197 + default: &199 value: id: 23 name: MBP @@ -10297,7 +10297,7 @@ paths: - *39 - *59 responses: - '200': &198 + '200': &200 description: Response content: application/json: @@ -10353,7 +10353,7 @@ paths: parameters: - *39 - *59 - - &199 + - &201 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10450,7 +10450,7 @@ paths: required: true content: application/json: - schema: &206 + schema: &208 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -10522,7 +10522,7 @@ paths: required: false schema: type: string - - &207 + - &209 name: include description: |- The event types to include: @@ -10540,7 +10540,7 @@ paths: - web - git - all - - &208 + - &210 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. @@ -10548,7 +10548,7 @@ paths: required: false schema: type: string - - &209 + - &211 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. @@ -10556,7 +10556,7 @@ paths: required: false schema: type: string - - &210 + - &212 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -10578,7 +10578,7 @@ paths: application/json: schema: type: array - items: &211 + items: &213 type: object properties: "@timestamp": @@ -10700,7 +10700,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &212 + default: &214 value: - "@timestamp": 1606929874512 action: team.add_member @@ -11303,7 +11303,7 @@ paths: in: query schema: type: string - - &214 + - &216 name: reviewer description: Filter bypass requests by the handle of the GitHub user who reviewed the bypass request. @@ -11311,7 +11311,7 @@ paths: required: false schema: type: string - - &215 + - &217 name: requester description: Filter bypass requests by the handle of the GitHub user who requested the bypass. @@ -11319,7 +11319,7 @@ paths: required: false schema: type: string - - &216 + - &218 name: time_period description: |- The time period to filter by. @@ -11335,7 +11335,7 @@ paths: - week - month default: day - - &217 + - &219 name: request_status description: The status of the bypass request to filter on. When specified, only requests with this status will be returned. @@ -11362,7 +11362,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -11488,7 +11488,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: &221 + items: &223 title: Bypass response description: A response made by a delegated bypasser to a bypass request. @@ -11534,7 +11534,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &219 + default: &221 value: - id: 21 number: 42 @@ -11621,7 +11621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &226 + - &228 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`, @@ -11631,7 +11631,7 @@ paths: schema: &87 type: string description: The name of the tool used to generate the code scanning analysis. - - &227 + - &229 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 @@ -11655,7 +11655,7 @@ paths: be returned. in: query required: false - schema: &228 + schema: &230 type: string description: State of a code scanning alert. enum: @@ -11680,7 +11680,7 @@ paths: application/json: schema: type: array - items: &229 + items: &231 type: object properties: number: &96 @@ -11709,7 +11709,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &448 + instances_url: &450 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -11745,7 +11745,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &449 + dismissed_reason: &451 type: - string - 'null' @@ -11756,14 +11756,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &450 + dismissed_comment: &452 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &451 + rule: &453 type: object properties: id: @@ -11824,7 +11824,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &452 + tool: &454 type: object properties: name: *87 @@ -11835,15 +11835,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *88 - most_recent_instance: &453 + most_recent_instance: &455 type: object properties: - ref: &446 + ref: &448 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &463 + analysis_key: &465 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -11854,7 +11854,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &464 + category: &466 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12242,7 +12242,7 @@ paths: - most_recent_instance - repository examples: - default: &230 + default: &232 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13066,7 +13066,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &234 type: array description: A list of default code security configurations items: @@ -13082,7 +13082,7 @@ paths: default configuration: *90 examples: - default: &233 + default: &235 value: - default_for_new_repos: public configuration: @@ -13516,7 +13516,7 @@ paths: default: value: default_for_new_repos: all - configuration: &231 + configuration: &233 value: id: 1325 target_type: organization @@ -13599,7 +13599,7 @@ paths: application/json: schema: type: array - items: &234 + items: &236 type: object description: Repositories associated with a code security configuration and attachment status @@ -13623,7 +13623,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &235 + repository: &237 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14124,7 +14124,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &222 + - &224 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -14183,7 +14183,7 @@ paths: parent: anyOf: - type: 'null' - - &295 + - &297 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -14522,7 +14522,7 @@ paths: application/json: schema: type: array - items: &132 + items: &134 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -14837,7 +14837,7 @@ paths: - date additionalProperties: true examples: - default: &133 + default: &135 value: - date: '2024-06-24' total_active_users: 24 @@ -14939,7 +14939,7 @@ paths: '500': *83 '403': *27 '404': *6 - '422': &134 + '422': &136 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -14969,7 +14969,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &242 + - &244 name: state in: query description: |- @@ -14978,7 +14978,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &243 + - &245 name: severity in: query description: |- @@ -14987,7 +14987,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &244 + - &246 name: ecosystem in: query description: |- @@ -14996,14 +14996,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &245 + - &247 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 - - &246 + - &248 name: epss_percentage in: query description: |- @@ -15015,7 +15015,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 - - &247 + - &249 name: has in: query description: |- @@ -15029,7 +15029,7 @@ paths: type: string enum: - patch - - &248 + - &250 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -15039,7 +15039,7 @@ paths: enum: - development - runtime - - &249 + - &251 name: sort in: query description: |- @@ -15057,7 +15057,7 @@ paths: - *86 - *84 - *85 - - &250 + - &252 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -15070,7 +15070,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &251 + - &253 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -15090,7 +15090,7 @@ paths: application/json: schema: type: array - items: &252 + items: &254 type: object description: A Dependabot alert. properties: @@ -15157,7 +15157,7 @@ paths: - direct - transitive - - security_advisory: &500 + security_advisory: &502 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -15393,7 +15393,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: &501 + auto_dismissed_at: &503 type: - string - 'null' @@ -15420,7 +15420,7 @@ paths: - repository additionalProperties: false examples: - default: &253 + default: &255 value: - number: 2 state: dismissed @@ -15837,7 +15837,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: - *39 - - &213 + - &215 name: username description: The handle for the GitHub user account. in: path @@ -15949,7 +15949,7 @@ paths: - name - created_on examples: - default: &343 + default: &345 value: total_count: 2 network_configurations: @@ -16172,7 +16172,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: - *39 - - &344 + - &346 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -16184,7 +16184,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &347 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -16223,7 +16223,7 @@ paths: - subnet_id - region examples: - default: &346 + default: &348 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -16446,7 +16446,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise parameters: - *39 - - &165 + - &167 name: org description: The organization name. The name is not case sensitive. in: path @@ -16535,7 +16535,7 @@ paths: required: true content: application/json: - schema: &314 + schema: &316 title: Custom Property Set Payload description: Custom property set payload type: object @@ -16911,7 +16911,7 @@ paths: type: object description: A repository rule. oneOf: - - &616 + - &618 title: creation description: Only allow users with bypass permission to create matching refs. @@ -16923,7 +16923,7 @@ paths: type: string enum: - creation - - &617 + - &619 title: update description: Only allow users with bypass permission to update matching refs. @@ -16944,7 +16944,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &619 + - &621 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -16956,7 +16956,7 @@ paths: type: string enum: - deletion - - &620 + - &622 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -16968,7 +16968,7 @@ paths: type: string enum: - required_linear_history - - &621 + - &623 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -17044,7 +17044,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &622 + - &624 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that matches @@ -17068,7 +17068,7 @@ paths: type: string required: - required_deployment_environments - - &623 + - &625 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -17080,7 +17080,7 @@ paths: type: string enum: - required_signatures - - &624 + - &626 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. @@ -17140,7 +17140,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &625 + - &627 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be pushed @@ -17187,7 +17187,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &626 + - &628 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -17199,7 +17199,7 @@ paths: type: string enum: - non_fast_forward - - &627 + - &629 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -17235,7 +17235,7 @@ paths: required: - operator - pattern - - &628 + - &630 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -17271,7 +17271,7 @@ paths: required: - operator - pattern - - &629 + - &631 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -17307,7 +17307,7 @@ paths: required: - operator - pattern - - &630 + - &632 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -17343,7 +17343,7 @@ paths: required: - operator - pattern - - &631 + - &633 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -17379,7 +17379,7 @@ paths: required: - operator - pattern - - &632 + - &634 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit graph. @@ -17403,7 +17403,7 @@ paths: type: string required: - restricted_file_paths - - &633 + - &635 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed to the commit @@ -17427,7 +17427,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &634 + - &636 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -17450,7 +17450,7 @@ paths: type: string required: - restricted_file_extensions - - &635 + - &637 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit graph. @@ -17474,7 +17474,7 @@ paths: maximum: 100 required: - max_file_size - - &636 + - &638 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -17523,7 +17523,7 @@ paths: - repository_id required: - workflows - - &637 + - &639 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, code scanning @@ -17680,7 +17680,7 @@ paths: conditions: anyOf: - *119 - - &319 + - &321 title: Organization ruleset conditions type: object description: |- @@ -17964,7 +17964,7 @@ paths: type: string format: date-time examples: - default: &321 + default: &323 value: - version_id: 3 actor: @@ -18017,7 +18017,7 @@ paths: description: Response content: application/json: - schema: &322 + schema: &324 allOf: - *129 - type: object @@ -18072,7 +18072,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &323 + - &325 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -18083,7 +18083,7 @@ paths: enum: - open - resolved - - &324 + - &326 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -18093,7 +18093,7 @@ paths: required: false schema: type: string - - &325 + - &327 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -18102,7 +18102,7 @@ paths: required: false schema: type: string - - &326 + - &328 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. @@ -18118,7 +18118,7 @@ paths: - *17 - *84 - *85 - - &327 + - &329 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -18127,7 +18127,7 @@ paths: required: false schema: type: string - - &328 + - &330 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -18136,7 +18136,7 @@ paths: schema: type: boolean default: false - - &329 + - &331 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -18145,7 +18145,7 @@ paths: schema: type: boolean default: false - - &330 + - &332 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -18161,7 +18161,7 @@ paths: application/json: schema: type: array - items: &331 + items: &333 type: object properties: number: *96 @@ -18177,14 +18177,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &650 + state: &652 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: &651 + resolution: &653 type: - string - 'null' @@ -18291,14 +18291,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &652 + - &654 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &654 + - &656 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -18355,7 +18355,7 @@ paths: - blob_url - commit_sha - commit_url - - &655 + - &657 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. @@ -18416,7 +18416,7 @@ paths: - page_url - commit_sha - commit_url - - &656 + - &658 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -18431,7 +18431,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &657 + - &659 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -18446,7 +18446,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &658 + - &660 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -18461,7 +18461,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &659 + - &661 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -18476,7 +18476,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &660 + - &662 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -18491,7 +18491,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &661 + - &663 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -18506,7 +18506,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &662 + - &664 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. @@ -18521,7 +18521,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &663 + - &665 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. @@ -18536,7 +18536,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &664 + - &666 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. @@ -18551,7 +18551,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &665 + - &667 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. @@ -18566,7 +18566,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &666 + - &668 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 @@ -18587,7 +18587,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &332 + default: &334 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -18869,7 +18869,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &336 type: object properties: total_minutes_used: @@ -18939,7 +18939,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &335 + default: &337 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -18970,7 +18970,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &336 + - &338 name: advanced_security_product in: query description: | @@ -18990,7 +18990,7 @@ paths: description: Success content: application/json: - schema: &337 + schema: &339 type: object properties: total_advanced_security_committers: @@ -19053,7 +19053,7 @@ paths: required: - repositories examples: - default: &338 + default: &340 value: total_advanced_security_committers: 2 total_count: 2 @@ -19156,6 +19156,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: + - *39 + - &133 + 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: &131 + 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: &132 + 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': *27 + '500': *83 + '503': *130 + 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: *131 + examples: + default: *132 + '400': *14 + '403': *27 + '404': *6 + '409': *94 + '500': *83 + '503': *130 + 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: + - *39 + - *133 + 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': *27 + '500': *83 + '503': *130 + 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 @@ -19171,13 +19357,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *39 - - &131 - name: cost_center_id - description: The ID corresponding to the cost center. - in: path - required: true - schema: - type: string + - *133 requestBody: required: true content: @@ -19234,7 +19414,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *39 - - *131 + - *133 requestBody: required: true content: @@ -19302,7 +19482,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &341 type: object properties: total_gigabytes_bandwidth_used: @@ -19320,7 +19500,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &340 + default: &342 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -19355,7 +19535,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &343 type: object properties: days_left_in_billing_cycle: @@ -19373,7 +19553,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &342 + default: &344 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -19398,7 +19578,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *39 - - &166 + - &168 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, @@ -19407,7 +19587,7 @@ paths: required: false schema: type: integer - - &167 + - &169 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 @@ -19416,7 +19596,7 @@ paths: required: false schema: type: integer - - &168 + - &170 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 @@ -19425,7 +19605,7 @@ paths: required: false schema: type: integer - - &169 + - &171 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 @@ -19446,7 +19626,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &170 + schema: &172 type: object properties: usageItems: @@ -19499,7 +19679,7 @@ paths: - netAmount - organizationName examples: - default: &171 + default: &173 value: usageItems: - date: '2023-08-01' @@ -19587,13 +19767,13 @@ paths: application/json: schema: type: array - items: *132 + items: *134 examples: - default: *133 + default: *135 '500': *83 '403': *27 '404': *6 - '422': *134 + '422': *136 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -19682,7 +19862,7 @@ paths: application/json: schema: type: array - items: &160 + items: &162 title: Event description: Event type: object @@ -19693,7 +19873,7 @@ paths: type: - string - 'null' - actor: &135 + actor: &137 title: Actor description: Actor type: object @@ -19734,13 +19914,13 @@ paths: - id - name - url - org: *135 + org: *137 payload: type: object properties: action: type: string - issue: &149 + issue: &151 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -19860,7 +20040,7 @@ paths: milestone: anyOf: - type: 'null' - - &488 + - &490 title: Milestone description: A collection of related issues and pull requests. @@ -20032,7 +20212,7 @@ paths: timeline_url: type: string format: uri - type: &280 + type: &282 title: Issue Type description: The type of issue. type: @@ -20090,7 +20270,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &136 + author_association: &138 title: author_association type: string description: How the author is associated with the repository. @@ -20105,7 +20285,7 @@ paths: - OWNER examples: - OWNER - reactions: &137 + reactions: &139 title: Reaction Rollup type: object properties: @@ -20177,7 +20357,7 @@ paths: - author_association - created_at - updated_at - comment: &556 + comment: &558 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -20227,12 +20407,12 @@ paths: issue_url: type: string format: uri - author_association: *136 + author_association: *138 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *137 + reactions: *139 required: - id - node_id @@ -20419,7 +20599,7 @@ paths: _links: type: object properties: - timeline: &138 + timeline: &140 title: Link With Type description: Hypermedia Link with Type type: object @@ -20431,17 +20611,17 @@ paths: required: - href - type - user: *138 - security_advisories: *138 - current_user: *138 - current_user_public: *138 - current_user_actor: *138 - current_user_organization: *138 + user: *140 + security_advisories: *140 + current_user: *140 + current_user_public: *140 + current_user_actor: *140 + current_user_organization: *140 current_user_organizations: type: array - items: *138 - repository_discussions: *138 - repository_discussions_category: *138 + items: *140 + repository_discussions: *140 + repository_discussions_category: *140 required: - timeline - user @@ -20503,7 +20683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *139 + - *141 - *17 - *19 responses: @@ -20513,7 +20693,7 @@ paths: application/json: schema: type: array - items: &140 + items: &142 title: Base Gist description: Base Gist type: object @@ -20610,7 +20790,7 @@ paths: - created_at - updated_at examples: - default: &141 + default: &143 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -20734,7 +20914,7 @@ paths: description: Response content: application/json: - schema: &142 + schema: &144 title: Gist Simple description: Gist Simple type: object @@ -20752,7 +20932,7 @@ paths: url: type: string format: uri - user: &721 + user: &723 title: Public User description: Public User type: object @@ -21126,7 +21306,7 @@ paths: truncated: type: boolean examples: - default: &143 + default: &145 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -21230,7 +21410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *139 + - *141 - *17 - *19 responses: @@ -21240,9 +21420,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *141 + default: *143 headers: Link: *38 '422': *15 @@ -21264,7 +21444,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *139 + - *141 - *17 - *19 responses: @@ -21274,9 +21454,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *141 + default: *143 headers: Link: *38 '401': *23 @@ -21304,7 +21484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &144 + - &146 name: gist_id description: The unique identifier of the gist. in: path @@ -21316,10 +21496,10 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: *143 - '403': &147 + default: *145 + '403': &149 description: Forbidden Gist content: application/json: @@ -21368,7 +21548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *144 + - *146 requestBody: required: true content: @@ -21432,9 +21612,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: - updateGist: *143 + updateGist: *145 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -21592,7 +21772,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *144 + - *146 responses: '204': description: Response @@ -21621,7 +21801,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *144 + - *146 - *17 - *19 responses: @@ -21631,7 +21811,7 @@ paths: application/json: schema: type: array - items: &145 + items: &147 title: Gist Comment description: A comment made to a gist. type: object @@ -21669,7 +21849,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *136 + author_association: *138 required: - url - id @@ -21734,7 +21914,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *144 + - *146 requestBody: required: true content: @@ -21760,9 +21940,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *147 examples: - default: &146 + default: &148 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -21820,8 +22000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *144 - - &148 + - *146 + - &150 name: comment_id description: The unique identifier of the comment. in: path @@ -21834,12 +22014,12 @@ paths: description: Response content: application/json: - schema: *145 + schema: *147 examples: - default: *146 + default: *148 '304': *35 '404': *6 - '403': *147 + '403': *149 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21861,8 +22041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *144 - - *148 + - *146 + - *150 requestBody: required: true content: @@ -21888,9 +22068,9 @@ paths: description: Response content: application/json: - schema: *145 + schema: *147 examples: - default: *146 + default: *148 '404': *6 x-github: githubCloudOnly: false @@ -21907,8 +22087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *144 - - *148 + - *146 + - *150 responses: '204': description: Response @@ -21931,7 +22111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *144 + - *146 - *17 - *19 responses: @@ -22032,7 +22212,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *144 + - *146 - *17 - *19 responses: @@ -22042,7 +22222,7 @@ paths: application/json: schema: type: array - items: *142 + items: *144 examples: default: value: @@ -22107,13 +22287,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *144 + - *146 responses: '201': description: Response content: application/json: - schema: *140 + schema: *142 examples: default: value: @@ -22184,7 +22364,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *144 + - *146 responses: '204': description: Response if gist is starred @@ -22214,7 +22394,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *144 + - *146 responses: '204': description: Response @@ -22236,7 +22416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *144 + - *146 responses: '204': description: Response @@ -22265,7 +22445,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *144 + - *146 - name: sha in: path required: true @@ -22276,9 +22456,9 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: - default: *143 + default: *145 '422': *15 '404': *6 '403': *27 @@ -22647,7 +22827,7 @@ paths: - closed - all default: open - - &283 + - &285 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -22666,7 +22846,7 @@ paths: - comments default: created - *86 - - *139 + - *141 - name: collab in: query required: false @@ -22696,9 +22876,9 @@ paths: application/json: schema: type: array - items: *149 + items: *151 examples: - default: &284 + default: &286 value: - id: 1 node_id: MDU6SXNzdWUx @@ -22978,7 +23158,7 @@ paths: application/json: schema: type: array - items: *150 + items: *152 examples: default: value: @@ -23276,7 +23456,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &151 + X-CommonMarker-Version: &153 example: 0.17.4 schema: type: string @@ -23331,7 +23511,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *151 + X-CommonMarker-Version: *153 content: text/html: schema: @@ -23360,7 +23540,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: - - &154 + - &156 name: account_id description: account_id parameter in: path @@ -23372,7 +23552,7 @@ paths: description: Response content: application/json: - schema: &153 + schema: &155 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -23406,7 +23586,7 @@ paths: - 'null' id: type: integer - plan: &152 + plan: &154 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -23509,7 +23689,7 @@ paths: - 'null' updated_at: type: string - plan: *152 + plan: *154 required: - url - id @@ -23517,7 +23697,7 @@ paths: - login - marketplace_purchase examples: - default: &155 + default: &157 value: url: https://api.github.com/orgs/github type: Organization @@ -23602,9 +23782,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: &156 + default: &158 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -23644,14 +23824,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &157 + - &159 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &158 + - &160 name: sort description: The property to sort the results by. in: query @@ -23681,9 +23861,9 @@ paths: application/json: schema: type: array - items: *153 + items: *155 examples: - default: &159 + default: &161 value: - url: https://api.github.com/orgs/github type: Organization @@ -23757,15 +23937,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: - - *154 + - *156 responses: '200': description: Response content: application/json: - schema: *153 + schema: *155 examples: - default: *155 + default: *157 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -23797,9 +23977,9 @@ paths: application/json: schema: type: array - items: *152 + items: *154 examples: - default: *156 + default: *158 headers: Link: *38 '401': *23 @@ -23822,8 +24002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *157 - - *158 + - *159 + - *160 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -23843,9 +24023,9 @@ paths: application/json: schema: type: array - items: *153 + items: *155 examples: - default: *159 + default: *161 headers: Link: *38 '401': *23 @@ -24110,14 +24290,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: - - &366 + - &368 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &367 + - &369 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -24134,7 +24314,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -24188,7 +24368,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &380 + '301': &382 description: Moved permanently content: application/json: @@ -24210,7 +24390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &585 + - &587 name: all description: If `true`, show notifications marked as read. in: query @@ -24218,7 +24398,7 @@ paths: schema: type: boolean default: false - - &586 + - &588 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -24227,8 +24407,8 @@ paths: schema: type: boolean default: false - - *139 - - &587 + - *141 + - &589 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: @@ -24253,14 +24433,14 @@ paths: application/json: schema: type: array - items: &161 + items: &163 title: Thread description: Thread type: object properties: id: type: string - repository: &191 + repository: &193 title: Minimal Repository description: Minimal Repository type: object @@ -24599,7 +24779,7 @@ paths: type: boolean examples: - false - security_and_analysis: &316 + security_and_analysis: &318 type: - object - 'null' @@ -24768,7 +24948,7 @@ paths: - url - subscription_url examples: - default: &588 + default: &590 value: - id: '1' repository: @@ -24934,7 +25114,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &162 + - &164 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 @@ -24948,7 +25128,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *163 examples: default: value: @@ -25051,7 +25231,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *162 + - *164 responses: '205': description: Reset Content @@ -25074,7 +25254,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *162 + - *164 responses: '204': description: No content @@ -25097,13 +25277,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: - - *162 + - *164 responses: '200': description: Response content: application/json: - schema: &163 + schema: &165 title: Thread Subscription description: Thread Subscription type: object @@ -25147,7 +25327,7 @@ paths: - url - subscribed examples: - default: &164 + default: &166 value: subscribed: true ignored: false @@ -25178,7 +25358,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *162 + - *164 requestBody: required: false content: @@ -25199,9 +25379,9 @@ paths: description: Response content: application/json: - schema: *163 + schema: *165 examples: - default: *164 + default: *166 '304': *35 '403': *27 '401': *23 @@ -25224,7 +25404,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *162 + - *164 responses: '204': description: Response @@ -25321,7 +25501,7 @@ paths: type: array items: *57 examples: - default: &738 + default: &740 value: - login: github id: 1 @@ -25386,7 +25566,7 @@ paths: - 3 custom_roles: type: array - items: &237 + items: &239 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -25435,7 +25615,7 @@ paths: - created_at - updated_at examples: - default: &238 + default: &240 value: id: 8030 name: Security Engineer @@ -25469,9 +25649,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. @@ -25480,9 +25660,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: - - *165 + - *167 - name: page in: query description: The page number of results to fetch. @@ -25611,9 +25791,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. @@ -25630,9 +25811,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: - - *165 + - *167 requestBody: required: true content: @@ -25684,13 +25865,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 @@ -25698,7 +25879,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: - - *165 + - *167 requestBody: required: true content: @@ -25746,19 +25927,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: - - *165 - - *166 - *167 - *168 - *169 + - *170 + - *171 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *170 + schema: *172 examples: - default: *171 + default: *173 '400': *14 '403': *27 '500': *83 @@ -25788,13 +25969,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: &172 + schema: &174 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -26204,7 +26385,7 @@ paths: - updated_at - archived_at examples: - default-response: &173 + default-response: &175 value: login: github id: 1 @@ -26306,7 +26487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *165 + - *167 requestBody: required: false content: @@ -26530,17 +26711,17 @@ paths: description: Response content: application/json: - schema: *172 + schema: *174 examples: - default: *173 + default: *175 '422': description: Validation failed content: application/json: schema: oneOf: - - *174 - - *175 + - *176 + - *177 '409': *94 x-github: githubCloudOnly: false @@ -26564,7 +26745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *165 + - *167 responses: '202': *37 '404': *6 @@ -26589,15 +26770,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *176 + schema: *178 examples: - default: *177 + default: *179 headers: Link: *38 x-github: @@ -26620,7 +26801,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: - - *165 + - *167 - *17 - *19 responses: @@ -26638,7 +26819,7 @@ paths: type: integer repository_cache_usages: type: array - items: &385 + items: &387 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -26696,7 +26877,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: - - *165 + - *167 - *17 - *19 responses: @@ -26716,7 +26897,7 @@ paths: type: array items: *40 examples: - default: *178 + default: *180 headers: Link: *38 x-github: @@ -26736,7 +26917,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: - - *165 + - *167 requestBody: required: true content: @@ -26823,7 +27004,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: - - *165 + - *167 responses: '200': description: Response @@ -26859,7 +27040,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: - - *165 + - *167 responses: '200': description: Response @@ -26894,15 +27075,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *179 + schema: *181 examples: - default: *180 + default: *182 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26920,7 +27101,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: - - *165 + - *167 responses: '200': description: Response @@ -26938,7 +27119,7 @@ paths: type: array items: *43 examples: - default: *181 + default: *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26956,7 +27137,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: - - *165 + - *167 responses: '200': description: Response @@ -27000,7 +27181,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: - - *165 + - *167 - *45 responses: '200': @@ -27029,7 +27210,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: - - *165 + - *167 - *45 requestBody: required: true @@ -27086,7 +27267,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: - - *165 + - *167 - *45 responses: '202': @@ -27115,13 +27296,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: - - *165 + - *167 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &182 + schema: &184 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -27135,7 +27316,7 @@ paths: required: - include_claim_keys examples: - default: &183 + default: &185 value: include_claim_keys: - repo @@ -27157,20 +27338,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: - - *165 + - *167 requestBody: required: true content: application/json: - schema: *182 + schema: *184 examples: - default: *183 + default: *185 responses: '201': description: Empty response content: application/json: - schema: &202 + schema: &204 title: Empty Object description: An object without any properties. type: object @@ -27200,7 +27381,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: - - *165 + - *167 responses: '200': description: Response @@ -27209,7 +27390,7 @@ paths: schema: type: object properties: - enabled_repositories: &185 + enabled_repositories: &187 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -27223,7 +27404,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *47 - selected_actions_url: *184 + selected_actions_url: *186 required: - enabled_repositories examples: @@ -27252,7 +27433,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: - - *165 + - *167 responses: '204': description: Response @@ -27263,7 +27444,7 @@ paths: schema: type: object properties: - enabled_repositories: *185 + enabled_repositories: *187 allowed_actions: *47 required: - enabled_repositories @@ -27291,7 +27472,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: - - *165 + - *167 - *17 - *19 responses: @@ -27311,7 +27492,7 @@ paths: type: array items: *62 examples: - default: &732 + default: &734 value: total_count: 1 repositories: @@ -27451,7 +27632,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: - - *165 + - *167 responses: '204': description: Response @@ -27495,8 +27676,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: - - *165 - - &186 + - *167 + - &188 name: repository_id description: The unique identifier of the repository. in: path @@ -27524,8 +27705,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: - - *165 - - *186 + - *167 + - *188 responses: '204': description: Response @@ -27548,7 +27729,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: - - *165 + - *167 responses: '200': description: Response @@ -27579,7 +27760,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: - - *165 + - *167 responses: '204': description: Response @@ -27611,13 +27792,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: default: *53 x-github: @@ -27640,7 +27821,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: - - *165 + - *167 responses: '204': description: Success response @@ -27651,7 +27832,7 @@ paths: required: false content: application/json: - schema: *188 + schema: *190 examples: default: *53 x-github: @@ -27673,7 +27854,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: - - *165 + - *167 - *17 - *19 - name: visible_to_repository @@ -27698,7 +27879,7 @@ paths: type: number runner_groups: type: array - items: &189 + items: &191 type: object properties: id: @@ -27815,7 +27996,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: - - *165 + - *167 requestBody: required: true content: @@ -27888,9 +28069,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: &190 + default: &192 value: id: 2 name: octo-runner-group @@ -27925,14 +28106,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: - - *165 + - *167 - *56 responses: '200': description: Response content: application/json: - schema: *189 + schema: *191 examples: default: value: @@ -27968,7 +28149,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: - - *165 + - *167 - *56 requestBody: required: true @@ -28025,9 +28206,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -28046,7 +28227,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: - - *165 + - *167 - *56 responses: '204': @@ -28070,7 +28251,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: - - *165 + - *167 - *56 - *17 - *19 @@ -28091,7 +28272,7 @@ paths: type: array items: *40 examples: - default: *178 + default: *180 headers: Link: *38 x-github: @@ -28113,7 +28294,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: - - *165 + - *167 - *56 - *19 - *17 @@ -28132,9 +28313,9 @@ paths: type: number repositories: type: array - items: *191 + items: *193 examples: - default: &724 + default: &726 value: total_count: 1 repositories: @@ -28386,7 +28567,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: - - *165 + - *167 - *56 requestBody: required: true @@ -28431,9 +28612,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: - - *165 + - *167 - *56 - - *186 + - *188 responses: '204': description: Response @@ -28455,9 +28636,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: - - *165 + - *167 - *56 - - *186 + - *188 responses: '204': description: Response @@ -28480,7 +28661,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: - - *165 + - *167 - *56 - *17 - *19 @@ -28522,7 +28703,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: - - *165 + - *167 - *56 requestBody: required: true @@ -28567,7 +28748,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: - - *165 + - *167 - *56 - *59 responses: @@ -28591,7 +28772,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: - - *165 + - *167 - *56 - *59 responses: @@ -28623,7 +28804,7 @@ paths: in: query schema: type: string - - *165 + - *167 - *17 - *19 responses: @@ -28667,7 +28848,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: - - *165 + - *167 responses: '200': description: Response @@ -28675,9 +28856,9 @@ paths: application/json: schema: type: array - items: *192 + items: *194 examples: - default: *193 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28699,7 +28880,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: - - *165 + - *167 requestBody: required: true content: @@ -28742,7 +28923,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *194 + '201': *196 '404': *6 '422': *7 '409': *94 @@ -28773,7 +28954,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: - - *165 + - *167 responses: '201': description: Response @@ -28781,7 +28962,7 @@ paths: application/json: schema: *63 examples: - default: *195 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28809,7 +28990,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: - - *165 + - *167 responses: '201': description: Response @@ -28817,7 +28998,7 @@ paths: application/json: schema: *63 examples: - default: *196 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28839,7 +29020,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: - - *165 + - *167 - *59 responses: '200': @@ -28848,7 +29029,7 @@ paths: application/json: schema: *60 examples: - default: *197 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28869,7 +29050,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: - - *165 + - *167 - *59 responses: '204': @@ -28896,7 +29077,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: - - *165 + - *167 - *59 responses: '200': *65 @@ -28921,7 +29102,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: - - *165 + - *167 - *59 requestBody: required: true @@ -28970,7 +29151,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: - - *165 + - *167 - *59 requestBody: required: true @@ -29020,10 +29201,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: - - *165 + - *167 - *59 responses: - '200': *198 + '200': *200 '404': *6 x-github: githubCloudOnly: false @@ -29050,9 +29231,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: - - *165 + - *167 - *59 - - *199 + - *201 responses: '200': *65 '404': *6 @@ -29079,7 +29260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *165 + - *167 - *17 - *19 responses: @@ -29097,7 +29278,7 @@ paths: type: integer secrets: type: array - items: &200 + items: &202 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -29172,13 +29353,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: &405 + schema: &407 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -29213,7 +29394,7 @@ paths: - key_id - key examples: - default: &406 + default: &408 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29238,8 +29419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *165 - - &201 + - *167 + - &203 name: secret_name description: The name of the secret. in: path @@ -29251,7 +29432,7 @@ paths: description: Response content: application/json: - schema: *200 + schema: *202 examples: default: value: @@ -29281,8 +29462,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -29339,7 +29520,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -29365,8 +29546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 responses: '204': description: Response @@ -29392,8 +29573,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: - - *165 - - *201 + - *167 + - *203 - *19 - *17 responses: @@ -29411,9 +29592,9 @@ paths: type: integer repositories: type: array - items: *191 + items: *193 examples: - default: &205 + default: &207 value: total_count: 1 repositories: @@ -29505,8 +29686,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: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -29558,8 +29739,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -29592,8 +29773,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -29625,8 +29806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *165 - - &390 + - *167 + - &392 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)." @@ -29650,7 +29831,7 @@ paths: type: integer variables: type: array - items: &203 + items: &205 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -29740,7 +29921,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *165 + - *167 requestBody: required: true content: @@ -29788,7 +29969,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -29813,8 +29994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *165 - - &204 + - *167 + - &206 name: name description: The name of the variable. in: path @@ -29826,7 +30007,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *205 examples: default: value: @@ -29856,8 +30037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *165 - - *204 + - *167 + - *206 requestBody: required: true content: @@ -29919,8 +30100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *165 - - *204 + - *167 + - *206 responses: '204': description: Response @@ -29946,8 +30127,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: - - *165 - - *204 + - *167 + - *206 - *19 - *17 responses: @@ -29965,9 +30146,9 @@ paths: type: integer repositories: type: array - items: *191 + items: *193 examples: - default: *205 + default: *207 '409': description: Response when the visibility of the variable is not set to `selected` @@ -29993,8 +30174,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: - - *165 - - *204 + - *167 + - *206 requestBody: required: true content: @@ -30043,8 +30224,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: - - *165 - - *204 + - *167 + - *206 - name: repository_id in: path required: true @@ -30078,8 +30259,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: - - *165 - - *204 + - *167 + - *206 - name: repository_id in: path required: true @@ -30110,7 +30291,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *165 + - *167 responses: '200': description: Response @@ -30137,11 +30318,11 @@ paths: required: true content: application/json: - schema: *206 + schema: *208 examples: default: *69 parameters: - - *165 + - *167 responses: '200': description: Response @@ -30165,7 +30346,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *165 + - *167 responses: '204': description: Response @@ -30193,7 +30374,7 @@ paths: - *17 - *84 - *85 - - *165 + - *167 requestBody: required: true content: @@ -30216,12 +30397,12 @@ paths: required: - subject_digests examples: - default: &753 + default: &755 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &754 + withPredicateType: &756 value: subject_digests: - sha256:abc123 @@ -30280,7 +30461,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &755 + default: &757 value: attestations_subject_digests: - sha256:abc: @@ -30389,7 +30570,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-in-bulk parameters: - - *165 + - *167 requestBody: required: true content: @@ -30454,7 +30635,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-subject-digest parameters: - - *165 + - *167 - name: subject_digest description: Subject Digest in: path @@ -30485,7 +30666,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/attestations#delete-attestations-by-id parameters: - - *165 + - *167 - name: attestation_id description: Attestation ID in: path @@ -30523,7 +30704,7 @@ paths: - *17 - *84 - *85 - - *165 + - *167 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -30574,7 +30755,7 @@ paths: bundle_url: type: string examples: - default: &419 + default: &421 value: attestations: - bundle: @@ -30692,7 +30873,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: - - *165 + - *167 - 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). @@ -30700,10 +30881,10 @@ paths: required: false schema: type: string - - *207 - - *208 - *209 - *210 + - *211 + - *212 - *17 responses: '200': @@ -30712,9 +30893,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -30731,7 +30912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *165 + - *167 - *17 - *19 responses: @@ -30743,7 +30924,7 @@ paths: type: array items: *4 examples: - default: &285 + default: &287 value: - login: octocat id: 1 @@ -30781,8 +30962,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: If the user is blocked @@ -30807,8 +30988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -30828,8 +31009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -30855,17 +31036,17 @@ paths: category: orgs subcategory: bypass-requests parameters: - - *165 - - &220 + - *167 + - &222 name: repository_name description: The name of the repository to filter on. in: query schema: type: string - - *214 - - *215 - *216 - *217 + - *218 + - *219 - *17 - *19 responses: @@ -30875,9 +31056,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '404': *6 '500': *83 "/orgs/{org}/bypass-requests/secret-scanning": @@ -30900,12 +31081,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *165 - - *220 - - *214 - - *215 + - *167 + - *222 - *216 - *217 + - *218 + - *219 - *17 - *19 responses: @@ -30915,7 +31096,7 @@ paths: application/json: schema: type: array - items: &436 + items: &438 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -31033,7 +31214,7 @@ paths: - array - 'null' description: The responses to the bypass request. - items: *221 + items: *223 url: type: string format: uri @@ -31046,7 +31227,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &437 + default: &439 value: - id: 21 number: 42 @@ -31130,7 +31311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#list-campaigns-for-an-organization parameters: - - *165 + - *167 - *19 - *17 - *86 @@ -31138,7 +31319,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &223 + schema: &225 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -31164,7 +31345,7 @@ paths: application/json: schema: type: array - items: &224 + items: &226 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -31195,7 +31376,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *222 + items: *224 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -31214,7 +31395,7 @@ paths: - string - 'null' format: date-time - state: *223 + state: *225 contact_link: description: The contact link of the campaign. type: @@ -31336,7 +31517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#create-a-campaign-for-an-organization parameters: - - *165 + - *167 requestBody: required: true content: @@ -31431,9 +31612,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: &225 + default: &227 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -31504,7 +31685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#get-a-campaign-for-an-organization parameters: - - *165 + - *167 - name: campaign_number description: The campaign number. in: path @@ -31516,9 +31697,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 '404': *6 '422': description: Unprocessable Entity @@ -31546,7 +31727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#update-a-campaign parameters: - - *165 + - *167 - name: campaign_number description: The campaign number. in: path @@ -31596,7 +31777,7 @@ paths: - string - 'null' format: uri - state: *223 + state: *225 examples: default: value: @@ -31606,9 +31787,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *226 examples: - default: *225 + default: *227 '400': description: Bad Request content: @@ -31641,7 +31822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/campaigns/campaigns#delete-a-campaign-for-an-organization parameters: - - *165 + - *167 - name: campaign_number description: The campaign number. in: path @@ -31674,9 +31855,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: - - *165 - - *226 - - *227 + - *167 + - *228 + - *229 - *84 - *85 - *19 @@ -31687,7 +31868,7 @@ paths: be returned. in: query required: false - schema: *228 + schema: *230 - name: sort description: The property by which to sort the results. in: query @@ -31703,7 +31884,7 @@ paths: be returned. in: query required: false - schema: &447 + schema: &449 type: string description: Severity of a code scanning alert. enum: @@ -31721,9 +31902,9 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: - default: *230 + default: *232 headers: Link: *38 '404': *6 @@ -31749,7 +31930,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: - - *165 + - *167 - name: target_type in: query description: The target type of the code security configuration @@ -31860,7 +32041,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *165 + - *167 requestBody: required: true content: @@ -32064,7 +32245,7 @@ paths: application/json: schema: *90 examples: - default: *231 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32086,15 +32267,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *232 + schema: *234 examples: - default: *233 + default: *235 '304': *35 '403': *27 '404': *6 @@ -32120,7 +32301,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *165 + - *167 requestBody: required: true content: @@ -32169,7 +32350,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *165 + - *167 - *92 responses: '200': @@ -32178,7 +32359,7 @@ paths: application/json: schema: *90 examples: - default: *231 + default: *233 '304': *35 '403': *27 '404': *6 @@ -32202,7 +32383,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *165 + - *167 - *92 requestBody: required: true @@ -32441,7 +32622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *165 + - *167 - *92 responses: '204': *116 @@ -32472,7 +32653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *165 + - *167 - *92 requestBody: required: true @@ -32536,7 +32717,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: - - *165 + - *167 - *92 requestBody: required: true @@ -32582,7 +32763,7 @@ paths: default: value: default_for_new_repos: all - configuration: *231 + configuration: *233 '403': *27 '404': *6 x-github: @@ -32606,7 +32787,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: - - *165 + - *167 - *92 - name: per_page description: The number of results per page (max 100). For more information, @@ -32635,13 +32816,13 @@ paths: application/json: schema: type: array - items: *234 + items: *236 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *235 + repository: *237 '403': *27 '404': *6 x-github: @@ -32665,7 +32846,7 @@ paths: parameters: - *17 - *19 - - *165 + - *167 responses: '200': description: Response @@ -32681,7 +32862,7 @@ paths: type: integer codespaces: type: array - items: &286 + items: &288 type: object title: Codespace description: A codespace. @@ -32712,11 +32893,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *191 + repository: *193 machine: anyOf: - type: 'null' - - &476 + - &478 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -33003,7 +33184,7 @@ paths: - pulls_url - recent_folders examples: - default: &287 + default: &289 value: total_count: 3 codespaces: @@ -33435,7 +33616,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *165 + - *167 deprecated: true requestBody: required: true @@ -33502,7 +33683,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: - - *165 + - *167 deprecated: true requestBody: required: true @@ -33557,7 +33738,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *165 + - *167 requestBody: required: true content: @@ -33609,7 +33790,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *165 + - *167 - *17 - *19 responses: @@ -33627,7 +33808,7 @@ paths: type: integer secrets: type: array - items: &236 + items: &238 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -33668,7 +33849,7 @@ paths: - updated_at - visibility examples: - default: &477 + default: &479 value: total_count: 2 secrets: @@ -33700,13 +33881,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: &478 + schema: &480 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -33741,7 +33922,7 @@ paths: - key_id - key examples: - default: &479 + default: &481 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -33764,16 +33945,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 responses: '200': description: Response content: application/json: - schema: *236 + schema: *238 examples: - default: &481 + default: &483 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -33800,8 +33981,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: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -33856,7 +34037,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -33882,8 +34063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 responses: '204': description: Response @@ -33908,8 +34089,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: - - *165 - - *201 + - *167 + - *203 - *19 - *17 responses: @@ -33927,9 +34108,9 @@ paths: type: integer repositories: type: array - items: *191 + items: *193 examples: - default: *205 + default: *207 '404': *6 x-github: githubCloudOnly: false @@ -33951,8 +34132,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: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -34002,8 +34183,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -34036,8 +34217,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -34076,7 +34257,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: - - *165 + - *167 responses: '200': description: OK @@ -34217,7 +34398,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: - - *165 + - *167 - *19 - name: per_page description: The number of results per page (max 100). For more information, @@ -34278,7 +34459,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: - - *165 + - *167 requestBody: content: application/json: @@ -34356,7 +34537,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: - - *165 + - *167 requestBody: content: application/json: @@ -34436,7 +34617,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: - - *165 + - *167 requestBody: content: application/json: @@ -34513,7 +34694,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: - - *165 + - *167 requestBody: content: application/json: @@ -34594,7 +34775,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: - - *165 + - *167 - 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`). @@ -34626,13 +34807,13 @@ paths: application/json: schema: type: array - items: *132 + items: *134 examples: - default: *133 + default: *135 '500': *83 '403': *27 '404': *6 - '422': *134 + '422': *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34654,7 +34835,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: - - *165 + - *167 - *17 - name: page description: Page token @@ -34813,7 +34994,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: - - *165 + - *167 - name: credential_id in: path required: true @@ -34844,7 +35025,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: - - *165 + - *167 responses: '200': description: Response - list of custom role names @@ -34860,7 +35041,7 @@ paths: - 3 custom_roles: type: array - items: *237 + items: *239 examples: default: value: @@ -34947,12 +35128,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *165 + - *167 requestBody: required: true content: application/json: - schema: &240 + schema: &242 type: object properties: name: @@ -34994,9 +35175,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '422': *15 '404': *6 x-github: @@ -35020,8 +35201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *165 - - &239 + - *167 + - &241 name: role_id description: The unique identifier of the role. in: path @@ -35033,9 +35214,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '404': *6 x-github: githubCloudOnly: true @@ -35057,13 +35238,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *165 - - *239 + - *167 + - *241 requestBody: required: true content: application/json: - schema: &241 + schema: &243 type: object properties: name: @@ -35102,9 +35283,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '422': *15 '404': *6 x-github: @@ -35128,8 +35309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *165 - - *239 + - *167 + - *241 responses: '204': description: Response @@ -35157,12 +35338,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: - - *165 + - *167 requestBody: required: true content: application/json: - schema: *240 + schema: *242 examples: default: value: @@ -35176,9 +35357,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '422': *15 '404': *6 x-github: @@ -35208,16 +35389,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: - - *165 - - *239 + - *167 + - *241 responses: '200': description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '404': *6 x-github: githubCloudOnly: true @@ -35245,13 +35426,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: - - *165 - - *239 + - *167 + - *241 requestBody: required: true content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -35266,9 +35447,9 @@ paths: description: Response content: application/json: - schema: *237 + schema: *239 examples: - default: *238 + default: *240 '422': *15 '404': *6 x-github: @@ -35298,8 +35479,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: - - *165 - - *239 + - *167 + - *241 responses: '204': description: Response @@ -35327,20 +35508,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *165 - - *242 - - *243 + - *167 - *244 - *245 - *246 - *247 - *248 - *249 + - *250 + - *251 - *86 - *84 - *85 - - *250 - - *251 + - *252 + - *253 - *17 responses: '200': @@ -35349,9 +35530,9 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: - default: *253 + default: *255 '304': *35 '400': *14 '403': *27 @@ -35377,7 +35558,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *165 + - *167 - *17 - *19 responses: @@ -35395,7 +35576,7 @@ paths: type: integer secrets: type: array - items: &254 + items: &256 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -35468,13 +35649,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: &504 + schema: &506 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -35493,7 +35674,7 @@ paths: - key_id - key examples: - default: &505 + default: &507 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35516,14 +35697,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 responses: '200': description: Response content: application/json: - schema: *254 + schema: *256 examples: default: value: @@ -35551,8 +35732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -35607,7 +35788,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -35631,8 +35812,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *165 - - *201 + - *167 + - *203 responses: '204': description: Response @@ -35656,8 +35837,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: - - *165 - - *201 + - *167 + - *203 - *19 - *17 responses: @@ -35675,9 +35856,9 @@ paths: type: integer repositories: type: array - items: *191 + items: *193 examples: - default: *205 + default: *207 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35698,8 +35879,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: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -35749,8 +35930,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -35781,8 +35962,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: - - *165 - - *201 + - *167 + - *203 - name: repository_id in: path required: true @@ -35818,8 +35999,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *165 - - &513 + - *167 + - &515 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -35827,7 +36008,7 @@ paths: required: false schema: type: string - - &514 + - &516 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -35835,7 +36016,7 @@ paths: required: false schema: type: string - - &515 + - &517 name: time_period description: |- The time period to filter by. @@ -35851,7 +36032,7 @@ paths: - week - month default: month - - &516 + - &518 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -35866,7 +36047,7 @@ paths: - denied - all default: all - - *220 + - *222 - *17 - *19 responses: @@ -35876,7 +36057,7 @@ paths: application/json: schema: type: array - items: &517 + items: &519 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -36039,7 +36220,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &518 + default: &520 value: - id: 21 number: 42 @@ -36125,12 +36306,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *165 - - *220 - - *214 - - *215 + - *167 + - *222 - *216 - - &519 + - *217 + - *218 + - &521 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -36156,7 +36337,7 @@ paths: application/json: schema: type: array - items: &520 + items: &522 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -36270,7 +36451,7 @@ paths: - array - 'null' description: The responses to the dismissal request. - items: *221 + items: *223 url: type: string format: uri @@ -36283,7 +36464,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &521 + default: &523 value: - id: 21 number: 42 @@ -36363,7 +36544,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: - - *165 + - *167 responses: '200': description: Response @@ -36371,7 +36552,7 @@ paths: application/json: schema: type: array - items: &297 + items: &299 title: Package description: A software package type: object @@ -36424,7 +36605,7 @@ paths: repository: anyOf: - type: 'null' - - *191 + - *193 created_at: type: string format: date-time @@ -36442,7 +36623,7 @@ paths: - created_at - updated_at examples: - default: &298 + default: &300 value: - id: 197 name: hello_docker @@ -36520,7 +36701,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *165 + - *167 - *17 - *19 responses: @@ -36530,7 +36711,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: 200-response: value: @@ -36600,7 +36781,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *165 + - *167 - name: group_id description: The unique identifier of the group. in: path @@ -36626,7 +36807,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -36716,7 +36897,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &362 + default: &364 value: group_id: '123' group_name: Octocat admins @@ -36754,7 +36935,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: - - *165 + - *167 - *17 - name: page description: Page token @@ -36771,7 +36952,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &361 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -36811,7 +36992,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &360 + default: &362 value: groups: - group_id: '123' @@ -36845,7 +37026,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *165 + - *167 - *17 - *19 responses: @@ -36855,7 +37036,7 @@ paths: application/json: schema: type: array - items: &277 + items: &279 title: Organization Invitation description: Organization Invitation type: object @@ -36909,7 +37090,7 @@ paths: - invitation_teams_url - node_id examples: - default: &278 + default: &280 value: - id: 1 login: monalisa @@ -36968,7 +37149,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: - - *165 + - *167 responses: '200': description: Response @@ -36976,7 +37157,7 @@ paths: application/json: schema: type: array - items: &317 + items: &319 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -36990,7 +37171,7 @@ paths: - name - description examples: - default: &318 + default: &320 value: - name: add_assignee description: Assign or remove a user @@ -37021,7 +37202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *165 + - *167 - *17 - *19 responses: @@ -37031,7 +37212,7 @@ paths: application/json: schema: type: array - items: &255 + items: &257 title: Org Hook description: Org Hook type: object @@ -37152,7 +37333,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *165 + - *167 requestBody: required: true content: @@ -37214,9 +37395,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: &256 + default: &258 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -37260,8 +37441,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *165 - - &257 + - *167 + - &259 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. @@ -37274,9 +37455,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: *256 + default: *258 '404': *6 x-github: githubCloudOnly: false @@ -37297,8 +37478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *165 - - *257 + - *167 + - *259 requestBody: required: false content: @@ -37344,7 +37525,7 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: default: value: @@ -37383,8 +37564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *165 - - *257 + - *167 + - *259 responses: '204': description: Response @@ -37409,8 +37590,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: - - *165 - - *257 + - *167 + - *259 responses: '200': description: Response @@ -37438,8 +37619,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: - - *165 - - *257 + - *167 + - *259 requestBody: required: false content: @@ -37487,10 +37668,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *165 - - *257 + - *167 + - *259 - *17 - - *258 + - *260 responses: '200': description: Response @@ -37498,9 +37679,9 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: - default: *260 + default: *262 '400': *14 '422': *15 x-github: @@ -37523,17 +37704,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: - - *165 - - *257 + - *167 + - *259 - *16 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 '400': *14 '422': *15 x-github: @@ -37556,8 +37737,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: - - *165 - - *257 + - *167 + - *259 - *16 responses: '202': *37 @@ -37583,8 +37764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *165 - - *257 + - *167 + - *259 responses: '204': description: Response @@ -37606,8 +37787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *165 - - &267 + - *167 + - &269 name: actor_type in: path description: The type of the actor @@ -37620,14 +37801,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &268 + - &270 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &263 + - &265 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`.' @@ -37635,7 +37816,7 @@ paths: required: true schema: type: string - - &264 + - &266 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) @@ -37729,13 +37910,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *165 - - *263 - - *264 + - *167 + - *265 + - *266 - *19 - *17 - *86 - - &273 + - &275 name: sort description: The property to sort the results by. in: query @@ -37814,15 +37995,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *165 - - *263 - - *264 + - *167 + - *265 + - *266 responses: '200': description: Response content: application/json: - schema: &265 + schema: &267 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -37838,7 +38019,7 @@ paths: type: integer format: int64 examples: - default: &266 + default: &268 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -37858,24 +38039,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *165 - - &269 + - *167 + - &271 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *263 - - *264 + - *265 + - *266 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: - default: *266 + default: *268 x-github: enabledForGitHubApps: true category: orgs @@ -37893,19 +38074,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *165 - - *263 - - *264 - - *267 - - *268 + - *167 + - *265 + - *266 + - *269 + - *270 responses: '200': description: Response content: application/json: - schema: *265 + schema: *267 examples: - default: *266 + default: *268 x-github: enabledForGitHubApps: true category: orgs @@ -37922,10 +38103,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *165 - - *263 - - *264 - - &270 + - *167 + - *265 + - *266 + - &272 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -37938,7 +38119,7 @@ paths: description: Response content: application/json: - schema: &271 + schema: &273 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -37954,7 +38135,7 @@ paths: type: integer format: int64 examples: - default: &272 + default: &274 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -37990,19 +38171,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *165 - - *269 - - *263 - - *264 - - *270 + - *167 + - *271 + - *265 + - *266 + - *272 responses: '200': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: enabledForGitHubApps: true category: orgs @@ -38019,20 +38200,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *165 - - *267 - - *268 - - *263 - - *264 + - *167 + - *269 - *270 + - *265 + - *266 + - *272 responses: '200': description: Response content: application/json: - schema: *271 + schema: *273 examples: - default: *272 + default: *274 x-github: enabledForGitHubApps: true category: orgs @@ -38049,14 +38230,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *165 - - *269 - - *263 - - *264 + - *167 + - *271 + - *265 + - *266 - *19 - *17 - *86 - - *273 + - *275 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -38132,7 +38313,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: - - *165 + - *167 responses: '200': description: Response @@ -38140,7 +38321,7 @@ paths: application/json: schema: *20 examples: - default: &552 + default: &554 value: id: 1 account: @@ -38209,7 +38390,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *165 + - *167 - *17 - *19 responses: @@ -38298,7 +38479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *165 + - *167 responses: '200': description: Response @@ -38306,12 +38487,12 @@ paths: application/json: schema: anyOf: - - &275 + - &277 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &274 + limit: &276 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -38339,7 +38520,7 @@ paths: properties: {} additionalProperties: false examples: - default: &276 + default: &278 value: limit: collaborators_only origin: organization @@ -38363,18 +38544,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *165 + - *167 requestBody: required: true content: application/json: - schema: &553 + schema: &555 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *274 + limit: *276 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -38399,9 +38580,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *276 + default: *278 '422': *15 x-github: githubCloudOnly: false @@ -38419,7 +38600,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *165 + - *167 responses: '204': description: Response @@ -38445,7 +38626,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *165 + - *167 - *17 - *19 - name: role @@ -38479,9 +38660,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 headers: Link: *38 '404': *6 @@ -38505,7 +38686,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *165 + - *167 requestBody: required: false content: @@ -38559,7 +38740,7 @@ paths: description: Response content: application/json: - schema: *277 + schema: *279 examples: default: value: @@ -38615,8 +38796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *165 - - &279 + - *167 + - &281 name: invitation_id description: The unique identifier of the invitation. in: path @@ -38649,8 +38830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *165 - - *279 + - *167 + - *281 - *17 - *19 responses: @@ -38660,9 +38841,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: &296 + default: &298 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -38697,7 +38878,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: - - *165 + - *167 responses: '200': description: Response @@ -38705,7 +38886,7 @@ paths: application/json: schema: type: array - items: *280 + items: *282 examples: default: value: @@ -38743,7 +38924,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: - - *165 + - *167 requestBody: required: true content: @@ -38793,9 +38974,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: &281 + default: &283 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -38827,8 +39008,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: - - *165 - - &282 + - *167 + - &284 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -38884,9 +39065,9 @@ paths: description: Response content: application/json: - schema: *280 + schema: *282 examples: - default: *281 + default: *283 '404': *6 '422': *7 x-github: @@ -38910,8 +39091,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: - - *165 - - *282 + - *167 + - *284 responses: '204': description: Response @@ -38944,7 +39125,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: - - *165 + - *167 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -38974,7 +39155,7 @@ paths: - closed - all default: open - - *283 + - *285 - name: type description: Can be the name of an issue type. in: query @@ -38993,7 +39174,7 @@ paths: - comments default: created - *86 - - *139 + - *141 - *17 - *19 responses: @@ -39003,9 +39184,9 @@ paths: application/json: schema: type: array - items: *149 + items: *151 examples: - default: *284 + default: *286 headers: Link: *38 '404': *6 @@ -39027,7 +39208,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *165 + - *167 - 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) @@ -39065,7 +39246,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '422': *15 @@ -39085,8 +39266,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response if requester is an organization member and user is @@ -39117,8 +39298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -39144,8 +39325,8 @@ paths: parameters: - *17 - *19 - - *165 - - *213 + - *167 + - *215 responses: '200': description: Response @@ -39161,9 +39342,9 @@ paths: type: integer codespaces: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 '304': *35 '500': *83 '401': *23 @@ -39188,9 +39369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *165 - - *213 - - &288 + - *167 + - *215 + - &290 name: codespace_name in: path required: true @@ -39223,17 +39404,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: - - *165 - - *213 - - *288 + - *167 + - *215 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: &475 + default: &477 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -39406,8 +39587,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: - - *165 - - *213 + - *167 + - *215 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -39481,14 +39662,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *165 - - *213 + - *167 + - *215 responses: '200': description: Response content: application/json: - schema: &289 + schema: &291 title: Org Membership description: Org Membership type: object @@ -39541,7 +39722,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &290 + response-if-user-has-an-active-admin-membership-with-organization: &292 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -39609,8 +39790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *165 - - *213 + - *167 + - *215 requestBody: required: false content: @@ -39638,9 +39819,9 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: - response-if-user-already-had-membership-with-organization: *290 + response-if-user-already-had-membership-with-organization: *292 '422': *15 '403': *27 x-github: @@ -39661,8 +39842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -39687,7 +39868,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *165 + - *167 - *17 - *19 - name: exclude @@ -39709,7 +39890,7 @@ paths: application/json: schema: type: array - items: &291 + items: &293 title: Migration description: A migration. type: object @@ -39966,7 +40147,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *165 + - *167 requestBody: required: true content: @@ -40047,7 +40228,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: default: value: @@ -40225,8 +40406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *165 - - &292 + - *167 + - &294 name: migration_id description: The unique identifier of the migration. in: path @@ -40254,7 +40435,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *291 + schema: *293 examples: default: value: @@ -40423,8 +40604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *165 - - *292 + - *167 + - *294 responses: '302': description: Response @@ -40445,8 +40626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *165 - - *292 + - *167 + - *294 responses: '204': description: Response @@ -40469,9 +40650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *165 - - *292 - - &737 + - *167 + - *294 + - &739 name: repo_name description: repo_name parameter in: path @@ -40498,8 +40679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *165 - - *292 + - *167 + - *294 - *17 - *19 responses: @@ -40509,9 +40690,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: &303 + default: &305 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -40650,7 +40831,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: - - *165 + - *167 responses: '200': description: Response @@ -40704,7 +40885,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: - - *165 + - *167 responses: '200': description: Response - list of organization roles @@ -40720,7 +40901,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &293 + items: &295 title: Organization Role description: Organization roles type: object @@ -40882,7 +41063,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *165 + - *167 requestBody: required: true content: @@ -40929,7 +41110,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *295 examples: default: value: @@ -40980,8 +41161,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: - - *165 - - &294 + - *167 + - &296 name: team_slug description: The slug of the team name. in: path @@ -41012,9 +41193,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: - - *165 - - *294 - - *239 + - *167 + - *296 + - *241 responses: '204': description: Response @@ -41043,9 +41224,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: - - *165 - - *294 - - *239 + - *167 + - *296 + - *241 responses: '204': description: Response @@ -41070,8 +41251,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -41096,9 +41277,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: - - *165 - - *213 - - *239 + - *167 + - *215 + - *241 responses: '204': description: Response @@ -41128,9 +41309,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: - - *165 - - *213 - - *239 + - *167 + - *215 + - *241 responses: '204': description: Response @@ -41158,14 +41339,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *165 - - *239 + - *167 + - *241 responses: '200': description: Response content: application/json: - schema: *293 + schema: *295 examples: default: value: @@ -41222,8 +41403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *165 - - *239 + - *167 + - *241 requestBody: required: true content: @@ -41262,7 +41443,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *295 examples: default: value: @@ -41315,8 +41496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *165 - - *239 + - *167 + - *241 responses: '204': description: Response @@ -41341,8 +41522,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: - - *165 - - *239 + - *167 + - *241 - *17 - *19 responses: @@ -41421,7 +41602,7 @@ paths: parent: anyOf: - type: 'null' - - *295 + - *297 required: - id - node_id @@ -41435,7 +41616,7 @@ paths: - slug - parent examples: - default: *296 + default: *298 headers: Link: *38 '404': @@ -41464,8 +41645,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: - - *165 - - *239 + - *167 + - *241 - *17 - *19 responses: @@ -41494,7 +41675,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *295 + items: *297 name: type: - string @@ -41611,7 +41792,7 @@ paths: - type - url examples: - default: *285 + default: *287 headers: Link: *38 '404': @@ -41635,7 +41816,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: - - *165 + - *167 - 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) @@ -41662,7 +41843,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -41687,8 +41868,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: - - *165 - - *213 + - *167 + - *215 requestBody: required: false content: @@ -41745,8 +41926,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -41803,8 +41984,8 @@ paths: - docker - nuget - container - - *165 - - &739 + - *167 + - &741 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -41840,12 +42021,12 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: *298 + default: *300 '403': *27 '401': *23 - '400': &741 + '400': &743 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -41867,7 +42048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &299 + - &301 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 @@ -41885,20 +42066,20 @@ paths: - docker - nuget - container - - &300 + - &302 name: package_name description: The name of the package. in: path required: true schema: type: string - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: default: value: @@ -41950,9 +42131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *299 - - *300 - - *165 + - *301 + - *302 + - *167 responses: '204': description: Response @@ -41984,9 +42165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *299 - - *300 - - *165 + - *301 + - *302 + - *167 - name: token description: package token schema: @@ -42018,9 +42199,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: - - *299 - - *300 - - *165 + - *301 + - *302 + - *167 - *19 - *17 - name: state @@ -42040,7 +42221,7 @@ paths: application/json: schema: type: array - items: &301 + items: &303 title: Package Version description: A version of a software package type: object @@ -42175,10 +42356,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: - - *299 - - *300 - - *165 - - &302 + - *301 + - *302 + - *167 + - &304 name: package_version_id description: Unique identifier of the package version. in: path @@ -42190,7 +42371,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: default: value: @@ -42226,10 +42407,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *299 - - *300 - - *165 + - *301 - *302 + - *167 + - *304 responses: '204': description: Response @@ -42261,10 +42442,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *299 - - *300 - - *165 + - *301 - *302 + - *167 + - *304 responses: '204': description: Response @@ -42291,10 +42472,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: - - *165 + - *167 - *17 - *19 - - &304 + - &306 name: sort description: The property by which to sort the results. in: query @@ -42305,7 +42486,7 @@ paths: - created_at default: created_at - *86 - - &305 + - &307 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -42317,7 +42498,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &306 + - &308 name: repository description: The name of the repository to use to filter the results. in: query @@ -42326,7 +42507,7 @@ paths: type: string examples: - Hello-World - - &307 + - &309 name: permission description: The permission to use to filter the results. in: query @@ -42335,7 +42516,7 @@ paths: type: string examples: - issues_read - - &308 + - &310 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) @@ -42345,7 +42526,7 @@ paths: schema: type: string format: date-time - - &309 + - &311 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) @@ -42355,7 +42536,7 @@ paths: schema: type: string format: date-time - - &310 + - &312 name: token_id description: The ID of the token in: query @@ -42523,7 +42704,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: - - *165 + - *167 requestBody: required: true content: @@ -42590,7 +42771,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: - - *165 + - *167 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -42652,7 +42833,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: - - *165 + - *167 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -42672,9 +42853,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -42697,17 +42878,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: - - *165 + - *167 - *17 - *19 - - *304 - - *86 - - *305 - *306 + - *86 - *307 - *308 - *309 - *310 + - *311 + - *312 responses: '500': *83 '422': *15 @@ -42858,7 +43039,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: - - *165 + - *167 requestBody: required: true content: @@ -42918,7 +43099,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: - - *165 + - *167 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -42970,7 +43151,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: - - *165 + - *167 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -42989,9 +43170,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -43015,7 +43196,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: - - *165 + - *167 - *17 - *19 responses: @@ -43033,7 +43214,7 @@ paths: type: integer configurations: type: array - items: &311 + items: &313 title: Organization private registry description: Private registry configuration for an organization type: object @@ -43112,7 +43293,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: - - *165 + - *167 requestBody: required: true content: @@ -43256,7 +43437,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &312 + org-private-registry-with-selected-visibility: &314 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -43297,7 +43478,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: - - *165 + - *167 responses: '200': description: Response @@ -43347,16 +43528,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: - - *165 - - *201 + - *167 + - *203 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *311 + schema: *313 examples: - default: *312 + default: *314 '404': *6 x-github: githubCloudOnly: false @@ -43377,8 +43558,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: - - *165 - - *201 + - *167 + - *203 requestBody: required: true content: @@ -43462,8 +43643,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: - - *165 - - *201 + - *167 + - *203 responses: '204': description: Response @@ -43488,7 +43669,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *165 + - *167 - name: state description: Indicates the state of the projects to return. in: query @@ -43509,7 +43690,7 @@ paths: application/json: schema: type: array - items: &313 + items: &315 title: Project description: Projects are a way to organize columns and cards of work. @@ -43665,7 +43846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *165 + - *167 requestBody: required: true content: @@ -43691,7 +43872,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -43729,7 +43910,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &377 + '410': &379 description: Gone content: application/json: @@ -43756,7 +43937,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: - - *165 + - *167 responses: '200': description: Response @@ -43793,7 +43974,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: - - *165 + - *167 requestBody: required: true content: @@ -43857,7 +44038,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: - - *165 + - *167 - *114 responses: '200': @@ -43889,13 +44070,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: - - *165 + - *167 - *114 requestBody: required: true content: application/json: - schema: *314 + schema: *316 examples: default: value: @@ -43936,7 +44117,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: - - *165 + - *167 - *114 responses: '204': *116 @@ -43960,7 +44141,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: - - *165 + - *167 - *17 - *19 - name: repository_query @@ -44001,7 +44182,7 @@ paths: - octocat/Hello-World properties: type: array - items: &315 + items: &317 title: Custom Property Value description: Custom property name and associated value type: object @@ -44071,7 +44252,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: - - *165 + - *167 requestBody: required: true content: @@ -44091,7 +44272,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *315 + items: *317 required: - repository_names - properties @@ -44132,7 +44313,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *165 + - *167 - *17 - *19 responses: @@ -44144,7 +44325,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -44163,8 +44344,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response if user is a public member @@ -44188,8 +44369,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -44210,8 +44391,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: - - *165 - - *213 + - *167 + - *215 responses: '204': description: Response @@ -44235,7 +44416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *165 + - *167 - 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 @@ -44282,9 +44463,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -44305,7 +44486,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *165 + - *167 requestBody: required: true content: @@ -44488,7 +44669,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &381 title: Full Repository description: Full Repository type: object @@ -44934,7 +45115,7 @@ paths: license: anyOf: - type: 'null' - - *150 + - *152 organization: anyOf: - type: 'null' @@ -44953,7 +45134,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &494 + code_of_conduct: &496 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -44983,7 +45164,7 @@ paths: - key - name - html_url - security_and_analysis: *316 + security_and_analysis: *318 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -45067,7 +45248,7 @@ paths: - network_count - subscribers_count examples: - default: &381 + default: &383 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -45585,7 +45766,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: - - *165 + - *167 responses: '200': description: Response @@ -45593,9 +45774,9 @@ paths: application/json: schema: type: array - items: *317 + items: *319 examples: - default: *318 + default: *320 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -45617,10 +45798,10 @@ paths: category: orgs subcategory: rules parameters: - - *165 + - *167 - *17 - *19 - - &638 + - &640 name: targets description: | A comma-separated list of rule targets to filter by. @@ -45686,7 +45867,7 @@ paths: category: orgs subcategory: rules parameters: - - *165 + - *167 requestBody: description: Request body required: true @@ -45712,7 +45893,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *124 - conditions: *319 + conditions: *321 rules: type: array description: An array of rules within the ruleset. @@ -45756,7 +45937,7 @@ paths: application/json: schema: *126 examples: - default: &320 + default: &322 value: id: 21 name: super cool ruleset @@ -45810,8 +45991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *165 - - &639 + - *167 + - &641 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 @@ -45821,16 +46002,16 @@ paths: schema: type: string x-multi-segment: true - - *220 - - *216 - - &640 + - *222 + - *218 + - &642 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 - - &641 + - &643 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -45850,7 +46031,7 @@ paths: description: Response content: application/json: - schema: &642 + schema: &644 title: Rule Suites description: Response type: array @@ -45906,7 +46087,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &643 + default: &645 value: - id: 21 actor_id: 12 @@ -45949,8 +46130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *165 - - &644 + - *167 + - &646 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -45966,7 +46147,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &647 title: Rule Suite description: Response type: object @@ -46073,7 +46254,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &646 + default: &648 value: id: 21 actor_id: 12 @@ -46134,7 +46315,7 @@ paths: category: orgs subcategory: rules parameters: - - *165 + - *167 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46148,7 +46329,7 @@ paths: application/json: schema: *126 examples: - default: *320 + default: *322 '404': *6 '500': *83 put: @@ -46166,7 +46347,7 @@ paths: category: orgs subcategory: rules parameters: - - *165 + - *167 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46197,7 +46378,7 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *124 - conditions: *319 + conditions: *321 rules: description: An array of rules within the ruleset. type: array @@ -46238,7 +46419,7 @@ paths: application/json: schema: *126 examples: - default: *320 + default: *322 '404': *6 '500': *83 delete: @@ -46256,7 +46437,7 @@ paths: category: orgs subcategory: rules parameters: - - *165 + - *167 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46279,7 +46460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history parameters: - - *165 + - *167 - *17 - *19 - name: ruleset_id @@ -46297,7 +46478,7 @@ paths: type: array items: *129 examples: - default: *321 + default: *323 '404': *6 '500': *83 x-github: @@ -46316,7 +46497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version parameters: - - *165 + - *167 - name: ruleset_id description: The ID of the ruleset. in: path @@ -46334,7 +46515,7 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: default: value: @@ -46396,15 +46577,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: - - *165 - - *323 - - *324 + - *167 - *325 - *326 + - *327 + - *328 - *86 - *19 - *17 - - &648 + - &650 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 @@ -46414,7 +46595,7 @@ paths: required: false schema: type: string - - &649 + - &651 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 @@ -46424,10 +46605,10 @@ paths: required: false schema: type: string - - *327 - - *328 - *329 - *330 + - *331 + - *332 responses: '200': description: Response @@ -46435,9 +46616,9 @@ paths: application/json: schema: type: array - items: *331 + items: *333 examples: - default: *332 + default: *334 headers: Link: *38 '404': *6 @@ -46463,7 +46644,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: - - *165 + - *167 - *86 - name: sort description: The property to sort the results by. @@ -46507,7 +46688,7 @@ paths: application/json: schema: type: array - items: &670 + items: &672 description: A repository security advisory. type: object properties: @@ -46751,7 +46932,7 @@ paths: login: type: string description: The username of the user credited. - type: *333 + type: *335 credits_detailed: type: - array @@ -46762,7 +46943,7 @@ paths: type: object properties: user: *4 - type: *333 + type: *335 state: type: string description: The state of the user's acceptance of the @@ -46788,7 +46969,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *222 + items: *224 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -46826,7 +47007,7 @@ paths: - private_fork additionalProperties: false examples: - default: &671 + default: &673 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -47205,7 +47386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *165 + - *167 responses: '200': description: Response @@ -47213,9 +47394,9 @@ paths: application/json: schema: type: array - items: *295 + items: *297 examples: - default: *296 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47238,8 +47419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *165 - - *294 + - *167 + - *296 responses: '204': description: Response @@ -47264,8 +47445,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *165 - - *294 + - *167 + - *296 responses: '204': description: Response @@ -47294,15 +47475,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47326,8 +47507,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: - - *165 - - *336 + - *167 + - *338 - *17 - *19 responses: @@ -47335,9 +47516,9 @@ paths: description: Success content: application/json: - schema: *337 + schema: *339 examples: - default: *338 + default: *340 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -47359,15 +47540,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *340 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47389,15 +47570,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *342 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -47417,7 +47598,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: - - *165 + - *167 - *17 - *19 responses: @@ -47437,7 +47618,7 @@ paths: type: array items: *109 examples: - default: *343 + default: *345 headers: Link: *38 x-github: @@ -47458,7 +47639,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: - - *165 + - *167 requestBody: required: true content: @@ -47522,7 +47703,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: - - *165 + - *167 - *111 responses: '200': @@ -47552,7 +47733,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: - - *165 + - *167 - *111 requestBody: required: true @@ -47613,7 +47794,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: - - *165 + - *167 - *111 responses: '204': @@ -47637,16 +47818,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: - - *165 - - *344 + - *167 + - *346 responses: '200': description: Response content: application/json: - schema: *345 + schema: *347 examples: - default: *346 + default: *348 headers: Link: *38 x-github: @@ -47665,7 +47846,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: - - *165 + - *167 - *17 - name: page description: Page token @@ -47684,7 +47865,7 @@ paths: description: Response content: application/json: - schema: &368 + schema: &370 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -47736,7 +47917,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &369 + default: &371 value: groups: - group_id: '123' @@ -47781,8 +47962,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: - - *165 - - *294 + - *167 + - *296 - 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`). @@ -47814,13 +47995,13 @@ paths: application/json: schema: type: array - items: *132 + items: *134 examples: - default: *133 + default: *135 '500': *83 '403': *27 '404': *6 - '422': *134 + '422': *136 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47838,7 +48019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *165 + - *167 - *17 - *19 responses: @@ -47848,9 +48029,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 headers: Link: *38 '403': *27 @@ -47872,7 +48053,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *165 + - *167 requestBody: required: true content: @@ -47944,7 +48125,7 @@ paths: description: Response content: application/json: - schema: &347 + schema: &349 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -48018,7 +48199,7 @@ paths: parent: anyOf: - type: 'null' - - *295 + - *297 members_count: type: integer examples: @@ -48324,7 +48505,7 @@ paths: - repos_count - organization examples: - default: &348 + default: &350 value: id: 1 node_id: MDQ6VGVhbTE= @@ -48394,16 +48575,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *165 - - *294 + - *167 + - *296 responses: '200': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '404': *6 x-github: githubCloudOnly: false @@ -48424,8 +48605,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *165 - - *294 + - *167 + - *296 requestBody: required: false content: @@ -48488,16 +48669,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '201': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '404': *6 '422': *15 '403': *27 @@ -48522,8 +48703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *165 - - *294 + - *167 + - *296 responses: '204': description: Response @@ -48549,8 +48730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *165 - - *294 + - *167 + - *296 - *86 - *17 - *19 @@ -48567,7 +48748,7 @@ paths: application/json: schema: type: array - items: &349 + items: &351 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -48658,7 +48839,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *137 + reactions: *139 required: - author - body @@ -48678,7 +48859,7 @@ paths: - updated_at - url examples: - default: &711 + default: &713 value: - author: login: octocat @@ -48752,8 +48933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *165 - - *294 + - *167 + - *296 requestBody: required: true content: @@ -48787,9 +48968,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: &350 + default: &352 value: author: login: octocat @@ -48861,9 +49042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *165 - - *294 - - &351 + - *167 + - *296 + - &353 name: discussion_number description: The number that identifies the discussion. in: path @@ -48875,9 +49056,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48899,9 +49080,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 requestBody: required: false content: @@ -48924,9 +49105,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: &712 + default: &714 value: author: login: octocat @@ -48996,9 +49177,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 responses: '204': description: Response @@ -49024,9 +49205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 - *86 - *17 - *19 @@ -49037,7 +49218,7 @@ paths: application/json: schema: type: array - items: &352 + items: &354 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -49102,7 +49283,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *137 + reactions: *139 required: - author - body @@ -49117,7 +49298,7 @@ paths: - updated_at - url examples: - default: &713 + default: &715 value: - author: login: octocat @@ -49185,9 +49366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 requestBody: required: true content: @@ -49209,9 +49390,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: &353 + default: &355 value: author: login: octocat @@ -49277,10 +49458,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *165 - - *294 - - *351 - - &354 + - *167 + - *296 + - *353 + - &356 name: comment_number description: The number that identifies the comment. in: path @@ -49292,9 +49473,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49316,10 +49497,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *165 - - *294 - - *351 - - *354 + - *167 + - *296 + - *353 + - *356 requestBody: required: true content: @@ -49341,9 +49522,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: &714 + default: &716 value: author: login: octocat @@ -49407,10 +49588,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *165 - - *294 - - *351 - - *354 + - *167 + - *296 + - *353 + - *356 responses: '204': description: Response @@ -49436,10 +49617,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: - - *165 - - *294 - - *351 - - *354 + - *167 + - *296 + - *353 + - *356 - 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. @@ -49465,7 +49646,7 @@ paths: application/json: schema: type: array - items: &355 + items: &357 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -49509,7 +49690,7 @@ paths: - content - created_at examples: - default: &357 + default: &359 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -49559,10 +49740,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: - - *165 - - *294 - - *351 - - *354 + - *167 + - *296 + - *353 + - *356 requestBody: required: true content: @@ -49595,9 +49776,9 @@ paths: team discussion comment content: application/json: - schema: *355 + schema: *357 examples: - default: &356 + default: &358 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -49626,9 +49807,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49651,11 +49832,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *165 - - *294 - - *351 - - *354 - - &358 + - *167 + - *296 + - *353 + - *356 + - &360 name: reaction_id description: The unique identifier of the reaction. in: path @@ -49687,9 +49868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 - 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. @@ -49715,9 +49896,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 x-github: @@ -49743,9 +49924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *165 - - *294 - - *351 + - *167 + - *296 + - *353 requestBody: required: true content: @@ -49777,16 +49958,16 @@ paths: description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -49809,10 +49990,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *165 - - *294 - - *351 - - *358 + - *167 + - *296 + - *353 + - *360 responses: '204': description: Response @@ -49835,16 +50016,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: - - *165 - - *294 + - *167 + - *296 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *360 + default: *362 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -49863,8 +50044,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: - - *165 - - *294 + - *167 + - *296 requestBody: required: true content: @@ -49888,9 +50069,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: *362 + default: *364 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -49909,8 +50090,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: - - *165 - - *294 + - *167 + - *296 responses: '204': description: Response @@ -49934,8 +50115,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *165 - - *294 + - *167 + - *296 - *17 - *19 responses: @@ -49945,9 +50126,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 headers: Link: *38 x-github: @@ -49969,8 +50150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *165 - - *294 + - *167 + - *296 - name: role description: Filters members returned by their role in the team. in: query @@ -49993,7 +50174,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -50023,15 +50204,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *165 - - *294 - - *213 + - *167 + - *296 + - *215 responses: '200': description: Response content: application/json: - schema: &363 + schema: &365 title: Team Membership description: Team Membership type: object @@ -50059,7 +50240,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &715 + response-if-user-is-a-team-maintainer: &717 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -50095,9 +50276,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: - - *165 - - *294 - - *213 + - *167 + - *296 + - *215 requestBody: required: false content: @@ -50122,9 +50303,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *365 examples: - response-if-users-membership-with-team-is-now-pending: &716 + response-if-users-membership-with-team-is-now-pending: &718 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -50159,9 +50340,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *165 - - *294 - - *213 + - *167 + - *296 + - *215 responses: '204': description: Response @@ -50186,8 +50367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *165 - - *294 + - *167 + - *296 - *17 - *19 responses: @@ -50197,7 +50378,7 @@ paths: application/json: schema: type: array - items: &364 + items: &366 title: Team Project description: A team's access to a project. type: object @@ -50266,7 +50447,7 @@ paths: - updated_at - permissions examples: - default: &717 + default: &719 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -50329,9 +50510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *165 - - *294 - - &365 + - *167 + - *296 + - &367 name: project_id description: The unique identifier of the project. in: path @@ -50343,9 +50524,9 @@ paths: description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: &718 + default: &720 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -50407,9 +50588,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *165 - - *294 - - *365 + - *167 + - *296 + - *367 requestBody: required: false content: @@ -50476,9 +50657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *165 - - *294 - - *365 + - *167 + - *296 + - *367 responses: '204': description: Response @@ -50505,8 +50686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *165 - - *294 + - *167 + - *296 - *17 - *19 responses: @@ -50516,9 +50697,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -50547,16 +50728,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *165 - - *294 - - *366 - - *367 + - *167 + - *296 + - *368 + - *369 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &719 + schema: &721 title: Team Repository description: A team's access to a repository. type: object @@ -50582,7 +50763,7 @@ paths: license: anyOf: - type: 'null' - - *150 + - *152 forks: type: integer permissions: @@ -51197,10 +51378,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *165 - - *294 - - *366 - - *367 + - *167 + - *296 + - *368 + - *369 requestBody: required: false content: @@ -51245,10 +51426,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *165 - - *294 - - *366 - - *367 + - *167 + - *296 + - *368 + - *369 responses: '204': description: Response @@ -51274,16 +51455,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: - - *165 - - *294 + - *167 + - *296 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -51305,8 +51486,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: - - *165 - - *294 + - *167 + - *296 requestBody: required: true content: @@ -51349,7 +51530,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: default: value: @@ -51381,8 +51562,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *165 - - *294 + - *167 + - *296 - *17 - *19 responses: @@ -51392,9 +51573,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - response-if-child-teams-exist: &720 + response-if-child-teams-exist: &722 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -51447,7 +51628,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: - - *165 + - *167 - name: security_product in: path description: The security feature to enable or disable. @@ -51521,7 +51702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &370 + - &372 name: card_id description: The unique identifier of the card. in: path @@ -51533,7 +51714,7 @@ paths: description: Response content: application/json: - schema: &371 + schema: &373 title: Project Card description: Project cards represent a scope of work. type: object @@ -51608,7 +51789,7 @@ paths: - created_at - updated_at examples: - default: &372 + default: &374 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -51664,7 +51845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *370 + - *372 requestBody: required: false content: @@ -51694,9 +51875,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: *372 + default: *374 '304': *35 '403': *27 '401': *23 @@ -51723,7 +51904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *370 + - *372 responses: '204': description: Response @@ -51767,7 +51948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *370 + - *372 requestBody: required: true content: @@ -51880,7 +52061,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &373 + - &375 name: column_id description: The unique identifier of the column. in: path @@ -51892,7 +52073,7 @@ paths: description: Response content: application/json: - schema: &374 + schema: &376 title: Project Column description: Project columns contain cards of work. type: object @@ -51946,7 +52127,7 @@ paths: - created_at - updated_at examples: - default: &375 + default: &377 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -51981,7 +52162,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *373 + - *375 requestBody: required: true content: @@ -52006,9 +52187,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: - default: *375 + default: *377 '304': *35 '403': *27 '401': *23 @@ -52033,7 +52214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *373 + - *375 responses: '204': description: Response @@ -52062,7 +52243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *373 + - *375 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -52083,7 +52264,7 @@ paths: application/json: schema: type: array - items: *371 + items: *373 examples: default: value: @@ -52142,7 +52323,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *373 + - *375 requestBody: required: true content: @@ -52186,9 +52367,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *373 examples: - default: *372 + default: *374 '304': *35 '403': *27 '401': *23 @@ -52198,8 +52379,8 @@ paths: application/json: schema: oneOf: - - *174 - - *175 + - *176 + - *177 '503': description: Response content: @@ -52244,7 +52425,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *373 + - *375 requestBody: required: true content: @@ -52305,15 +52486,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *365 + - *367 responses: '200': description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: &376 + default: &378 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -52370,7 +52551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *365 + - *367 requestBody: required: false content: @@ -52419,9 +52600,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *376 + default: *378 '404': description: Not Found if the authenticated user does not have access to the project @@ -52442,7 +52623,7 @@ paths: items: type: string '401': *23 - '410': *377 + '410': *379 '422': *7 x-github: githubCloudOnly: false @@ -52465,7 +52646,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *365 + - *367 responses: '204': description: Delete Success @@ -52486,7 +52667,7 @@ paths: items: type: string '401': *23 - '410': *377 + '410': *379 '404': *6 x-github: githubCloudOnly: false @@ -52510,7 +52691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *365 + - *367 - 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 @@ -52537,7 +52718,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '404': *6 @@ -52567,8 +52748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *365 - - *213 + - *367 + - *215 requestBody: required: false content: @@ -52622,8 +52803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *365 - - *213 + - *367 + - *215 responses: '204': description: Response @@ -52654,8 +52835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *365 - - *213 + - *367 + - *215 responses: '200': description: Response @@ -52725,7 +52906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *365 + - *367 - *17 - *19 responses: @@ -52735,7 +52916,7 @@ paths: application/json: schema: type: array - items: *374 + items: *376 examples: default: value: @@ -52773,7 +52954,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *365 + - *367 requestBody: required: true content: @@ -52797,7 +52978,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *376 examples: default: value: @@ -52862,7 +53043,7 @@ paths: resources: type: object properties: - core: &378 + core: &380 title: Rate Limit type: object properties: @@ -52879,21 +53060,21 @@ paths: - remaining - reset - used - graphql: *378 - search: *378 - code_search: *378 - source_import: *378 - integration_manifest: *378 - code_scanning_upload: *378 - actions_runner_registration: *378 - scim: *378 - dependency_snapshots: *378 - dependency_sbom: *378 - code_scanning_autofix: *378 + graphql: *380 + search: *380 + code_search: *380 + source_import: *380 + integration_manifest: *380 + code_scanning_upload: *380 + actions_runner_registration: *380 + scim: *380 + dependency_snapshots: *380 + dependency_sbom: *380 + code_scanning_autofix: *380 required: - core - search - rate: *378 + rate: *380 required: - rate - resources @@ -52997,14 +53178,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: default-response: summary: Default response @@ -53509,7 +53690,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *380 + '301': *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53527,8 +53708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -53783,10 +53964,10 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *381 - '307': &382 + default: *383 + '307': &384 description: Temporary Redirect content: application/json: @@ -53815,8 +53996,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -53838,7 +54019,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': *382 + '307': *384 '404': *6 '409': *94 x-github: @@ -53862,11 +54043,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 - - &397 + - &399 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -53889,7 +54070,7 @@ paths: type: integer artifacts: type: array - items: &383 + items: &385 title: Artifact description: An artifact type: object @@ -53984,7 +54165,7 @@ paths: - expires_at - updated_at examples: - default: &398 + default: &400 value: total_count: 2 artifacts: @@ -54045,9 +54226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *366 - - *367 - - &384 + - *368 + - *369 + - &386 name: artifact_id description: The unique identifier of the artifact. in: path @@ -54059,7 +54240,7 @@ paths: description: Response content: application/json: - schema: *383 + schema: *385 examples: default: value: @@ -54097,9 +54278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *366 - - *367 - - *384 + - *368 + - *369 + - *386 responses: '204': description: Response @@ -54123,9 +54304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *366 - - *367 - - *384 + - *368 + - *369 + - *386 - name: archive_format in: path required: true @@ -54139,7 +54320,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': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54162,14 +54343,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: default: value: @@ -54195,11 +54376,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: - - *366 - - *367 + - *368 + - *369 - *17 - *19 - - &386 + - &388 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 @@ -54233,7 +54414,7 @@ paths: description: Response content: application/json: - schema: &387 + schema: &389 title: Repository actions caches description: Repository actions caches type: object @@ -54283,7 +54464,7 @@ paths: - total_count - actions_caches examples: - default: &388 + default: &390 value: total_count: 1 actions_caches: @@ -54315,23 +54496,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: - - *366 - - *367 + - *368 + - *369 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *386 + - *388 responses: '200': description: Response content: application/json: - schema: *387 + schema: *389 examples: - default: *388 + default: *390 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54351,8 +54532,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: - - *366 - - *367 + - *368 + - *369 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -54383,9 +54564,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: - - *366 - - *367 - - &389 + - *368 + - *369 + - &391 name: job_id description: The unique identifier of the job. in: path @@ -54397,7 +54578,7 @@ paths: description: Response content: application/json: - schema: &401 + schema: &403 title: Job description: Information of a job execution in a workflow run type: object @@ -54744,9 +54925,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: - - *366 - - *367 - - *389 + - *368 + - *369 + - *391 responses: '302': description: Response @@ -54774,9 +54955,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: - - *366 - - *367 - - *389 + - *368 + - *369 + - *391 requestBody: required: false content: @@ -54798,7 +54979,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -54822,8 +55003,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Status response @@ -54873,8 +55054,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -54908,7 +55089,7 @@ paths: description: Empty response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -54937,8 +55118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -54956,7 +55137,7 @@ paths: type: integer secrets: type: array - items: &403 + items: &405 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -54977,7 +55158,7 @@ paths: - created_at - updated_at examples: - default: &404 + default: &406 value: total_count: 2 secrets: @@ -55010,9 +55191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *366 - - *367 - - *390 + - *368 + - *369 + - *392 - *19 responses: '200': @@ -55029,7 +55210,7 @@ paths: type: integer variables: type: array - items: &407 + items: &409 title: Actions Variable type: object properties: @@ -55063,7 +55244,7 @@ paths: - created_at - updated_at examples: - default: &408 + default: &410 value: total_count: 2 variables: @@ -55096,8 +55277,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -55106,11 +55287,11 @@ paths: schema: type: object properties: - enabled: &391 + enabled: &393 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *47 - selected_actions_url: *184 + selected_actions_url: *186 required: - enabled examples: @@ -55139,8 +55320,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -55151,7 +55332,7 @@ paths: schema: type: object properties: - enabled: *391 + enabled: *393 allowed_actions: *47 required: - enabled @@ -55182,14 +55363,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: &392 + schema: &394 type: object properties: access_level: @@ -55207,7 +55388,7 @@ paths: required: - access_level examples: - default: &393 + default: &395 value: access_level: organization x-github: @@ -55232,15 +55413,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 responses: '204': description: Response @@ -55264,8 +55445,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -55296,8 +55477,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -55329,14 +55510,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: default: *53 x-github: @@ -55359,8 +55540,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Success response @@ -55371,7 +55552,7 @@ paths: required: true content: application/json: - schema: *188 + schema: *190 examples: default: *53 x-github: @@ -55400,8 +55581,8 @@ paths: in: query schema: type: string - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -55445,8 +55626,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -55454,9 +55635,9 @@ paths: application/json: schema: type: array - items: *192 + items: *194 examples: - default: *193 + default: *195 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55478,8 +55659,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -55522,7 +55703,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *194 + '201': *196 '404': *6 '422': *7 '409': *94 @@ -55553,8 +55734,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: - - *366 - - *367 + - *368 + - *369 responses: '201': description: Response @@ -55562,7 +55743,7 @@ paths: application/json: schema: *63 examples: - default: *195 + default: *197 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55590,8 +55771,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: - - *366 - - *367 + - *368 + - *369 responses: '201': description: Response @@ -55599,7 +55780,7 @@ paths: application/json: schema: *63 examples: - default: *196 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55621,8 +55802,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: - - *366 - - *367 + - *368 + - *369 - *59 responses: '200': @@ -55631,7 +55812,7 @@ paths: application/json: schema: *60 examples: - default: *197 + default: *199 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55652,8 +55833,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: - - *366 - - *367 + - *368 + - *369 - *59 responses: '204': @@ -55680,8 +55861,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: - - *366 - - *367 + - *368 + - *369 - *59 responses: '200': *65 @@ -55706,8 +55887,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: - - *366 - - *367 + - *368 + - *369 - *59 requestBody: required: true @@ -55756,8 +55937,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: - - *366 - - *367 + - *368 + - *369 - *59 requestBody: required: true @@ -55807,11 +55988,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: - - *366 - - *367 + - *368 + - *369 - *59 responses: - '200': *198 + '200': *200 '404': *6 x-github: githubCloudOnly: false @@ -55838,10 +56019,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: - - *366 - - *367 + - *368 + - *369 - *59 - - *199 + - *201 responses: '200': *65 '404': *6 @@ -55869,9 +56050,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: - - *366 - - *367 - - &411 + - *368 + - *369 + - &413 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. @@ -55879,7 +56060,7 @@ paths: required: false schema: type: string - - &412 + - &414 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -55887,7 +56068,7 @@ paths: required: false schema: type: string - - &413 + - &415 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -55896,7 +56077,7 @@ paths: required: false schema: type: string - - &414 + - &416 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 @@ -55923,7 +56104,7 @@ paths: - pending - *17 - *19 - - &415 + - &417 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)." @@ -55932,7 +56113,7 @@ paths: schema: type: string format: date-time - - &394 + - &396 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -55941,13 +56122,13 @@ paths: schema: type: boolean default: false - - &416 + - &418 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &417 + - &419 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -55970,7 +56151,7 @@ paths: type: integer workflow_runs: type: array - items: &395 + items: &397 title: Workflow Run description: An invocation of a workflow type: object @@ -56087,7 +56268,7 @@ paths: type: - array - 'null' - items: &438 + items: &440 title: Pull Request Minimal type: object properties: @@ -56214,7 +56395,7 @@ paths: head_commit: anyOf: - type: 'null' - - &442 + - &444 title: Simple Commit description: A commit. type: object @@ -56288,8 +56469,8 @@ paths: - timestamp - author - committer - repository: *191 - head_repository: *191 + repository: *193 + head_repository: *193 head_repository_id: type: integer examples: @@ -56329,7 +56510,7 @@ paths: - workflow_url - pull_requests examples: - default: &418 + default: &420 value: total_count: 1 workflow_runs: @@ -56565,24 +56746,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *366 - - *367 - - &396 + - *368 + - *369 + - &398 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: &399 + default: &401 value: id: 30433642 name: Build @@ -56823,9 +57004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '204': description: Response @@ -56848,9 +57029,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '200': description: Response @@ -56978,15 +57159,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '201': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -57013,12 +57194,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 - *17 - *19 - - *397 + - *399 responses: '200': description: Response @@ -57034,9 +57215,9 @@ paths: type: integer artifacts: type: array - items: *383 + items: *385 examples: - default: *398 + default: *400 headers: Link: *38 x-github: @@ -57060,25 +57241,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *366 - - *367 - - *396 - - &400 + - *368 + - *369 + - *398 + - &402 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *394 + - *396 responses: '200': description: Response content: application/json: - schema: *395 + schema: *397 examples: - default: *399 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57101,10 +57282,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: - - *366 - - *367 - - *396 - - *400 + - *368 + - *369 + - *398 + - *402 - *17 - *19 responses: @@ -57122,9 +57303,9 @@ paths: type: integer jobs: type: array - items: *401 + items: *403 examples: - default: &402 + default: &404 value: total_count: 1 jobs: @@ -57237,10 +57418,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *366 - - *367 - - *396 - - *400 + - *368 + - *369 + - *398 + - *402 responses: '302': description: Response @@ -57268,15 +57449,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '202': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -57303,9 +57484,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 requestBody: required: true content: @@ -57372,15 +57553,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '202': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -57407,9 +57588,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 - 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 @@ -57439,9 +57620,9 @@ paths: type: integer jobs: type: array - items: *401 + items: *403 examples: - default: *402 + default: *404 headers: Link: *38 x-github: @@ -57466,9 +57647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '302': description: Response @@ -57495,9 +57676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '204': description: Response @@ -57524,9 +57705,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '200': description: Response @@ -57595,7 +57776,7 @@ paths: items: type: object properties: - type: &522 + type: &524 type: string description: The type of reviewer. enum: @@ -57606,7 +57787,7 @@ paths: reviewer: anyOf: - *4 - - *222 + - *224 required: - environment - wait_timer @@ -57681,9 +57862,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 requestBody: required: true content: @@ -57733,7 +57914,7 @@ paths: application/json: schema: type: array - items: &508 + items: &510 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -57845,7 +58026,7 @@ paths: - created_at - updated_at examples: - default: &509 + default: &511 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -57901,9 +58082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 requestBody: required: false content: @@ -57925,7 +58106,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -57948,9 +58129,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: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 requestBody: required: false content: @@ -57972,7 +58153,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -58005,9 +58186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *366 - - *367 - - *396 + - *368 + - *369 + - *398 responses: '200': description: Response @@ -58144,8 +58325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -58163,9 +58344,9 @@ paths: type: integer secrets: type: array - items: *403 + items: *405 examples: - default: *404 + default: *406 headers: Link: *38 x-github: @@ -58190,16 +58371,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58221,17 +58402,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: &535 + default: &537 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -58257,9 +58438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 requestBody: required: true content: @@ -58290,7 +58471,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -58316,9 +58497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '204': description: Response @@ -58343,9 +58524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *366 - - *367 - - *390 + - *368 + - *369 + - *392 - *19 responses: '200': @@ -58362,9 +58543,9 @@ paths: type: integer variables: type: array - items: *407 + items: *409 examples: - default: *408 + default: *410 headers: Link: *38 x-github: @@ -58387,8 +58568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -58415,7 +58596,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -58440,17 +58621,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *366 - - *367 - - *204 + - *368 + - *369 + - *206 responses: '200': description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: &536 + default: &538 value: name: USERNAME value: octocat @@ -58476,9 +58657,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *366 - - *367 - - *204 + - *368 + - *369 + - *206 requestBody: required: true content: @@ -58520,9 +58701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *366 - - *367 - - *204 + - *368 + - *369 + - *206 responses: '204': description: Response @@ -58547,8 +58728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -58566,7 +58747,7 @@ paths: type: integer workflows: type: array - items: &409 + items: &411 title: Workflow description: A GitHub Actions workflow type: object @@ -58684,9 +58865,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *366 - - *367 - - &410 + - *368 + - *369 + - &412 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -58701,7 +58882,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: default: value: @@ -58734,9 +58915,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *366 - - *367 - - *410 + - *368 + - *369 + - *412 responses: '204': description: Response @@ -58761,9 +58942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *366 - - *367 - - *410 + - *368 + - *369 + - *412 responses: '204': description: Response @@ -58814,9 +58995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *366 - - *367 - - *410 + - *368 + - *369 + - *412 responses: '204': description: Response @@ -58843,19 +59024,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: - - *366 - - *367 - - *410 - - *411 + - *368 + - *369 - *412 - *413 - *414 - - *17 - - *19 - *415 - - *394 - *416 + - *17 + - *19 - *417 + - *396 + - *418 + - *419 responses: '200': description: Response @@ -58871,9 +59052,9 @@ paths: type: integer workflow_runs: type: array - items: *395 + items: *397 examples: - default: *418 + default: *420 headers: Link: *38 x-github: @@ -58906,9 +59087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *366 - - *367 - - *410 + - *368 + - *369 + - *412 responses: '200': description: Response @@ -58969,8 +59150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *366 - - *367 + - *368 + - *369 - *86 - *17 - *84 @@ -59138,8 +59319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -59151,7 +59332,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '404': *6 @@ -59176,8 +59357,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: - - *366 - - *367 + - *368 + - *369 - name: assignee in: path required: true @@ -59213,8 +59394,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -59326,8 +59507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *84 - *85 @@ -59381,7 +59562,7 @@ paths: bundle_url: type: string examples: - default: *419 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59401,8 +59582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -59410,7 +59591,7 @@ paths: application/json: schema: type: array - items: &420 + items: &422 title: Autolink reference description: An autolink reference. type: object @@ -59464,8 +59645,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -59504,9 +59685,9 @@ paths: description: response content: application/json: - schema: *420 + schema: *422 examples: - default: &421 + default: &423 value: id: 1 key_prefix: TICKET- @@ -59537,9 +59718,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: - - *366 - - *367 - - &422 + - *368 + - *369 + - &424 name: autolink_id description: The unique identifier of the autolink. in: path @@ -59551,9 +59732,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *422 examples: - default: *421 + default: *423 '404': *6 x-github: githubCloudOnly: false @@ -59573,9 +59754,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: - - *366 - - *367 - - *422 + - *368 + - *369 + - *424 responses: '204': description: Response @@ -59599,8 +59780,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response if Dependabot is enabled @@ -59650,8 +59831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -59672,8 +59853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -59693,8 +59874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *366 - - *367 + - *368 + - *369 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -59732,7 +59913,7 @@ paths: - url protected: type: boolean - protection: &424 + protection: &426 title: Branch Protection description: Branch Protection type: object @@ -59775,7 +59956,7 @@ paths: required: - contexts - checks - enforce_admins: &427 + enforce_admins: &429 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -59792,7 +59973,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &429 + required_pull_request_reviews: &431 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -59814,7 +59995,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *222 + items: *224 apps: description: The list of apps with review dismissal access. @@ -59846,7 +60027,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *222 + items: *224 apps: description: The list of apps allowed to bypass pull request requirements. @@ -59876,7 +60057,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &426 + restrictions: &428 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -60201,9 +60382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *366 - - *367 - - &425 + - *368 + - *369 + - &427 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). @@ -60217,14 +60398,14 @@ paths: description: Response content: application/json: - schema: &435 + schema: &437 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &484 + commit: &486 title: Commit description: Commit type: object @@ -60263,7 +60444,7 @@ paths: author: anyOf: - type: 'null' - - &423 + - &425 title: Git User description: Metaproperties for Git author/committer information. @@ -60284,7 +60465,7 @@ paths: committer: anyOf: - type: 'null' - - *423 + - *425 message: type: string examples: @@ -60308,7 +60489,7 @@ paths: required: - sha - url - verification: &542 + verification: &544 title: Verification type: object properties: @@ -60344,14 +60525,14 @@ paths: author: oneOf: - *4 - - *202 + - *204 type: - 'null' - object committer: oneOf: - *4 - - *202 + - *204 type: - 'null' - object @@ -60388,7 +60569,7 @@ paths: type: integer files: type: array - items: &496 + items: &498 title: Diff Entry description: Diff Entry type: object @@ -60482,7 +60663,7 @@ paths: - self protected: type: boolean - protection: *424 + protection: *426 protection_url: type: string format: uri @@ -60591,7 +60772,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *380 + '301': *382 '404': *6 x-github: githubCloudOnly: false @@ -60613,15 +60794,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -60815,9 +60996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -61077,7 +61258,7 @@ paths: url: type: string format: uri - required_status_checks: &432 + required_status_checks: &434 title: Status Check Policy description: Status Check Policy type: object @@ -61158,7 +61339,7 @@ paths: items: *4 teams: type: array - items: *222 + items: *224 apps: type: array items: *5 @@ -61176,7 +61357,7 @@ paths: items: *4 teams: type: array - items: *222 + items: *224 apps: type: array items: *5 @@ -61236,7 +61417,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *426 + restrictions: *428 required_conversation_resolution: type: object properties: @@ -61348,9 +61529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -61375,17 +61556,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: &428 + default: &430 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -61407,17 +61588,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *428 + default: *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61436,9 +61617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -61463,17 +61644,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: &430 + default: &432 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -61569,9 +61750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -61669,9 +61850,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *430 + default: *432 '422': *15 x-github: githubCloudOnly: false @@ -61692,9 +61873,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -61721,17 +61902,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: &431 + default: &433 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -61754,17 +61935,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *427 + schema: *429 examples: - default: *431 + default: *433 '404': *6 x-github: githubCloudOnly: false @@ -61784,9 +61965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -61811,17 +61992,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: &433 + default: &435 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -61847,9 +62028,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -61901,9 +62082,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *434 examples: - default: *433 + default: *435 '404': *6 '422': *15 x-github: @@ -61925,9 +62106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -61951,9 +62132,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response @@ -61987,9 +62168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -62056,9 +62237,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -62122,9 +62303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: content: application/json: @@ -62190,15 +62371,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response content: application/json: - schema: *426 + schema: *428 examples: default: value: @@ -62289,9 +62470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '204': description: Response @@ -62314,9 +62495,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: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response @@ -62326,7 +62507,7 @@ paths: type: array items: *5 examples: - default: &434 + default: &436 value: - id: 1 slug: octoapp @@ -62383,9 +62564,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62419,7 +62600,7 @@ paths: type: array items: *5 examples: - default: *434 + default: *436 '422': *15 x-github: githubCloudOnly: false @@ -62440,9 +62621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62476,7 +62657,7 @@ paths: type: array items: *5 examples: - default: *434 + default: *436 '422': *15 x-github: githubCloudOnly: false @@ -62497,9 +62678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62533,7 +62714,7 @@ paths: type: array items: *5 examples: - default: *434 + default: *436 '422': *15 x-github: githubCloudOnly: false @@ -62555,9 +62736,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: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response @@ -62565,9 +62746,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 '404': *6 x-github: githubCloudOnly: false @@ -62587,9 +62768,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -62625,9 +62806,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -62648,9 +62829,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: false content: @@ -62686,9 +62867,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -62709,9 +62890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: content: application/json: @@ -62746,9 +62927,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 '422': *15 x-github: githubCloudOnly: false @@ -62770,9 +62951,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: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 responses: '200': description: Response @@ -62782,7 +62963,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 '404': *6 x-github: githubCloudOnly: false @@ -62806,9 +62987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62841,7 +63022,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -62866,9 +63047,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62901,7 +63082,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -62926,9 +63107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -62961,7 +63142,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 '422': *15 x-github: githubCloudOnly: false @@ -62988,9 +63169,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 requestBody: required: true content: @@ -63012,7 +63193,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *437 examples: default: value: @@ -63126,12 +63307,12 @@ paths: category: repos subcategory: bypass-requests parameters: - - *366 - - *367 - - *214 - - *215 + - *368 + - *369 - *216 - *217 + - *218 + - *219 - *17 - *19 responses: @@ -63141,9 +63322,9 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: - default: *219 + default: *221 '404': *6 '500': *83 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -63163,8 +63344,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: bypass_request_number in: path required: true @@ -63178,7 +63359,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -63237,12 +63418,12 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *366 - - *367 - - *214 - - *215 + - *368 + - *369 - *216 - *217 + - *218 + - *219 - *17 - *19 responses: @@ -63252,9 +63433,9 @@ paths: application/json: schema: type: array - items: *436 + items: *438 examples: - default: *437 + default: *439 '404': *6 '403': *27 '500': *83 @@ -63278,8 +63459,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *366 - - *367 + - *368 + - *369 - name: bypass_request_number in: path required: true @@ -63291,7 +63472,7 @@ paths: description: A single bypass request. content: application/json: - schema: *436 + schema: *438 examples: default: value: @@ -63349,8 +63530,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *366 - - *367 + - *368 + - *369 - name: bypass_request_number in: path required: true @@ -63421,8 +63602,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *366 - - *367 + - *368 + - *369 - name: bypass_response_id in: path required: true @@ -63455,8 +63636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -63735,7 +63916,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &441 title: CheckRun description: A check performed on the code of a given code change type: object @@ -63870,8 +64051,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *438 - deployment: &773 + items: *440 + deployment: &775 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -64158,9 +64339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *366 - - *367 - - &440 + - *368 + - *369 + - &442 name: check_run_id description: The unique identifier of the check run. in: path @@ -64172,9 +64353,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: &441 + default: &443 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -64274,9 +64455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *366 - - *367 - - *440 + - *368 + - *369 + - *442 requestBody: required: true content: @@ -64516,9 +64697,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *441 examples: - default: *441 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64538,9 +64719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *366 - - *367 - - *440 + - *368 + - *369 + - *442 - *17 - *19 responses: @@ -64650,15 +64831,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *366 - - *367 - - *440 + - *368 + - *369 + - *442 responses: '201': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -64696,8 +64877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -64719,7 +64900,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &443 + schema: &445 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -64801,12 +64982,12 @@ paths: type: - array - 'null' - items: *438 + items: *440 app: anyOf: - type: 'null' - *5 - repository: *191 + repository: *193 created_at: type: - string @@ -64817,7 +64998,7 @@ paths: - string - 'null' format: date-time - head_commit: *442 + head_commit: *444 latest_check_runs_count: type: integer check_runs_url: @@ -64845,7 +65026,7 @@ paths: - check_runs_url - pull_requests examples: - default: &444 + default: &446 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -65136,9 +65317,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *443 + schema: *445 examples: - default: *444 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65157,8 +65338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -65219,7 +65400,7 @@ paths: required: - app_id - setting - repository: *191 + repository: *193 examples: default: value: @@ -65467,9 +65648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *366 - - *367 - - &445 + - *368 + - *369 + - &447 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -65481,9 +65662,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *445 examples: - default: *444 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65506,17 +65687,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: - - *366 - - *367 - - *445 - - &491 + - *368 + - *369 + - *447 + - &493 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &492 + - &494 name: status description: Returns check runs with the specified `status`. in: query @@ -65555,9 +65736,9 @@ paths: type: integer check_runs: type: array - items: *439 + items: *441 examples: - default: &493 + default: &495 value: total_count: 1 check_runs: @@ -65659,15 +65840,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *366 - - *367 - - *445 + - *368 + - *369 + - *447 responses: '201': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -65694,21 +65875,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: - - *366 - - *367 - - *226 - - *227 + - *368 + - *369 + - *228 + - *229 - *19 - *17 - - &461 + - &463 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: *446 - - &462 + schema: *448 + - &464 name: pr description: The number of the pull request for the results you want to list. in: query @@ -65733,13 +65914,13 @@ paths: be returned. in: query required: false - schema: *228 + schema: *230 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *447 + schema: *449 responses: '200': description: Response @@ -65755,7 +65936,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *448 + instances_url: *450 state: *89 fixed_at: *106 dismissed_by: @@ -65763,11 +65944,11 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *449 - dismissed_comment: *450 - rule: *451 - tool: *452 - most_recent_instance: *453 + dismissed_reason: *451 + dismissed_comment: *452 + rule: *453 + tool: *454 + most_recent_instance: *455 dismissal_approved_by: anyOf: - type: 'null' @@ -65887,7 +66068,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &454 + '403': &456 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -65914,9 +66095,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: - - *366 - - *367 - - &455 + - *368 + - *369 + - &457 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -65930,7 +66111,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &458 type: object properties: number: *96 @@ -65938,7 +66119,7 @@ paths: updated_at: *104 url: *101 html_url: *102 - instances_url: *448 + instances_url: *450 state: *89 fixed_at: *106 dismissed_by: @@ -65946,8 +66127,8 @@ paths: - type: 'null' - *4 dismissed_at: *105 - dismissed_reason: *449 - dismissed_comment: *450 + dismissed_reason: *451 + dismissed_comment: *452 rule: type: object properties: @@ -66009,8 +66190,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *452 - most_recent_instance: *453 + tool: *454 + most_recent_instance: *455 dismissal_approved_by: anyOf: - type: 'null' @@ -66103,7 +66284,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -66123,9 +66304,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 requestBody: required: true content: @@ -66140,8 +66321,8 @@ paths: enum: - open - dismissed - dismissed_reason: *449 - dismissed_comment: *450 + dismissed_reason: *451 + dismissed_comment: *452 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -66160,7 +66341,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *458 examples: default: value: @@ -66236,7 +66417,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &460 + '403': &462 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -66263,15 +66444,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 responses: '200': description: Response content: application/json: - schema: &457 + schema: &459 type: object properties: status: @@ -66298,13 +66479,13 @@ paths: - description - started_at examples: - default: &458 + default: &460 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &459 + '400': &461 description: Bad Request content: application/json: @@ -66315,7 +66496,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': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -66340,29 +66521,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 responses: '200': description: OK content: application/json: - schema: *457 + schema: *459 examples: - default: *458 + default: *460 '202': description: Accepted content: application/json: - schema: *457 + schema: *459 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *459 + '400': *461 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -66394,9 +66575,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 requestBody: required: false content: @@ -66442,8 +66623,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *459 - '403': *460 + '400': *461 + '403': *462 '404': *6 '422': description: Unprocessable Entity @@ -66467,13 +66648,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 - *19 - *17 - - *461 - - *462 + - *463 + - *464 responses: '200': description: Response @@ -66481,7 +66662,7 @@ paths: application/json: schema: type: array - items: *453 + items: *455 examples: default: value: @@ -66520,7 +66701,7 @@ paths: end_column: 50 classifications: - source - '403': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -66554,25 +66735,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: - - *366 - - *367 - - *226 - - *227 + - *368 + - *369 + - *228 + - *229 - *19 - *17 - - *462 + - *464 - 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: *446 + schema: *448 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &465 + schema: &467 type: string description: An identifier for the upload. examples: @@ -66594,23 +66775,23 @@ paths: application/json: schema: type: array - items: &466 + items: &468 type: object properties: - ref: *446 - commit_sha: &474 + ref: *448 + commit_sha: &476 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: *463 + analysis_key: *465 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *464 + category: *466 error: type: string examples: @@ -66635,8 +66816,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *465 - tool: *452 + sarif_id: *467 + tool: *454 deletable: type: boolean warning: @@ -66698,7 +66879,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -66734,8 +66915,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: - - *366 - - *367 + - *368 + - *369 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -66748,7 +66929,7 @@ paths: description: Response content: application/json: - schema: *466 + schema: *468 examples: response: summary: application/json response @@ -66802,7 +66983,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *454 + '403': *456 '404': *6 '422': description: Response if analysis could not be processed @@ -66889,8 +67070,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: - - *366 - - *367 + - *368 + - *369 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -66946,7 +67127,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': *460 + '403': *462 '404': *6 '503': *130 x-github: @@ -66968,8 +67149,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -66977,7 +67158,7 @@ paths: application/json: schema: type: array - items: &467 + items: &469 title: CodeQL Database description: A CodeQL database. type: object @@ -67089,7 +67270,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': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -67118,8 +67299,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: - - *366 - - *367 + - *368 + - *369 - name: language in: path description: The language of the CodeQL database. @@ -67131,7 +67312,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: default: value: @@ -67163,9 +67344,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': &498 + '302': &500 description: Found - '403': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -67187,8 +67368,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *366 - - *367 + - *368 + - *369 - name: language in: path description: The language of the CodeQL database. @@ -67198,7 +67379,7 @@ paths: responses: '204': description: Response - '403': *460 + '403': *462 '404': *6 '503': *130 x-github: @@ -67226,8 +67407,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -67236,7 +67417,7 @@ paths: type: object additionalProperties: false properties: - language: &468 + language: &470 type: string description: The language targeted by the CodeQL query enum: @@ -67315,7 +67496,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &472 + schema: &474 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -67325,7 +67506,7 @@ paths: description: The ID of the variant analysis. controller_repo: *95 actor: *4 - query_language: *468 + query_language: *470 query_pack_url: type: string description: The download url for the query pack. @@ -67373,7 +67554,7 @@ paths: items: type: object properties: - repository: &469 + repository: &471 title: Repository Identifier description: Repository Identifier type: object @@ -67415,7 +67596,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &473 + analysis_status: &475 type: string description: The new status of the CodeQL variant analysis repository task. @@ -67447,7 +67628,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &470 + access_mismatch_repos: &472 type: object properties: repository_count: @@ -67462,7 +67643,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: *469 + items: *471 required: - repository_count - repositories @@ -67485,8 +67666,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *470 - over_limit_repos: *470 + no_codeql_db_repos: *472 + over_limit_repos: *472 required: - access_mismatch_repos - not_found_repos @@ -67502,7 +67683,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &471 + value: &473 summary: Default response value: id: 1 @@ -67654,10 +67835,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *471 + value: *473 repository_lists: summary: Response for a successful variant analysis submission - value: *471 + value: *473 '404': *6 '422': description: Unable to process variant analysis submission @@ -67685,8 +67866,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: - - *366 - - *367 + - *368 + - *369 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -67698,9 +67879,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *474 examples: - default: *471 + default: *473 '404': *6 '503': *130 x-github: @@ -67723,7 +67904,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: - - *366 + - *368 - name: repo in: path description: The name of the controller repository. @@ -67758,7 +67939,7 @@ paths: type: object properties: repository: *95 - analysis_status: *473 + analysis_status: *475 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -67883,8 +68064,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -67977,7 +68158,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *454 + '403': *456 '404': *6 '503': *130 x-github: @@ -67998,8 +68179,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -68068,7 +68249,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -68093,7 +68274,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *460 + '403': *462 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -68158,8 +68339,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -68167,7 +68348,7 @@ paths: schema: type: object properties: - commit_sha: *474 + commit_sha: *476 ref: type: string description: |- @@ -68227,7 +68408,7 @@ paths: schema: type: object properties: - id: *465 + id: *467 url: type: string description: The REST API URL for checking the status of the upload. @@ -68241,7 +68422,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': *460 + '403': *462 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -68264,8 +68445,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: - - *366 - - *367 + - *368 + - *369 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -68313,7 +68494,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': *454 + '403': *456 '404': description: Not Found if the sarif id does not match any upload '503': *130 @@ -68338,8 +68519,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -68420,8 +68601,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *366 - - *367 + - *368 + - *369 - 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 @@ -68549,8 +68730,8 @@ paths: parameters: - *17 - *19 - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -68566,7 +68747,7 @@ paths: type: integer codespaces: type: array - items: *286 + items: *288 examples: default: value: @@ -68864,8 +69045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -68929,17 +69110,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '400': *14 '401': *23 '403': *27 @@ -68968,8 +69149,8 @@ paths: parameters: - *17 - *19 - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -69033,8 +69214,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: - - *366 - - *367 + - *368 + - *369 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -69071,9 +69252,9 @@ paths: type: integer machines: type: array - items: *476 + items: *478 examples: - default: &727 + default: &729 value: total_count: 2 machines: @@ -69113,8 +69294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *366 - - *367 + - *368 + - *369 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -69201,8 +69382,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: - - *366 - - *367 + - *368 + - *369 - 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 @@ -69271,8 +69452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -69290,7 +69471,7 @@ paths: type: integer secrets: type: array - items: &480 + items: &482 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -69311,7 +69492,7 @@ paths: - created_at - updated_at examples: - default: *477 + default: *479 headers: Link: *38 x-github: @@ -69334,16 +69515,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *479 + default: *481 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -69363,17 +69544,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '200': description: Response content: application/json: - schema: *480 + schema: *482 examples: - default: *481 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69393,9 +69574,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: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 requestBody: required: true content: @@ -69423,7 +69604,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -69447,9 +69628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '204': description: Response @@ -69477,8 +69658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *366 - - *367 + - *368 + - *369 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -69516,7 +69697,7 @@ paths: application/json: schema: type: array - items: &482 + items: &484 title: Collaborator description: Collaborator type: object @@ -69709,9 +69890,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: - - *366 - - *367 - - *213 + - *368 + - *369 + - *215 responses: '204': description: Response if user is a collaborator @@ -69757,9 +69938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *366 - - *367 - - *213 + - *368 + - *369 + - *215 requestBody: required: false content: @@ -69785,7 +69966,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &555 + schema: &557 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -69797,7 +69978,7 @@ paths: format: int64 examples: - 42 - repository: *191 + repository: *193 invitee: anyOf: - type: 'null' @@ -69973,7 +70154,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *174 + schema: *176 '403': *27 x-github: triggersNotification: true @@ -70013,9 +70194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *366 - - *367 - - *213 + - *368 + - *369 + - *215 responses: '204': description: No Content when collaborator was removed from the repository. @@ -70046,9 +70227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *366 - - *367 - - *213 + - *368 + - *369 + - *215 responses: '200': description: if user has admin permissions @@ -70068,7 +70249,7 @@ paths: user: anyOf: - type: 'null' - - *482 + - *484 required: - permission - role_name @@ -70122,8 +70303,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -70133,7 +70314,7 @@ paths: application/json: schema: type: array - items: &483 + items: &485 title: Commit Comment description: Commit Comment type: object @@ -70174,8 +70355,8 @@ paths: updated_at: type: string format: date-time - author_association: *136 - reactions: *137 + author_association: *138 + reactions: *139 required: - url - html_url @@ -70191,7 +70372,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &488 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -70250,17 +70431,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '200': description: Response content: application/json: - schema: *483 + schema: *485 examples: - default: &487 + default: &489 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -70317,9 +70498,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -70341,7 +70522,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -70392,9 +70573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '204': description: Response @@ -70415,9 +70596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 - 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. @@ -70443,9 +70624,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 '404': *6 @@ -70466,9 +70647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -70500,16 +70681,16 @@ paths: description: Reaction exists content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Reaction created content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -70531,10 +70712,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *366 - - *367 - - *148 - - *358 + - *368 + - *369 + - *150 + - *360 responses: '204': description: Response @@ -70583,8 +70764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *366 - - *367 + - *368 + - *369 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -70640,9 +70821,9 @@ paths: application/json: schema: type: array - items: *484 + items: *486 examples: - default: &603 + default: &605 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -70736,9 +70917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *366 - - *367 - - &485 + - *368 + - *369 + - &487 name: commit_sha description: The SHA of the commit. in: path @@ -70810,9 +70991,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *366 - - *367 - - *485 + - *368 + - *369 + - *487 - *17 - *19 responses: @@ -70822,9 +71003,9 @@ paths: application/json: schema: type: array - items: *483 + items: *485 examples: - default: *486 + default: *488 headers: Link: *38 x-github: @@ -70852,9 +71033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *366 - - *367 - - *485 + - *368 + - *369 + - *487 requestBody: required: true content: @@ -70889,9 +71070,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *485 examples: - default: *487 + default: *489 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -70919,9 +71100,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: - - *366 - - *367 - - *485 + - *368 + - *369 + - *487 - *17 - *19 responses: @@ -70931,7 +71112,7 @@ paths: application/json: schema: type: array - items: &594 + items: &596 title: Pull Request Simple description: Pull Request Simple type: object @@ -71051,7 +71232,7 @@ paths: milestone: anyOf: - type: 'null' - - *488 + - *490 active_lock_reason: type: - string @@ -71106,7 +71287,7 @@ paths: type: - array - 'null' - items: *222 + items: *224 head: type: object properties: @@ -71150,7 +71331,7 @@ paths: _links: type: object properties: - comments: &489 + comments: &491 title: Link description: Hypermedia Link type: object @@ -71159,13 +71340,13 @@ paths: type: string required: - href - commits: *489 - statuses: *489 - html: *489 - issue: *489 - review_comments: *489 - review_comment: *489 - self: *489 + commits: *491 + statuses: *491 + html: *491 + issue: *491 + review_comments: *491 + review_comment: *491 + self: *491 required: - comments - commits @@ -71175,8 +71356,8 @@ paths: - review_comments - review_comment - self - author_association: *136 - auto_merge: &596 + author_association: *138 + auto_merge: &598 title: Auto merge description: The status of auto merging a pull request. type: @@ -71241,7 +71422,7 @@ paths: - author_association - auto_merge examples: - default: &595 + default: &597 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -71778,11 +71959,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *366 - - *367 + - *368 + - *369 - *19 - *17 - - &490 + - &492 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)" @@ -71797,9 +71978,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *486 examples: - default: &582 + default: &584 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -71912,11 +72093,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: - - *366 - - *367 - - *490 - - *491 + - *368 + - *369 - *492 + - *493 + - *494 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -71950,9 +72131,9 @@ paths: type: integer check_runs: type: array - items: *439 + items: *441 examples: - default: *493 + default: *495 headers: Link: *38 x-github: @@ -71977,9 +72158,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: - - *366 - - *367 - - *490 + - *368 + - *369 + - *492 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -71987,7 +72168,7 @@ paths: schema: type: integer example: 1 - - *491 + - *493 - *17 - *19 responses: @@ -72005,7 +72186,7 @@ paths: type: integer check_suites: type: array - items: *443 + items: *445 examples: default: value: @@ -72205,9 +72386,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: - - *366 - - *367 - - *490 + - *368 + - *369 + - *492 - *17 - *19 responses: @@ -72278,7 +72459,7 @@ paths: type: string total_count: type: integer - repository: *191 + repository: *193 commit_url: type: string format: uri @@ -72409,9 +72590,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *366 - - *367 - - *490 + - *368 + - *369 + - *492 - *17 - *19 responses: @@ -72421,7 +72602,7 @@ paths: application/json: schema: type: array - items: &675 + items: &677 title: Status description: The status of a commit. type: object @@ -72502,7 +72683,7 @@ paths: site_admin: false headers: Link: *38 - '301': *380 + '301': *382 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72530,8 +72711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -72564,11 +72745,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *494 + - *496 code_of_conduct_file: anyOf: - type: 'null' - - &495 + - &497 title: Community Health File type: object properties: @@ -72584,23 +72765,23 @@ paths: license: anyOf: - type: 'null' - - *150 + - *152 contributing: anyOf: - type: 'null' - - *495 + - *497 readme: anyOf: - type: 'null' - - *495 + - *497 issue_template: anyOf: - type: 'null' - - *495 + - *497 pull_request_template: anyOf: - type: 'null' - - *495 + - *497 required: - code_of_conduct - code_of_conduct_file @@ -72729,8 +72910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *366 - - *367 + - *368 + - *369 - *19 - *17 - name: basehead @@ -72778,8 +72959,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *484 - merge_base_commit: *484 + base_commit: *486 + merge_base_commit: *486 status: type: string enum: @@ -72803,10 +72984,10 @@ paths: - 6 commits: type: array - items: *484 + items: *486 files: type: array - items: *496 + items: *498 required: - url - html_url @@ -73092,8 +73273,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *366 - - *367 + - *368 + - *369 - name: path description: path parameter in: path @@ -73246,7 +73427,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &497 + response-if-content-is-a-file: &499 summary: Response if content is a file value: type: file @@ -73383,7 +73564,7 @@ paths: - size - type - url - - &608 + - &610 title: Content File description: Content File type: object @@ -73601,7 +73782,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *497 + response-if-content-is-a-file: *499 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -73670,7 +73851,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *498 + '302': *500 '304': *35 x-github: githubCloudOnly: false @@ -73693,8 +73874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *366 - - *367 + - *368 + - *369 - name: path description: path parameter in: path @@ -73789,7 +73970,7 @@ paths: description: Response content: application/json: - schema: &499 + schema: &501 title: File Commit description: File Commit type: object @@ -73945,7 +74126,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: example-for-creating-a-file: value: @@ -73999,7 +74180,7 @@ paths: schema: oneOf: - *3 - - &537 + - &539 description: Repository rule violation was detected type: object properties: @@ -74020,7 +74201,7 @@ paths: items: type: object properties: - placeholder_id: &667 + placeholder_id: &669 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -74052,8 +74233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *366 - - *367 + - *368 + - *369 - name: path description: path parameter in: path @@ -74114,7 +74295,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: default: value: @@ -74169,8 +74350,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *366 - - *367 + - *368 + - *369 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -74294,22 +74475,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *366 - - *367 - - *242 - - *243 + - *368 + - *369 - *244 - *245 + - *246 + - *247 - 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 - - *246 - - *247 - *248 - *249 + - *250 + - *251 - *86 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -74329,8 +74510,8 @@ paths: default: 30 - *84 - *85 - - *250 - - *251 + - *252 + - *253 responses: '200': description: Response @@ -74338,7 +74519,7 @@ paths: application/json: schema: type: array - items: &502 + items: &504 type: object description: A Dependabot alert. properties: @@ -74388,7 +74569,7 @@ paths: - direct - transitive - - security_advisory: *500 + security_advisory: *502 security_vulnerability: *100 url: *101 html_url: *102 @@ -74419,7 +74600,7 @@ paths: dismissal. maxLength: 280 fixed_at: *106 - auto_dismissed_at: *501 + auto_dismissed_at: *503 required: - number - state @@ -74649,9 +74830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *366 - - *367 - - &503 + - *368 + - *369 + - &505 name: alert_number in: path description: |- @@ -74666,7 +74847,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -74779,9 +74960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *366 - - *367 - - *503 + - *368 + - *369 + - *505 requestBody: required: true content: @@ -74826,7 +75007,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -74955,8 +75136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -74974,7 +75155,7 @@ paths: type: integer secrets: type: array - items: &506 + items: &508 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -75028,16 +75209,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *504 + schema: *506 examples: - default: *505 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75057,15 +75238,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '200': description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -75091,9 +75272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 requestBody: required: true content: @@ -75121,7 +75302,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -75145,9 +75326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *366 - - *367 - - *201 + - *368 + - *369 + - *203 responses: '204': description: Response @@ -75169,8 +75350,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: - - *366 - - *367 + - *368 + - *369 - 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 @@ -75344,8 +75525,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -75605,8 +75786,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -75689,7 +75870,7 @@ paths: - version - url additionalProperties: false - metadata: &507 + metadata: &509 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -75728,7 +75909,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *507 + metadata: *509 resolved: type: object description: A collection of resolved package dependencies. @@ -75742,7 +75923,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *507 + metadata: *509 relationship: type: string description: A notation of whether a dependency is requested @@ -75875,8 +76056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *366 - - *367 + - *368 + - *369 - name: sha description: The SHA recorded at creation time. in: query @@ -75917,9 +76098,9 @@ paths: application/json: schema: type: array - items: *508 + items: *510 examples: - default: *509 + default: *511 headers: Link: *38 x-github: @@ -75985,8 +76166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -76068,7 +76249,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: simple-example: summary: Simple example @@ -76141,9 +76322,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *366 - - *367 - - &510 + - *368 + - *369 + - &512 name: deployment_id description: deployment_id parameter in: path @@ -76155,7 +76336,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: default: value: @@ -76220,9 +76401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *366 - - *367 - - *510 + - *368 + - *369 + - *512 responses: '204': description: Response @@ -76244,9 +76425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *366 - - *367 - - *510 + - *368 + - *369 + - *512 - *17 - *19 responses: @@ -76256,7 +76437,7 @@ paths: application/json: schema: type: array - items: &511 + items: &513 title: Deployment Status description: The status of a deployment. type: object @@ -76420,9 +76601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *366 - - *367 - - *510 + - *368 + - *369 + - *512 requestBody: required: true content: @@ -76497,9 +76678,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: &512 + default: &514 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -76555,9 +76736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *366 - - *367 - - *510 + - *368 + - *369 + - *512 - name: status_id in: path required: true @@ -76568,9 +76749,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '404': *6 x-github: githubCloudOnly: false @@ -76597,12 +76778,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 - - *513 - - *514 + - *368 + - *369 - *515 - *516 + - *517 + - *518 - *17 - *19 responses: @@ -76612,9 +76793,9 @@ paths: application/json: schema: type: array - items: *517 + items: *519 examples: - default: *518 + default: *520 '404': *6 '403': *27 '500': *83 @@ -76638,8 +76819,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: alert_number in: path required: true @@ -76651,7 +76832,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *517 + schema: *519 examples: default: value: @@ -76707,8 +76888,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: alert_number in: path required: true @@ -76767,12 +76948,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 - - *214 - - *215 + - *368 + - *369 - *216 - - *519 + - *217 + - *218 + - *521 - *17 - *19 responses: @@ -76782,9 +76963,9 @@ paths: application/json: schema: type: array - items: *520 + items: *522 examples: - default: *521 + default: *523 '404': *6 '403': *27 '500': *83 @@ -76809,8 +76990,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: alert_number in: path required: true @@ -76822,7 +77003,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *520 + schema: *522 examples: default: value: @@ -76880,8 +77061,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: alert_number in: path required: true @@ -76950,8 +77131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -77008,8 +77189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -77027,7 +77208,7 @@ paths: - 5 environments: type: array - items: &523 + items: &525 title: Environment description: Details of a deployment environment type: object @@ -77089,7 +77270,7 @@ paths: type: string examples: - wait_timer - wait_timer: &525 + wait_timer: &527 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -77131,11 +77312,11 @@ paths: items: type: object properties: - type: *522 + type: *524 reviewer: anyOf: - *4 - - *222 + - *224 required: - id - node_id @@ -77158,7 +77339,7 @@ paths: - id - node_id - type - deployment_branch_policy: &526 + deployment_branch_policy: &528 type: - object - 'null' @@ -77275,9 +77456,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *366 - - *367 - - &524 + - *368 + - *369 + - &526 name: environment_name in: path required: true @@ -77290,9 +77471,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: &527 + default: &529 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -77376,9 +77557,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 requestBody: required: false content: @@ -77388,7 +77569,7 @@ paths: - object - 'null' properties: - wait_timer: *525 + wait_timer: *527 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -77407,14 +77588,14 @@ paths: items: type: object properties: - type: *522 + type: *524 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *526 + deployment_branch_policy: *528 additionalProperties: false examples: default: @@ -77434,9 +77615,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: - default: *527 + default: *529 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -77460,9 +77641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 responses: '204': description: Default response @@ -77487,9 +77668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 - *17 - *19 responses: @@ -77508,7 +77689,7 @@ paths: - 2 branch_policies: type: array - items: &528 + items: &530 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -77569,9 +77750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 requestBody: required: true content: @@ -77619,9 +77800,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - example-wildcard: &529 + example-wildcard: &531 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -77663,10 +77844,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *366 - - *367 - - *524 - - &530 + - *368 + - *369 + - *526 + - &532 name: branch_policy_id in: path required: true @@ -77678,9 +77859,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77699,10 +77880,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *366 - - *367 - - *524 - - *530 + - *368 + - *369 + - *526 + - *532 requestBody: required: true content: @@ -77731,9 +77912,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: - default: *529 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77752,10 +77933,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *366 - - *367 - - *524 - - *530 + - *368 + - *369 + - *526 + - *532 responses: '204': description: Response @@ -77780,9 +77961,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: - - *524 - - *367 - - *366 + - *526 + - *369 + - *368 responses: '200': description: List of deployment protection rules @@ -77799,7 +77980,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &531 + items: &533 title: Deployment protection rule description: Deployment protection rule type: object @@ -77821,7 +78002,7 @@ paths: for the environment. examples: - true - app: &532 + app: &534 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -77924,9 +78105,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: - - *524 - - *367 - - *366 + - *526 + - *369 + - *368 requestBody: content: application/json: @@ -77947,9 +78128,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *531 + schema: *533 examples: - default: &533 + default: &535 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -77984,9 +78165,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: - - *524 - - *367 - - *366 + - *526 + - *369 + - *368 - *19 - *17 responses: @@ -78006,7 +78187,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *532 + items: *534 examples: default: value: @@ -78041,10 +78222,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: - - *366 - - *367 - - *524 - - &534 + - *368 + - *369 + - *526 + - &536 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -78056,9 +78237,9 @@ paths: description: Response content: application/json: - schema: *531 + schema: *533 examples: - default: *533 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78079,10 +78260,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: - - *524 - - *367 - - *366 - - *534 + - *526 + - *369 + - *368 + - *536 responses: '204': description: Response @@ -78108,9 +78289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 - *17 - *19 responses: @@ -78128,9 +78309,9 @@ paths: type: integer secrets: type: array - items: *403 + items: *405 examples: - default: *404 + default: *406 headers: Link: *38 x-github: @@ -78155,17 +78336,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 responses: '200': description: Response content: application/json: - schema: *405 + schema: *407 examples: - default: *406 + default: *408 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78187,18 +78368,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *366 - - *367 - - *524 - - *201 + - *368 + - *369 + - *526 + - *203 responses: '200': description: Response content: application/json: - schema: *403 + schema: *405 examples: - default: *535 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78220,10 +78401,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *366 - - *367 - - *524 - - *201 + - *368 + - *369 + - *526 + - *203 requestBody: required: true content: @@ -78254,7 +78435,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -78280,10 +78461,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *366 - - *367 - - *524 - - *201 + - *368 + - *369 + - *526 + - *203 responses: '204': description: Default response @@ -78308,10 +78489,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *366 - - *367 - - *524 - - *390 + - *368 + - *369 + - *526 + - *392 - *19 responses: '200': @@ -78328,9 +78509,9 @@ paths: type: integer variables: type: array - items: *407 + items: *409 examples: - default: *408 + default: *410 headers: Link: *38 x-github: @@ -78353,9 +78534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *366 - - *367 - - *524 + - *368 + - *369 + - *526 requestBody: required: true content: @@ -78382,7 +78563,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -78407,18 +78588,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *366 - - *367 - - *524 - - *204 + - *368 + - *369 + - *526 + - *206 responses: '200': description: Response content: application/json: - schema: *407 + schema: *409 examples: - default: *536 + default: *538 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78439,10 +78620,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *366 - - *367 - - *204 - - *524 + - *368 + - *369 + - *206 + - *526 requestBody: required: true content: @@ -78484,10 +78665,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *366 - - *367 - - *204 - - *524 + - *368 + - *369 + - *206 + - *526 responses: '204': description: Response @@ -78509,8 +78690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -78520,7 +78701,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: 200-response: value: @@ -78587,8 +78768,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *366 - - *367 + - *368 + - *369 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -78610,7 +78791,7 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: default: value: @@ -78747,8 +78928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -78781,9 +78962,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *381 + default: *383 '400': *14 '422': *15 '403': *27 @@ -78804,8 +78985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -78864,8 +79045,8 @@ paths: application/json: schema: oneOf: - - *174 - - *537 + - *176 + - *539 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78890,8 +79071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *366 - - *367 + - *368 + - *369 - name: file_sha in: path required: true @@ -78991,8 +79172,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -79101,7 +79282,7 @@ paths: description: Response content: application/json: - schema: &538 + schema: &540 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -79328,15 +79509,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *366 - - *367 - - *485 + - *368 + - *369 + - *487 responses: '200': description: Response content: application/json: - schema: *538 + schema: *540 examples: default: value: @@ -79392,9 +79573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *366 - - *367 - - &539 + - *368 + - *369 + - &541 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. @@ -79411,7 +79592,7 @@ paths: application/json: schema: type: array - items: &540 + items: &542 title: Git Reference description: Git references within a repository type: object @@ -79487,17 +79668,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *366 - - *367 - - *539 + - *368 + - *369 + - *541 responses: '200': description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: &541 + default: &543 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -79526,8 +79707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -79556,9 +79737,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -79584,9 +79765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *366 - - *367 - - *539 + - *368 + - *369 + - *541 requestBody: required: true content: @@ -79615,9 +79796,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *542 examples: - default: *541 + default: *543 '422': *15 '409': *94 x-github: @@ -79635,9 +79816,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *366 - - *367 - - *539 + - *368 + - *369 + - *541 responses: '204': description: Response @@ -79692,8 +79873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -79760,7 +79941,7 @@ paths: description: Response content: application/json: - schema: &543 + schema: &545 title: Git Tag description: Metadata for a Git tag type: object @@ -79816,7 +79997,7 @@ paths: - sha - type - url - verification: *542 + verification: *544 required: - sha - url @@ -79826,7 +80007,7 @@ paths: - tag - message examples: - default: &544 + default: &546 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -79899,8 +80080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *366 - - *367 + - *368 + - *369 - name: tag_sha in: path required: true @@ -79911,9 +80092,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: *544 + default: *546 '404': *6 '409': *94 x-github: @@ -79937,8 +80118,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -80012,7 +80193,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &547 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -80114,8 +80295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *366 - - *367 + - *368 + - *369 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -80138,7 +80319,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: default-response: summary: Default response @@ -80197,8 +80378,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -80208,7 +80389,7 @@ paths: application/json: schema: type: array - items: &546 + items: &548 title: Webhook description: Webhooks for repositories. type: object @@ -80271,7 +80452,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &804 + last_response: &806 title: Hook Response type: object properties: @@ -80348,8 +80529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -80402,9 +80583,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: &547 + default: &549 value: type: Repository id: 12345678 @@ -80452,17 +80633,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 responses: '200': description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *547 + default: *549 '404': *6 x-github: githubCloudOnly: false @@ -80482,9 +80663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 requestBody: required: true content: @@ -80529,9 +80710,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *548 examples: - default: *547 + default: *549 '422': *15 '404': *6 x-github: @@ -80552,9 +80733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 responses: '204': description: Response @@ -80578,9 +80759,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: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 responses: '200': description: Response @@ -80607,9 +80788,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: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 requestBody: required: false content: @@ -80653,11 +80834,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 - *17 - - *258 + - *260 responses: '200': description: Response @@ -80665,9 +80846,9 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: - default: *260 + default: *262 '400': *14 '422': *15 x-github: @@ -80686,18 +80867,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: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 - *16 responses: '200': description: Response content: application/json: - schema: *261 + schema: *263 examples: - default: *262 + default: *264 '400': *14 '422': *15 x-github: @@ -80716,9 +80897,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: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 - *16 responses: '202': *37 @@ -80741,9 +80922,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 responses: '204': description: Response @@ -80768,9 +80949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *366 - - *367 - - *257 + - *368 + - *369 + - *259 responses: '204': description: Response @@ -80828,14 +81009,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: &548 + schema: &550 title: Import description: A repository import from an external source. type: object @@ -80942,7 +81123,7 @@ paths: - html_url - authors_url examples: - default: &551 + default: &553 value: vcs: subversion use_lfs: true @@ -80958,7 +81139,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': &549 + '503': &551 description: Unavailable due to service under maintenance. content: application/json: @@ -80987,8 +81168,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -81036,7 +81217,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: default: value: @@ -81061,7 +81242,7 @@ paths: type: string '422': *15 '404': *6 - '503': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81089,8 +81270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -81142,7 +81323,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: example-1: summary: Example 1 @@ -81190,7 +81371,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': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81213,12 +81394,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response - '503': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81244,9 +81425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *366 - - *367 - - &750 + - *368 + - *369 + - &752 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -81260,7 +81441,7 @@ paths: application/json: schema: type: array - items: &550 + items: &552 title: Porter Author description: Porter Author type: object @@ -81314,7 +81495,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': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81339,8 +81520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *366 - - *367 + - *368 + - *369 - name: author_id in: path required: true @@ -81370,7 +81551,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -81383,7 +81564,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81407,8 +81588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -81449,7 +81630,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81477,8 +81658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -81505,11 +81686,11 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: - default: *551 + default: *553 '422': *15 - '503': *549 + '503': *551 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81532,8 +81713,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -81541,8 +81722,8 @@ paths: application/json: schema: *20 examples: - default: *552 - '301': *380 + default: *554 + '301': *382 '404': *6 x-github: githubCloudOnly: false @@ -81562,8 +81743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -81571,12 +81752,12 @@ paths: application/json: schema: anyOf: - - *275 + - *277 - type: object properties: {} additionalProperties: false examples: - default: &554 + default: &556 value: limit: collaborators_only origin: repository @@ -81601,13 +81782,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: application/json: - schema: *553 + schema: *555 examples: default: summary: Example request body @@ -81619,9 +81800,9 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: - default: *554 + default: *556 '409': description: Response x-github: @@ -81643,8 +81824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -81667,8 +81848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -81678,9 +81859,9 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: &743 + default: &745 value: - id: 1 repository: @@ -81811,9 +81992,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *366 - - *367 - - *279 + - *368 + - *369 + - *281 requestBody: required: false content: @@ -81842,7 +82023,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *557 examples: default: value: @@ -81973,9 +82154,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *366 - - *367 - - *279 + - *368 + - *369 + - *281 responses: '204': description: Response @@ -82006,8 +82187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *366 - - *367 + - *368 + - *369 - 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 @@ -82055,7 +82236,7 @@ paths: required: false schema: type: string - - *283 + - *285 - name: sort description: What to sort results by. in: query @@ -82068,7 +82249,7 @@ paths: - comments default: created - *86 - - *139 + - *141 - *17 - *19 responses: @@ -82078,9 +82259,9 @@ paths: application/json: schema: type: array - items: *149 + items: *151 examples: - default: &564 + default: &566 value: - id: 1 node_id: MDU6SXNzdWUx @@ -82228,7 +82409,7 @@ paths: state_reason: completed headers: Link: *38 - '301': *380 + '301': *382 '422': *15 '404': *6 x-github: @@ -82257,8 +82438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -82348,9 +82529,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: &559 + default: &561 value: id: 1 node_id: MDU6SXNzdWUx @@ -82506,7 +82687,7 @@ paths: '422': *15 '503': *130 '404': *6 - '410': *377 + '410': *379 x-github: triggersNotification: true githubCloudOnly: false @@ -82534,9 +82715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *366 - - *367 - - *158 + - *368 + - *369 + - *160 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -82546,7 +82727,7 @@ paths: enum: - asc - desc - - *139 + - *141 - *17 - *19 responses: @@ -82556,9 +82737,9 @@ paths: application/json: schema: type: array - items: *556 + items: *558 examples: - default: &561 + default: &563 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -82616,17 +82797,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '200': description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: &557 + default: &559 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -82680,9 +82861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -82704,9 +82885,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *557 + default: *559 '422': *15 x-github: githubCloudOnly: false @@ -82724,9 +82905,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '204': description: Response @@ -82746,9 +82927,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 - 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. @@ -82774,9 +82955,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 '404': *6 @@ -82797,9 +82978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -82831,16 +83012,16 @@ paths: description: Reaction exists content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Reaction created content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -82862,10 +83043,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *366 - - *367 - - *148 - - *358 + - *368 + - *369 + - *150 + - *360 responses: '204': description: Response @@ -82885,8 +83066,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -82896,7 +83077,7 @@ paths: application/json: schema: type: array - items: &558 + items: &560 title: Issue Event description: Issue Event type: object @@ -82943,7 +83124,7 @@ paths: issue: anyOf: - type: 'null' - - *149 + - *151 label: title: Issue Event Label description: Issue Event Label @@ -82976,7 +83157,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *222 + requested_team: *224 dismissed_review: title: Issue Event Dismissed Review type: object @@ -83043,7 +83224,7 @@ paths: required: - from - to - author_association: *136 + author_association: *138 lock_reason: type: - string @@ -83235,8 +83416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *366 - - *367 + - *368 + - *369 - name: event_id in: path required: true @@ -83247,7 +83428,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *560 examples: default: value: @@ -83440,7 +83621,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *377 + '410': *379 '403': *27 x-github: githubCloudOnly: false @@ -83474,9 +83655,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *366 - - *367 - - &560 + - *368 + - *369 + - &562 name: issue_number description: The number that identifies the issue. in: path @@ -83488,12 +83669,12 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 - '301': *380 + default: *561 + '301': *382 '404': *6 - '410': *377 + '410': *379 '304': *35 x-github: githubCloudOnly: false @@ -83518,9 +83699,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: false content: @@ -83638,15 +83819,15 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 '422': *15 '503': *130 '403': *27 - '301': *380 + '301': *382 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83664,9 +83845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: false content: @@ -83692,9 +83873,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83710,9 +83891,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: content: application/json: @@ -83737,9 +83918,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83761,9 +83942,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: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - name: assignee in: path required: true @@ -83803,10 +83984,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *366 - - *367 - - *560 - - *139 + - *368 + - *369 + - *562 + - *141 - *17 - *19 responses: @@ -83816,13 +83997,13 @@ paths: application/json: schema: type: array - items: *556 + items: *558 examples: - default: *561 + default: *563 headers: Link: *38 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83851,9 +84032,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: true content: @@ -83875,16 +84056,16 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *557 + default: *559 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *377 + '410': *379 '422': *15 '404': *6 x-github: @@ -83904,9 +84085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - *17 - *19 responses: @@ -83920,7 +84101,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &565 + - &567 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -83969,7 +84150,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &566 + - &568 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -84097,7 +84278,7 @@ paths: - performed_via_github_app - assignee - assigner - - &567 + - &569 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -84143,7 +84324,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &568 + - &570 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -84189,7 +84370,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &569 + - &571 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -84238,7 +84419,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &570 + - &572 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -84267,7 +84448,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *222 + requested_team: *224 requested_reviewer: *4 required: - review_requester @@ -84280,7 +84461,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &571 + - &573 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -84309,7 +84490,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *222 + requested_team: *224 requested_reviewer: *4 required: - review_requester @@ -84322,7 +84503,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &572 + - &574 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -84378,7 +84559,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &573 + - &575 title: Locked Issue Event description: Locked Issue Event type: object @@ -84423,7 +84604,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &574 + - &576 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -84484,7 +84665,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &575 + - &577 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -84545,7 +84726,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &576 + - &578 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -84606,7 +84787,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &577 + - &579 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -84699,7 +84880,7 @@ paths: color: red headers: Link: *38 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84716,9 +84897,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - *17 - *19 responses: @@ -84728,7 +84909,7 @@ paths: application/json: schema: type: array - items: &562 + items: &564 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -84783,7 +84964,7 @@ paths: - color - default examples: - default: &563 + default: &565 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -84801,9 +84982,9 @@ paths: default: false headers: Link: *38 - '301': *380 + '301': *382 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84820,9 +85001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: false content: @@ -84881,12 +85062,12 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: *563 - '301': *380 + default: *565 + '301': *382 '404': *6 - '410': *377 + '410': *379 '422': *15 x-github: githubCloudOnly: false @@ -84903,9 +85084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: false content: @@ -84965,12 +85146,12 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: *563 - '301': *380 + default: *565 + '301': *382 '404': *6 - '410': *377 + '410': *379 '422': *15 x-github: githubCloudOnly: false @@ -84987,15 +85168,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 responses: '204': description: Response - '301': *380 + '301': *382 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85014,9 +85195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - name: name in: path required: true @@ -85029,7 +85210,7 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: default: value: @@ -85040,9 +85221,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *380 + '301': *382 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85062,9 +85243,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: false content: @@ -85093,7 +85274,7 @@ paths: '204': description: Response '403': *27 - '410': *377 + '410': *379 '404': *6 '422': *15 x-github: @@ -85111,9 +85292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 responses: '204': description: Response @@ -85135,9 +85316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - 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. @@ -85163,13 +85344,13 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85187,9 +85368,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: true content: @@ -85221,16 +85402,16 @@ paths: description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -85252,10 +85433,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *366 - - *367 - - *560 - - *358 + - *368 + - *369 + - *562 + - *360 responses: '204': description: Response @@ -85284,9 +85465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: true content: @@ -85308,9 +85489,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -85343,9 +85524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - *17 - *19 responses: @@ -85355,13 +85536,13 @@ paths: application/json: schema: type: array - items: *149 + items: *151 examples: - default: *564 + default: *566 headers: Link: *38 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85389,9 +85570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: true content: @@ -85418,16 +85599,16 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *377 + '410': *379 '422': *15 '404': *6 x-github: @@ -85447,9 +85628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 requestBody: required: true content: @@ -85480,9 +85661,9 @@ paths: description: Response content: application/json: - schema: *149 + schema: *151 examples: - default: *559 + default: *561 '403': *27 '404': *6 '422': *7 @@ -85504,9 +85685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *366 - - *367 - - *560 + - *368 + - *369 + - *562 - *17 - *19 responses: @@ -85521,8 +85702,6 @@ paths: description: Timeline Event type: object anyOf: - - *565 - - *566 - *567 - *568 - *569 @@ -85534,6 +85713,8 @@ paths: - *575 - *576 - *577 + - *578 + - *579 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -85581,12 +85762,12 @@ paths: issue_url: type: string format: uri - author_association: *136 + author_association: *138 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *137 + reactions: *139 required: - event - actor @@ -85617,7 +85798,7 @@ paths: properties: type: type: string - issue: *149 + issue: *151 required: - event - created_at @@ -85834,7 +86015,7 @@ paths: type: string body_text: type: string - author_association: *136 + author_association: *138 required: - event - id @@ -85857,7 +86038,7 @@ paths: type: string comments: type: array - items: &597 + items: &599 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -85962,7 +86143,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *136 + author_association: *138 _links: type: object properties: @@ -86057,7 +86238,7 @@ paths: enum: - line - file - reactions: *137 + reactions: *139 body_html: type: string examples: @@ -86095,7 +86276,7 @@ paths: type: string comments: type: array - items: *483 + items: *485 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -86370,7 +86551,7 @@ paths: headers: Link: *38 '404': *6 - '410': *377 + '410': *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86387,8 +86568,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -86398,7 +86579,7 @@ paths: application/json: schema: type: array - items: &578 + items: &580 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -86465,8 +86646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -86502,9 +86683,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: &579 + default: &581 value: id: 1 key: ssh-rsa AAA... @@ -86538,9 +86719,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *366 - - *367 - - &580 + - *368 + - *369 + - &582 name: key_id description: The unique identifier of the key. in: path @@ -86552,9 +86733,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 '404': *6 x-github: githubCloudOnly: false @@ -86572,9 +86753,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *366 - - *367 - - *580 + - *368 + - *369 + - *582 responses: '204': description: Response @@ -86594,8 +86775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -86605,9 +86786,9 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: *563 + default: *565 headers: Link: *38 '404': *6 @@ -86628,8 +86809,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -86665,9 +86846,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &581 + default: &583 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -86699,8 +86880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *366 - - *367 + - *368 + - *369 - name: name in: path required: true @@ -86711,9 +86892,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *581 + default: *583 '404': *6 x-github: githubCloudOnly: false @@ -86730,8 +86911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *366 - - *367 + - *368 + - *369 - name: name in: path required: true @@ -86770,7 +86951,7 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: default: value: @@ -86796,8 +86977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *366 - - *367 + - *368 + - *369 - name: name in: path required: true @@ -86823,8 +87004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -86860,8 +87041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '202': *37 '403': @@ -86889,8 +87070,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -86916,9 +87097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *366 - - *367 - - *461 + - *368 + - *369 + - *463 responses: '200': description: Response @@ -86984,7 +87165,7 @@ paths: license: anyOf: - type: 'null' - - *150 + - *152 required: - _links - git_url @@ -87065,8 +87246,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -87131,8 +87312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -87166,9 +87347,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *484 + schema: *486 examples: - default: *582 + default: *584 '204': description: Response when already merged '404': @@ -87193,8 +87374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *366 - - *367 + - *368 + - *369 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -87235,7 +87416,7 @@ paths: application/json: schema: type: array - items: *488 + items: *490 examples: default: value: @@ -87291,8 +87472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -87332,9 +87513,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: &583 + default: &585 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -87393,9 +87574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *366 - - *367 - - &584 + - *368 + - *369 + - &586 name: milestone_number description: The number that identifies the milestone. in: path @@ -87407,9 +87588,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *583 + default: *585 '404': *6 x-github: githubCloudOnly: false @@ -87426,9 +87607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *366 - - *367 - - *584 + - *368 + - *369 + - *586 requestBody: required: false content: @@ -87466,9 +87647,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87484,9 +87665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *366 - - *367 - - *584 + - *368 + - *369 + - *586 responses: '204': description: Response @@ -87507,9 +87688,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: - - *366 - - *367 - - *584 + - *368 + - *369 + - *586 - *17 - *19 responses: @@ -87519,9 +87700,9 @@ paths: application/json: schema: type: array - items: *562 + items: *564 examples: - default: *563 + default: *565 headers: Link: *38 x-github: @@ -87540,12 +87721,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: - - *366 - - *367 - - *585 - - *586 - - *139 + - *368 + - *369 - *587 + - *588 + - *141 + - *589 - *17 - *19 responses: @@ -87555,9 +87736,9 @@ paths: application/json: schema: type: array - items: *161 + items: *163 examples: - default: *588 + default: *590 headers: Link: *38 x-github: @@ -87581,8 +87762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -87640,14 +87821,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: &589 + schema: &591 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -87791,7 +87972,7 @@ paths: - custom_404 - public examples: - default: &590 + default: &592 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -87832,8 +88013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -87888,9 +88069,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *591 examples: - default: *590 + default: *592 '422': *15 '409': *94 x-github: @@ -87913,8 +88094,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -88022,8 +88203,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -88049,8 +88230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -88060,7 +88241,7 @@ paths: application/json: schema: type: array - items: &591 + items: &593 title: Page Build description: Page Build type: object @@ -88152,8 +88333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *366 - - *367 + - *368 + - *369 responses: '201': description: Response @@ -88200,16 +88381,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *591 + schema: *593 examples: - default: &592 + default: &594 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -88257,8 +88438,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *366 - - *367 + - *368 + - *369 - name: build_id in: path required: true @@ -88269,9 +88450,9 @@ paths: description: Response content: application/json: - schema: *591 + schema: *593 examples: - default: *592 + default: *594 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88291,8 +88472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -88400,9 +88581,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: - - *366 - - *367 - - &593 + - *368 + - *369 + - &595 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -88460,9 +88641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *366 - - *367 - - *593 + - *368 + - *369 + - *595 responses: '204': *116 '404': *6 @@ -88489,8 +88670,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -88758,7 +88939,7 @@ paths: description: Empty response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -88785,8 +88966,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Private vulnerability reporting status @@ -88823,8 +89004,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: - - *366 - - *367 + - *368 + - *369 responses: '204': *116 '422': *14 @@ -88845,8 +89026,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: - - *366 - - *367 + - *368 + - *369 responses: '204': *116 '422': *14 @@ -88869,8 +89050,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *366 - - *367 + - *368 + - *369 - name: state description: Indicates the state of the projects to return. in: query @@ -88891,7 +89072,7 @@ paths: application/json: schema: type: array - items: *313 + items: *315 examples: default: value: @@ -88931,7 +89112,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *377 + '410': *379 '422': *7 x-github: githubCloudOnly: false @@ -88954,8 +89135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -88981,13 +89162,13 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: - default: *376 + default: *378 '401': *23 '403': *27 '404': *6 - '410': *377 + '410': *379 '422': *7 x-github: githubCloudOnly: false @@ -89010,8 +89191,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -89019,7 +89200,7 @@ paths: application/json: schema: type: array - items: *315 + items: *317 examples: default: value: @@ -89050,8 +89231,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -89063,7 +89244,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *315 + items: *317 required: - properties examples: @@ -89113,8 +89294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *366 - - *367 + - *368 + - *369 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -89174,9 +89355,9 @@ paths: application/json: schema: type: array - items: *594 + items: *596 examples: - default: *595 + default: *597 headers: Link: *38 '304': *35 @@ -89208,8 +89389,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -89276,7 +89457,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &601 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -89405,7 +89586,7 @@ paths: milestone: anyOf: - type: 'null' - - *488 + - *490 active_lock_reason: type: - string @@ -89460,7 +89641,7 @@ paths: type: - array - 'null' - items: *295 + items: *297 head: type: object properties: @@ -89498,14 +89679,14 @@ paths: _links: type: object properties: - comments: *489 - commits: *489 - statuses: *489 - html: *489 - issue: *489 - review_comments: *489 - review_comment: *489 - self: *489 + comments: *491 + commits: *491 + statuses: *491 + html: *491 + issue: *491 + review_comments: *491 + review_comment: *491 + self: *491 required: - comments - commits @@ -89515,8 +89696,8 @@ paths: - review_comments - review_comment - self - author_association: *136 - auto_merge: *596 + author_association: *138 + auto_merge: *598 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -89618,7 +89799,7 @@ paths: - merged_by - review_comments examples: - default: &600 + default: &602 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -90145,8 +90326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *366 - - *367 + - *368 + - *369 - name: sort in: query required: false @@ -90165,7 +90346,7 @@ paths: enum: - asc - desc - - *139 + - *141 - *17 - *19 responses: @@ -90175,9 +90356,9 @@ paths: application/json: schema: type: array - items: *597 + items: *599 examples: - default: &602 + default: &604 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -90254,17 +90435,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: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '200': description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: &598 + default: &600 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -90339,9 +90520,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: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -90363,9 +90544,9 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: - default: *598 + default: *600 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90381,9 +90562,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: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 responses: '204': description: Response @@ -90404,9 +90585,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: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 - 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. @@ -90432,9 +90613,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 '404': *6 @@ -90455,9 +90636,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: - - *366 - - *367 - - *148 + - *368 + - *369 + - *150 requestBody: required: true content: @@ -90489,16 +90670,16 @@ paths: description: Reaction exists content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Reaction created content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -90520,10 +90701,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *366 - - *367 - - *148 - - *358 + - *368 + - *369 + - *150 + - *360 responses: '204': description: Response @@ -90566,9 +90747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *366 - - *367 - - &601 + - *368 + - *369 + - &603 name: pull_number description: The number that identifies the pull request. in: path @@ -90581,9 +90762,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *599 + schema: *601 examples: - default: *600 + default: *602 '304': *35 '404': *6 '406': @@ -90618,9 +90799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: false content: @@ -90662,9 +90843,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *601 examples: - default: *600 + default: *602 '422': *15 '403': *27 x-github: @@ -90686,9 +90867,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: true content: @@ -90749,17 +90930,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '401': *23 '403': *27 '404': *6 @@ -90789,10 +90970,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: - - *366 - - *367 - - *601 - - *158 + - *368 + - *369 + - *603 + - *160 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -90802,7 +90983,7 @@ paths: enum: - asc - desc - - *139 + - *141 - *17 - *19 responses: @@ -90812,9 +90993,9 @@ paths: application/json: schema: type: array - items: *597 + items: *599 examples: - default: *602 + default: *604 headers: Link: *38 x-github: @@ -90847,9 +91028,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: true content: @@ -90955,7 +91136,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: example-for-a-multi-line-comment: value: @@ -91043,10 +91224,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: - - *366 - - *367 - - *601 - - *148 + - *368 + - *369 + - *603 + - *150 requestBody: required: true content: @@ -91068,7 +91249,7 @@ paths: description: Response content: application/json: - schema: *597 + schema: *599 examples: default: value: @@ -91154,9 +91335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 - *17 - *19 responses: @@ -91166,9 +91347,9 @@ paths: application/json: schema: type: array - items: *484 + items: *486 examples: - default: *603 + default: *605 headers: Link: *38 x-github: @@ -91198,9 +91379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 - *17 - *19 responses: @@ -91210,7 +91391,7 @@ paths: application/json: schema: type: array - items: *496 + items: *498 examples: default: value: @@ -91248,9 +91429,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 responses: '204': description: Response if pull request has been merged @@ -91273,9 +91454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: false content: @@ -91387,9 +91568,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 responses: '200': description: Response @@ -91405,7 +91586,7 @@ paths: items: *4 teams: type: array - items: *222 + items: *224 required: - users - teams @@ -91464,9 +91645,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: false content: @@ -91503,7 +91684,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: default: value: @@ -92039,9 +92220,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: true content: @@ -92075,7 +92256,7 @@ paths: description: Response content: application/json: - schema: *594 + schema: *596 examples: default: value: @@ -92580,9 +92761,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 - *17 - *19 responses: @@ -92592,7 +92773,7 @@ paths: application/json: schema: type: array - items: &604 + items: &606 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -92666,7 +92847,7 @@ paths: type: string body_text: type: string - author_association: *136 + author_association: *138 required: - id - node_id @@ -92748,9 +92929,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: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: false content: @@ -92840,9 +93021,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: &606 + default: &608 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92905,10 +93086,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: - - *366 - - *367 - - *601 - - &605 + - *368 + - *369 + - *603 + - &607 name: review_id description: The unique identifier of the review. in: path @@ -92920,9 +93101,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: &607 + default: &609 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -92981,10 +93162,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: - - *366 - - *367 - - *601 - - *605 + - *368 + - *369 + - *603 + - *607 requestBody: required: true content: @@ -93007,7 +93188,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -93069,18 +93250,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: - - *366 - - *367 - - *601 - - *605 + - *368 + - *369 + - *603 + - *607 responses: '200': description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *606 + default: *608 '422': *7 '404': *6 x-github: @@ -93107,10 +93288,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: - - *366 - - *367 - - *601 - - *605 + - *368 + - *369 + - *603 + - *607 - *17 - *19 responses: @@ -93204,13 +93385,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *136 + author_association: *138 _links: type: object properties: - self: *489 - html: *489 - pull_request: *489 + self: *491 + html: *491 + pull_request: *491 required: - self - html @@ -93219,7 +93400,7 @@ paths: type: string body_html: type: string - reactions: *137 + reactions: *139 side: description: The side of the first line of the range for a multi-line comment. @@ -93368,10 +93549,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: - - *366 - - *367 - - *601 - - *605 + - *368 + - *369 + - *603 + - *607 requestBody: required: true content: @@ -93400,7 +93581,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: default: value: @@ -93463,10 +93644,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: - - *366 - - *367 - - *601 - - *605 + - *368 + - *369 + - *603 + - *607 requestBody: required: true content: @@ -93501,9 +93682,9 @@ paths: description: Response content: application/json: - schema: *604 + schema: *606 examples: - default: *607 + default: *609 '404': *6 '422': *7 '403': *27 @@ -93525,9 +93706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *366 - - *367 - - *601 + - *368 + - *369 + - *603 requestBody: required: false content: @@ -93591,8 +93772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *366 - - *367 + - *368 + - *369 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -93605,9 +93786,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: &609 + default: &611 value: type: file encoding: base64 @@ -93649,8 +93830,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: - - *366 - - *367 + - *368 + - *369 - name: dir description: The alternate path to look for a README file in: path @@ -93670,9 +93851,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: - default: *609 + default: *611 '404': *6 '422': *15 x-github: @@ -93694,8 +93875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -93705,7 +93886,7 @@ paths: application/json: schema: type: array - items: &610 + items: &612 title: Release description: A release. type: object @@ -93777,7 +93958,7 @@ paths: author: *4 assets: type: array - items: &611 + items: &613 title: Release Asset description: Data related to a release. type: object @@ -93852,7 +94033,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *137 + reactions: *139 required: - assets_url - upload_url @@ -93963,8 +94144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -94040,9 +94221,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: &614 + default: &616 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -94146,9 +94327,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *366 - - *367 - - &612 + - *368 + - *369 + - &614 name: asset_id description: The unique identifier of the asset. in: path @@ -94160,9 +94341,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *613 examples: - default: &613 + default: &615 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 @@ -94197,7 +94378,7 @@ paths: type: User site_admin: false '404': *6 - '302': *498 + '302': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94213,9 +94394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *366 - - *367 - - *612 + - *368 + - *369 + - *614 requestBody: required: false content: @@ -94244,9 +94425,9 @@ paths: description: Response content: application/json: - schema: *611 + schema: *613 examples: - default: *613 + default: *615 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94262,9 +94443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *366 - - *367 - - *612 + - *368 + - *369 + - *614 responses: '204': description: Response @@ -94288,8 +94469,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -94375,16 +94556,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94401,8 +94582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *366 - - *367 + - *368 + - *369 - name: tag description: tag parameter in: path @@ -94415,9 +94596,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 '404': *6 x-github: githubCloudOnly: false @@ -94439,9 +94620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *366 - - *367 - - &615 + - *368 + - *369 + - &617 name: release_id description: The unique identifier of the release. in: path @@ -94455,9 +94636,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: *610 + schema: *612 examples: - default: *614 + default: *616 '401': description: Unauthorized x-github: @@ -94475,9 +94656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 requestBody: required: false content: @@ -94541,9 +94722,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *612 examples: - default: *614 + default: *616 '404': description: Not Found if the discussion category name is invalid content: @@ -94564,9 +94745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 responses: '204': description: Response @@ -94586,9 +94767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 - *17 - *19 responses: @@ -94598,7 +94779,7 @@ paths: application/json: schema: type: array - items: *611 + items: *613 examples: default: value: @@ -94680,9 +94861,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: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 - name: name in: query required: true @@ -94708,7 +94889,7 @@ paths: description: Response for successful upload content: application/json: - schema: *611 + schema: *613 examples: response-for-successful-upload: value: @@ -94763,9 +94944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 - 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. @@ -94789,9 +94970,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 '404': *6 @@ -94812,9 +94993,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *366 - - *367 - - *615 + - *368 + - *369 + - *617 requestBody: required: true content: @@ -94844,16 +95025,16 @@ paths: description: Reaction exists content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '201': description: Reaction created content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 '422': *15 x-github: githubCloudOnly: false @@ -94875,10 +95056,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *366 - - *367 - - *615 - - *358 + - *368 + - *369 + - *617 + - *360 responses: '204': description: Response @@ -94902,9 +95083,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *366 - - *367 - - *425 + - *368 + - *369 + - *427 - *17 - *19 responses: @@ -94920,8 +95101,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *616 - - &618 + - *618 + - &620 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -94940,66 +95121,66 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *617 - - *618 - allOf: - *619 - - *618 - - allOf: - *620 - - *618 - allOf: - *621 - - *618 + - *620 - allOf: - *622 - - *618 + - *620 - allOf: - *623 - - *618 + - *620 - allOf: - *624 - - *618 + - *620 - allOf: - *625 - - *618 + - *620 - allOf: - *626 - - *618 + - *620 - allOf: - *627 - - *618 + - *620 - allOf: - *628 - - *618 + - *620 - allOf: - *629 - - *618 + - *620 - allOf: - *630 - - *618 + - *620 - allOf: - *631 - - *618 + - *620 - allOf: - *632 - - *618 + - *620 - allOf: - *633 - - *618 + - *620 - allOf: - *634 - - *618 + - *620 - allOf: - *635 - - *618 + - *620 - allOf: - *636 - - *618 + - *620 - allOf: - *637 - - *618 + - *620 + - allOf: + - *638 + - *620 + - allOf: + - *639 + - *620 examples: default: value: @@ -95038,8 +95219,8 @@ paths: category: repos subcategory: rules parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 - name: includes_parents @@ -95050,7 +95231,7 @@ paths: schema: type: boolean default: true - - *638 + - *640 responses: '200': description: Response @@ -95105,8 +95286,8 @@ paths: category: repos subcategory: rules parameters: - - *366 - - *367 + - *368 + - *369 requestBody: description: Request body required: true @@ -95168,7 +95349,7 @@ paths: application/json: schema: *126 examples: - default: &647 + default: &649 value: id: 42 name: super cool ruleset @@ -95215,12 +95396,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *366 - - *367 - - *639 - - *216 - - *640 + - *368 + - *369 - *641 + - *218 + - *642 + - *643 - *17 - *19 responses: @@ -95228,9 +95409,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *644 examples: - default: *643 + default: *645 '404': *6 '500': *83 x-github: @@ -95251,17 +95432,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *366 - - *367 - - *644 + - *368 + - *369 + - *646 responses: '200': description: Response content: application/json: - schema: *645 + schema: *647 examples: - default: *646 + default: *648 '404': *6 '500': *83 x-github: @@ -95289,8 +95470,8 @@ paths: category: repos subcategory: rules parameters: - - *366 - - *367 + - *368 + - *369 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95312,7 +95493,7 @@ paths: application/json: schema: *126 examples: - default: *647 + default: *649 '404': *6 '500': *83 put: @@ -95330,8 +95511,8 @@ paths: category: repos subcategory: rules parameters: - - *366 - - *367 + - *368 + - *369 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95395,7 +95576,7 @@ paths: application/json: schema: *126 examples: - default: *647 + default: *649 '404': *6 '500': *83 delete: @@ -95413,8 +95594,8 @@ paths: category: repos subcategory: rules parameters: - - *366 - - *367 + - *368 + - *369 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95437,8 +95618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 - name: ruleset_id @@ -95456,7 +95637,7 @@ paths: type: array items: *129 examples: - default: *321 + default: *323 '404': *6 '500': *83 x-github: @@ -95475,8 +95656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *366 - - *367 + - *368 + - *369 - name: ruleset_id description: The ID of the ruleset. in: path @@ -95494,7 +95675,7 @@ paths: description: Response content: application/json: - schema: *322 + schema: *324 examples: default: value: @@ -95549,21 +95730,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: - - *366 - - *367 - - *323 - - *324 + - *368 + - *369 - *325 - *326 + - *327 + - *328 - *86 - *19 - *17 - - *648 - - *649 - - *327 - - *328 + - *650 + - *651 - *329 - *330 + - *331 + - *332 responses: '200': description: Response @@ -95571,7 +95752,7 @@ paths: application/json: schema: type: array - items: &653 + items: &655 type: object properties: number: *96 @@ -95587,8 +95768,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *650 - resolution: *651 + state: *652 + resolution: *653 resolved_at: type: - string @@ -95682,7 +95863,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *652 + - *654 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -95831,16 +96012,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: - - *366 - - *367 - - *455 - - *330 + - *368 + - *369 + - *457 + - *332 responses: '200': description: Response content: application/json: - schema: *653 + schema: *655 examples: default: value: @@ -95892,9 +96073,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 requestBody: required: true content: @@ -95902,8 +96083,8 @@ paths: schema: type: object properties: - state: *650 - resolution: *651 + state: *652 + resolution: *653 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -95922,7 +96103,7 @@ paths: description: Response content: application/json: - schema: *653 + schema: *655 examples: default: value: @@ -95997,9 +96178,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: - - *366 - - *367 - - *455 + - *368 + - *369 + - *457 - *19 - *17 responses: @@ -96010,7 +96191,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &825 + items: &827 type: object properties: type: @@ -96037,8 +96218,6 @@ paths: - commit details: oneOf: - - *654 - - *655 - *656 - *657 - *658 @@ -96050,6 +96229,8 @@ paths: - *664 - *665 - *666 + - *667 + - *668 examples: default: value: @@ -96135,8 +96316,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -96144,14 +96325,14 @@ paths: schema: type: object properties: - reason: &668 + reason: &670 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *667 + placeholder_id: *669 required: - reason - placeholder_id @@ -96168,7 +96349,7 @@ paths: schema: type: object properties: - reason: *668 + reason: *670 expire_at: type: - string @@ -96212,8 +96393,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: - - *366 - - *367 + - *368 + - *369 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -96228,7 +96409,7 @@ paths: properties: incremental_scans: type: array - items: &669 + items: &671 description: Information on a single scan performed by secret scanning on the repository type: object @@ -96256,15 +96437,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *669 + items: *671 backfill_scans: type: array - items: *669 + items: *671 custom_pattern_backfill_scans: type: array items: allOf: - - *669 + - *671 - type: object properties: pattern_name: @@ -96334,8 +96515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *366 - - *367 + - *368 + - *369 - *86 - name: sort description: The property to sort the results by. @@ -96379,9 +96560,9 @@ paths: application/json: schema: type: array - items: *670 + items: *672 examples: - default: *671 + default: *673 '400': *14 '404': *6 x-github: @@ -96404,8 +96585,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -96485,7 +96666,7 @@ paths: login: type: string description: The username of the user credited. - type: *333 + type: *335 required: - login - type @@ -96575,9 +96756,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *672 examples: - default: &673 + default: &675 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -96810,8 +96991,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -96924,7 +97105,7 @@ paths: description: Response content: application/json: - schema: *670 + schema: *672 examples: default: value: @@ -97071,17 +97252,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: - - *366 - - *367 - - *672 + - *368 + - *369 + - *674 responses: '200': description: Response content: application/json: - schema: *670 + schema: *672 examples: - default: *673 + default: *675 '403': *27 '404': *6 x-github: @@ -97105,9 +97286,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: - - *366 - - *367 - - *672 + - *368 + - *369 + - *674 requestBody: required: true content: @@ -97187,7 +97368,7 @@ paths: login: type: string description: The username of the user credited. - type: *333 + type: *335 required: - login - type @@ -97278,17 +97459,17 @@ paths: description: Response content: application/json: - schema: *670 + schema: *672 examples: - default: *673 - add_credit: *673 + default: *675 + add_credit: *675 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *174 + schema: *176 examples: invalid_state_transition: value: @@ -97319,9 +97500,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: - - *366 - - *367 - - *672 + - *368 + - *369 + - *674 responses: '202': *37 '400': *14 @@ -97348,17 +97529,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: - - *366 - - *367 - - *672 + - *368 + - *369 + - *674 responses: '202': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *381 + default: *383 '400': *14 '422': *15 '403': *27 @@ -97384,8 +97565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -97481,8 +97662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -97491,7 +97672,7 @@ paths: application/json: schema: type: array - items: &674 + items: &676 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -97524,8 +97705,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -97603,8 +97784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -97698,8 +97879,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -97853,8 +98034,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -97864,7 +98045,7 @@ paths: application/json: schema: type: array - items: *674 + items: *676 examples: default: value: @@ -97897,8 +98078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *366 - - *367 + - *368 + - *369 - name: sha in: path required: true @@ -97954,7 +98135,7 @@ paths: description: Response content: application/json: - schema: *675 + schema: *677 examples: default: value: @@ -98008,8 +98189,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -98021,7 +98202,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -98041,14 +98222,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &676 + schema: &678 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -98121,8 +98302,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: false content: @@ -98148,7 +98329,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *678 examples: default: value: @@ -98175,8 +98356,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -98196,8 +98377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -98279,8 +98460,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: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -98288,7 +98469,7 @@ paths: application/json: schema: type: array - items: &677 + items: &679 title: Tag protection description: Tag protection type: object @@ -98345,8 +98526,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: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -98369,7 +98550,7 @@ paths: description: Response content: application/json: - schema: *677 + schema: *679 examples: default: value: @@ -98400,8 +98581,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: - - *366 - - *367 + - *368 + - *369 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -98438,8 +98619,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *366 - - *367 + - *368 + - *369 - name: ref in: path required: true @@ -98475,8 +98656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *366 - - *367 + - *368 + - *369 - *17 - *19 responses: @@ -98486,9 +98667,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - default: *296 + default: *298 headers: Link: *38 '404': *6 @@ -98508,8 +98689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *366 - - *367 + - *368 + - *369 - *19 - *17 responses: @@ -98517,7 +98698,7 @@ paths: description: Response content: application/json: - schema: &678 + schema: &680 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -98529,7 +98710,7 @@ paths: required: - names examples: - default: &679 + default: &681 value: names: - octocat @@ -98552,8 +98733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -98584,9 +98765,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: *679 + default: *681 '404': *6 '422': *7 x-github: @@ -98607,9 +98788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *366 - - *367 - - &680 + - *368 + - *369 + - &682 name: per description: The time frame to display results for. in: query @@ -98640,7 +98821,7 @@ paths: - 128 clones: type: array - items: &681 + items: &683 title: Traffic type: object properties: @@ -98727,8 +98908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -98822,8 +99003,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *366 - - *367 + - *368 + - *369 responses: '200': description: Response @@ -98886,9 +99067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *366 - - *367 - - *680 + - *368 + - *369 + - *682 responses: '200': description: Response @@ -98909,7 +99090,7 @@ paths: - 3782 views: type: array - items: *681 + items: *683 required: - uniques - count @@ -98986,8 +99167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *366 - - *367 + - *368 + - *369 requestBody: required: true content: @@ -99023,7 +99204,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *193 examples: default: value: @@ -99261,8 +99442,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -99285,8 +99466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -99308,8 +99489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -99335,8 +99516,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *366 - - *367 + - *368 + - *369 - name: ref in: path required: true @@ -99428,9 +99609,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *381 + default: *383 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -99471,7 +99652,7 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: default: value: @@ -99581,7 +99762,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &689 + - &691 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -99591,7 +99772,7 @@ paths: type: string examples: - members - - &694 + - &696 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -99603,7 +99784,7 @@ paths: format: int32 examples: - 1 - - &695 + - &697 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -99647,7 +99828,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &683 + items: &685 allOf: - type: object required: @@ -99729,7 +99910,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: &696 + meta: &698 type: object description: The metadata associated with the creation/updates to the user. @@ -99794,31 +99975,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &684 + '400': &686 description: Bad request content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 - '401': &685 + schema: *684 + '401': &687 description: Authorization failure - '403': &686 + '403': &688 description: Permission denied - '429': &687 + '429': &689 description: Too many requests content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 - '500': &688 + schema: *684 + '500': &690 description: Internal server error content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 + schema: *684 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99842,7 +100023,7 @@ paths: required: true content: application/json: - schema: &692 + schema: &694 type: object required: - schemas @@ -99902,9 +100083,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *683 + schema: *685 examples: - group: &690 + group: &692 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -99923,13 +100104,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': *684 - '401': *685 - '403': *686 - '409': &693 + '400': *686 + '401': *687 + '403': *688 + '409': &695 description: Duplicate record detected - '429': *687 - '500': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99946,7 +100127,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: - - &691 + - &693 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -99955,22 +100136,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *689 + - *691 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *683 + schema: *685 examples: - default: *690 - '400': *684 - '401': *685 - '403': *686 + default: *692 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '429': *687 - '500': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -99989,13 +100170,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: - - *691 + - *693 - *39 requestBody: required: true content: application/json: - schema: *692 + schema: *694 examples: group: summary: Group @@ -100021,17 +100202,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *683 + schema: *685 examples: - group: *690 - groupWithMembers: *690 - '400': *684 - '401': *685 - '403': *686 + group: *692 + groupWithMembers: *692 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '409': *693 - '429': *687 - '500': *688 + '409': *695 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100055,13 +100236,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: - - *691 + - *693 - *39 requestBody: required: true content: application/json: - schema: &703 + schema: &705 type: object required: - Operations @@ -100121,17 +100302,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *683 + schema: *685 examples: - updateGroup: *690 - addMembers: *690 - '400': *684 - '401': *685 - '403': *686 + updateGroup: *692 + addMembers: *692 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '409': *693 - '429': *687 - '500': *688 + '409': *695 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100147,17 +100328,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: - - *691 + - *693 - *39 responses: '204': description: Group was deleted, no content - '400': *684 - '401': *685 - '403': *686 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '429': *687 - '500': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100191,8 +100372,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *694 - - *695 + - *696 + - *697 - *39 responses: '200': @@ -100226,7 +100407,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &698 + items: &700 allOf: - type: object required: @@ -100318,7 +100499,7 @@ paths: address. examples: - true - roles: &697 + roles: &699 type: array description: The roles assigned to the user. items: @@ -100377,7 +100558,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *696 + meta: *698 startIndex: type: integer description: A starting index for the returned page @@ -100416,11 +100597,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *684 - '401': *685 - '403': *686 - '429': *687 - '500': *688 + '400': *686 + '401': *687 + '403': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100444,7 +100625,7 @@ paths: required: true content: application/json: - schema: &701 + schema: &703 type: object required: - schemas @@ -100537,9 +100718,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *697 + roles: *699 examples: - user: &702 + user: &704 summary: User value: schemas: @@ -100586,9 +100767,9 @@ paths: description: User has been created content: application/scim+json: - schema: *698 + schema: *700 examples: - user: &699 + user: &701 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -100614,13 +100795,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: *699 - '400': *684 - '401': *685 - '403': *686 - '409': *693 - '429': *687 - '500': *688 + enterpriseOwner: *701 + '400': *686 + '401': *687 + '403': *688 + '409': *695 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100637,7 +100818,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: - - &700 + - &702 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -100650,15 +100831,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *698 + schema: *700 examples: - default: *699 - '400': *684 - '401': *685 - '403': *686 + default: *701 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '429': *687 - '500': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100680,30 +100861,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: - - *700 + - *702 - *39 requestBody: required: true content: application/json: - schema: *701 + schema: *703 examples: - user: *702 + user: *704 responses: '200': description: User was updated content: application/scim+json: - schema: *698 + schema: *700 examples: - user: *699 - '400': *684 - '401': *685 - '403': *686 + user: *701 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '409': *693 - '429': *687 - '500': *688 + '409': *695 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100738,13 +100919,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: - - *700 + - *702 - *39 requestBody: required: true content: application/json: - schema: *703 + schema: *705 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -100784,18 +100965,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *698 + schema: *700 examples: - userMultiValuedProperties: *699 - userSingleValuedProperties: *699 - disableUser: *699 - '400': *684 - '401': *685 - '403': *686 + userMultiValuedProperties: *701 + userSingleValuedProperties: *701 + disableUser: *701 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '409': *693 - '429': *687 - '500': *688 + '409': *695 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100815,17 +100996,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: - - *700 + - *702 - *39 responses: '204': description: User was deleted, no content - '400': *684 - '401': *685 - '403': *686 + '400': *686 + '401': *687 + '403': *688 '404': *6 - '429': *687 - '500': *688 + '429': *689 + '500': *690 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -100858,7 +101039,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *165 + - *167 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -100916,7 +101097,7 @@ paths: - 1 Resources: type: array - items: &704 + items: &706 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -101163,22 +101344,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': *35 - '404': &705 + '404': &707 description: Resource not found content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 - '403': &706 + schema: *684 + '403': &708 description: Forbidden content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 - '400': *684 - '429': *687 + schema: *684 + '400': *686 + '429': *689 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -101198,15 +101379,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *165 + - *167 responses: '201': description: Response content: application/scim+json: - schema: *704 + schema: *706 examples: - default: &707 + default: &709 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -101229,17 +101410,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': *35 - '404': *705 - '403': *706 - '500': *688 + '404': *707 + '403': *708 + '500': *690 '409': description: Conflict content: application/json: - schema: *682 + schema: *684 application/scim+json: - schema: *682 - '400': *684 + schema: *684 + '400': *686 requestBody: required: true content: @@ -101338,18 +101519,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: - - *165 - - *700 + - *167 + - *702 responses: '200': description: Response content: application/scim+json: - schema: *704 + schema: *706 examples: - default: *707 - '404': *705 - '403': *706 + default: *709 + '404': *707 + '403': *708 '304': *35 x-github: githubCloudOnly: true @@ -101372,19 +101553,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *165 - - *700 + - *167 + - *702 responses: '200': description: Response content: application/scim+json: - schema: *704 + schema: *706 examples: - default: *707 + default: *709 '304': *35 - '404': *705 - '403': *706 + '404': *707 + '403': *708 requestBody: required: true content: @@ -101498,20 +101679,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: - - *165 - - *700 + - *167 + - *702 responses: '200': description: Response content: application/scim+json: - schema: *704 + schema: *706 examples: - default: *707 + default: *709 '304': *35 - '404': *705 - '403': *706 - '400': *684 + '404': *707 + '403': *708 + '400': *686 '429': description: Response content: @@ -101606,13 +101787,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: - - *165 - - *700 + - *167 + - *702 responses: '204': description: Response - '404': *705 - '403': *706 + '404': *707 + '403': *708 '304': *35 x-github: githubCloudOnly: true @@ -101727,7 +101908,7 @@ paths: html_url: type: string format: uri - repository: *191 + repository: *193 score: type: number file_size: @@ -101746,7 +101927,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &708 + text_matches: &710 title: Search Result Text Matches type: array items: @@ -101910,7 +102091,7 @@ paths: enum: - author-date - committer-date - - &709 + - &711 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 @@ -101979,7 +102160,7 @@ paths: committer: anyOf: - type: 'null' - - *423 + - *425 comment_count: type: integer message: @@ -101998,7 +102179,7 @@ paths: url: type: string format: uri - verification: *542 + verification: *544 required: - author - committer @@ -102013,7 +102194,7 @@ paths: committer: anyOf: - type: 'null' - - *423 + - *425 parents: type: array items: @@ -102025,12 +102206,12 @@ paths: type: string sha: type: string - repository: *191 + repository: *193 score: type: number node_id: type: string - text_matches: *708 + text_matches: *710 required: - sha - node_id @@ -102213,7 +102394,7 @@ paths: - interactions - created - updated - - *709 + - *711 - *17 - *19 - name: advanced_search @@ -102337,7 +102518,7 @@ paths: milestone: anyOf: - type: 'null' - - *488 + - *490 comments: type: integer created_at: @@ -102351,7 +102532,7 @@ paths: - string - 'null' format: date-time - text_matches: *708 + text_matches: *710 pull_request: type: object properties: @@ -102389,7 +102570,7 @@ paths: type: string score: type: number - author_association: *136 + author_association: *138 draft: type: boolean repository: *62 @@ -102400,12 +102581,12 @@ paths: timeline_url: type: string format: uri - type: *280 + type: *282 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *137 + reactions: *139 required: - assignee - closed_at @@ -102577,7 +102758,7 @@ paths: enum: - created - updated - - *709 + - *711 - *17 - *19 responses: @@ -102622,7 +102803,7 @@ paths: - 'null' score: type: number - text_matches: *708 + text_matches: *710 required: - id - node_id @@ -102708,7 +102889,7 @@ paths: - forks - help-wanted-issues - updated - - *709 + - *711 - *17 - *19 responses: @@ -102927,7 +103108,7 @@ paths: license: anyOf: - type: 'null' - - *150 + - *152 permissions: type: object properties: @@ -102945,7 +103126,7 @@ paths: - admin - pull - push - text_matches: *708 + text_matches: *710 temp_clone_token: type: string allow_merge_commit: @@ -103254,7 +103435,7 @@ paths: - string - 'null' format: uri - text_matches: *708 + text_matches: *710 related: type: - array @@ -103449,7 +103630,7 @@ paths: - followers - repositories - joined - - *709 + - *711 - *17 - *19 responses: @@ -103559,7 +103740,7 @@ paths: type: - boolean - 'null' - text_matches: *708 + text_matches: *710 blog: type: - string @@ -103641,7 +103822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &710 + - &712 name: team_id description: The unique identifier of the team. in: path @@ -103653,9 +103834,9 @@ paths: description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '404': *6 x-github: githubCloudOnly: false @@ -103682,7 +103863,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *710 + - *712 requestBody: required: true content: @@ -103746,16 +103927,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '201': description: Response content: application/json: - schema: *347 + schema: *349 examples: - default: *348 + default: *350 '404': *6 '422': *15 '403': *27 @@ -103783,7 +103964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *710 + - *712 responses: '204': description: Response @@ -103814,7 +103995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *710 + - *712 - *86 - *17 - *19 @@ -103825,9 +104006,9 @@ paths: application/json: schema: type: array - items: *349 + items: *351 examples: - default: *711 + default: *713 headers: Link: *38 x-github: @@ -103856,7 +104037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *710 + - *712 requestBody: required: true content: @@ -103890,9 +104071,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 x-github: triggersNotification: true githubCloudOnly: false @@ -103919,16 +104100,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *710 - - *351 + - *712 + - *353 responses: '200': description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -103953,8 +104134,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *710 - - *351 + - *712 + - *353 requestBody: required: false content: @@ -103977,9 +104158,9 @@ paths: description: Response content: application/json: - schema: *349 + schema: *351 examples: - default: *712 + default: *714 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104004,8 +104185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *710 - - *351 + - *712 + - *353 responses: '204': description: Response @@ -104034,8 +104215,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *710 - - *351 + - *712 + - *353 - *86 - *17 - *19 @@ -104046,9 +104227,9 @@ paths: application/json: schema: type: array - items: *352 + items: *354 examples: - default: *713 + default: *715 headers: Link: *38 x-github: @@ -104077,8 +104258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *710 - - *351 + - *712 + - *353 requestBody: required: true content: @@ -104100,9 +104281,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: triggersNotification: true githubCloudOnly: false @@ -104129,17 +104310,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *710 - - *351 - - *354 + - *712 + - *353 + - *356 responses: '200': description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *353 + default: *355 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104164,9 +104345,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *710 - - *351 - - *354 + - *712 + - *353 + - *356 requestBody: required: true content: @@ -104188,9 +104369,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *354 examples: - default: *714 + default: *716 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104215,9 +104396,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *710 - - *351 - - *354 + - *712 + - *353 + - *356 responses: '204': description: Response @@ -104246,9 +104427,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: - - *710 - - *351 - - *354 + - *712 + - *353 + - *356 - 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. @@ -104274,9 +104455,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 x-github: @@ -104305,9 +104486,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: - - *710 - - *351 - - *354 + - *712 + - *353 + - *356 requestBody: required: true content: @@ -104339,9 +104520,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104367,8 +104548,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: - - *710 - - *351 + - *712 + - *353 - 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. @@ -104394,9 +104575,9 @@ paths: application/json: schema: type: array - items: *355 + items: *357 examples: - default: *357 + default: *359 headers: Link: *38 x-github: @@ -104425,8 +104606,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: - - *710 - - *351 + - *712 + - *353 requestBody: required: true content: @@ -104458,9 +104639,9 @@ paths: description: Response content: application/json: - schema: *355 + schema: *357 examples: - default: *356 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104484,7 +104665,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *710 + - *712 - *17 - *19 responses: @@ -104494,9 +104675,9 @@ paths: application/json: schema: type: array - items: *277 + items: *279 examples: - default: *278 + default: *280 headers: Link: *38 x-github: @@ -104522,7 +104703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *710 + - *712 - name: role description: Filters members returned by their role in the team. in: query @@ -104545,7 +104726,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '404': *6 @@ -104573,8 +104754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *710 - - *213 + - *712 + - *215 responses: '204': description: if user is a member @@ -104610,8 +104791,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *710 - - *213 + - *712 + - *215 responses: '204': description: Response @@ -104650,8 +104831,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *710 - - *213 + - *712 + - *215 responses: '204': description: Response @@ -104687,16 +104868,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: - - *710 - - *213 + - *712 + - *215 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - response-if-user-is-a-team-maintainer: *715 + response-if-user-is-a-team-maintainer: *717 '404': *6 x-github: githubCloudOnly: false @@ -104729,8 +104910,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: - - *710 - - *213 + - *712 + - *215 requestBody: required: false content: @@ -104755,9 +104936,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *365 examples: - response-if-users-membership-with-team-is-now-pending: *716 + response-if-users-membership-with-team-is-now-pending: *718 '403': description: Forbidden if team synchronization is set up '422': @@ -104791,8 +104972,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: - - *710 - - *213 + - *712 + - *215 responses: '204': description: Response @@ -104820,7 +105001,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *710 + - *712 - *17 - *19 responses: @@ -104830,9 +105011,9 @@ paths: application/json: schema: type: array - items: *364 + items: *366 examples: - default: *717 + default: *719 headers: Link: *38 '404': *6 @@ -104858,16 +105039,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: - - *710 - - *365 + - *712 + - *367 responses: '200': description: Response content: application/json: - schema: *364 + schema: *366 examples: - default: *718 + default: *720 '404': description: Not Found if project is not managed by this team x-github: @@ -104891,8 +105072,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: - - *710 - - *365 + - *712 + - *367 requestBody: required: false content: @@ -104959,8 +105140,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: - - *710 - - *365 + - *712 + - *367 responses: '204': description: Response @@ -104987,7 +105168,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *710 + - *712 - *17 - *19 responses: @@ -104997,9 +105178,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 '404': *6 @@ -105029,15 +105210,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: - - *710 - - *366 - - *367 + - *712 + - *368 + - *369 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *719 + schema: *721 examples: alternative-response-with-extra-repository-information: value: @@ -105188,9 +105369,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: - - *710 - - *366 - - *367 + - *712 + - *368 + - *369 requestBody: required: false content: @@ -105240,9 +105421,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: - - *710 - - *366 - - *367 + - *712 + - *368 + - *369 responses: '204': description: Response @@ -105271,15 +105452,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: - - *710 + - *712 responses: '200': description: Response content: application/json: - schema: *368 + schema: *370 examples: - default: *369 + default: *371 '403': *27 '404': *6 x-github: @@ -105306,7 +105487,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: - - *710 + - *712 requestBody: required: true content: @@ -105367,7 +105548,7 @@ paths: description: Response content: application/json: - schema: *368 + schema: *370 examples: default: value: @@ -105398,7 +105579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *710 + - *712 - *17 - *19 responses: @@ -105408,9 +105589,9 @@ paths: application/json: schema: type: array - items: *222 + items: *224 examples: - response-if-child-teams-exist: *720 + response-if-child-teams-exist: *722 headers: Link: *38 '404': *6 @@ -105443,7 +105624,7 @@ paths: application/json: schema: oneOf: - - &722 + - &724 title: Private User description: Private User type: object @@ -105693,7 +105874,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *721 + - *723 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -105853,7 +106034,7 @@ paths: description: Response content: application/json: - schema: *722 + schema: *724 examples: default: value: @@ -105932,7 +106113,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 '304': *35 '404': *6 '403': *27 @@ -105955,7 +106136,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: - - *213 + - *215 responses: '204': description: If the user is blocked @@ -105983,7 +106164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *213 + - *215 responses: '204': description: Response @@ -106007,7 +106188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *213 + - *215 responses: '204': description: Response @@ -106056,9 +106237,9 @@ paths: type: integer codespaces: type: array - items: *286 + items: *288 examples: - default: *287 + default: *289 '304': *35 '500': *83 '401': *23 @@ -106197,17 +106378,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '401': *23 '403': *27 '404': *6 @@ -106251,7 +106432,7 @@ paths: type: integer secrets: type: array - items: &723 + items: &725 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -106293,7 +106474,7 @@ paths: - visibility - selected_repositories_url examples: - default: *477 + default: *479 headers: Link: *38 x-github: @@ -106365,13 +106546,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: - - *201 + - *203 responses: '200': description: Response content: application/json: - schema: *723 + schema: *725 examples: default: value: @@ -106401,7 +106582,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: - - *201 + - *203 requestBody: required: true content: @@ -106446,7 +106627,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -106474,7 +106655,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: - - *201 + - *203 responses: '204': description: Response @@ -106499,7 +106680,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: - - *201 + - *203 responses: '200': description: Response @@ -106515,9 +106696,9 @@ paths: type: integer repositories: type: array - items: *191 + items: *193 examples: - default: *724 + default: *726 '401': *23 '403': *27 '404': *6 @@ -106542,7 +106723,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: - - *201 + - *203 requestBody: required: true content: @@ -106596,7 +106777,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: - - *201 + - *203 - name: repository_id in: path required: true @@ -106629,7 +106810,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: - - *201 + - *203 - name: repository_id in: path required: true @@ -106661,15 +106842,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: - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '304': *35 '500': *83 '401': *23 @@ -106695,7 +106876,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: - - *288 + - *290 requestBody: required: false content: @@ -106725,9 +106906,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '401': *23 '403': *27 '404': *6 @@ -106749,7 +106930,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: - - *288 + - *290 responses: '202': *37 '304': *35 @@ -106778,13 +106959,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: - - *288 + - *290 responses: '202': description: Response content: application/json: - schema: &725 + schema: &727 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -106837,7 +107018,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &726 + default: &728 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -106869,7 +107050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *288 + - *290 - name: export_id in: path required: true @@ -106882,9 +107063,9 @@ paths: description: Response content: application/json: - schema: *725 + schema: *727 examples: - default: *726 + default: *728 '404': *6 x-github: githubCloudOnly: false @@ -106905,7 +107086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *288 + - *290 responses: '200': description: Response @@ -106921,9 +107102,9 @@ paths: type: integer machines: type: array - items: *476 + items: *478 examples: - default: *727 + default: *729 '304': *35 '500': *83 '401': *23 @@ -106952,7 +107133,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: - - *288 + - *290 requestBody: required: true content: @@ -107008,11 +107189,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *379 + repository: *381 machine: anyOf: - type: 'null' - - *476 + - *478 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -107809,15 +107990,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: - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '304': *35 '500': *83 '400': *14 @@ -107849,15 +108030,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: - - *288 + - *290 responses: '200': description: Response content: application/json: - schema: *286 + schema: *288 examples: - default: *475 + default: *477 '500': *83 '401': *23 '403': *27 @@ -107887,9 +108068,9 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: &740 + default: &742 value: - id: 197 name: hello_docker @@ -107990,7 +108171,7 @@ paths: application/json: schema: type: array - items: &728 + items: &730 title: Email description: Email type: object @@ -108060,9 +108241,9 @@ paths: application/json: schema: type: array - items: *728 + items: *730 examples: - default: &742 + default: &744 value: - email: octocat@github.com verified: true @@ -108139,7 +108320,7 @@ paths: application/json: schema: type: array - items: *728 + items: *730 examples: default: value: @@ -108251,7 +108432,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '304': *35 @@ -108284,7 +108465,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 '304': *35 @@ -108306,7 +108487,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: - - *213 + - *215 responses: '204': description: if the person is followed by the authenticated user @@ -108336,7 +108517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *213 + - *215 responses: '204': description: Response @@ -108361,7 +108542,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *213 + - *215 responses: '204': description: Response @@ -108397,7 +108578,7 @@ paths: application/json: schema: type: array - items: &729 + items: &731 title: GPG Key description: A unique encryption key type: object @@ -108542,7 +108723,7 @@ paths: - subkeys - revoked examples: - default: &756 + default: &758 value: - id: 3 name: Octocat's GPG Key @@ -108627,9 +108808,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *731 examples: - default: &730 + default: &732 value: id: 3 name: Octocat's GPG Key @@ -108686,7 +108867,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: - - &731 + - &733 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -108698,9 +108879,9 @@ paths: description: Response content: application/json: - schema: *729 + schema: *731 examples: - default: *730 + default: *732 '404': *6 '304': *35 '403': *27 @@ -108723,7 +108904,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: - - *731 + - *733 responses: '204': description: Response @@ -108914,7 +109095,7 @@ paths: type: array items: *62 examples: - default: *732 + default: *734 headers: Link: *38 '404': *6 @@ -108939,7 +109120,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *186 + - *188 responses: '204': description: Response @@ -108965,7 +109146,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *186 + - *188 responses: '204': description: Response @@ -108999,12 +109180,12 @@ paths: application/json: schema: anyOf: - - *275 + - *277 - type: object properties: {} additionalProperties: false examples: - default: *276 + default: *278 '204': description: Response when there are no restrictions x-github: @@ -109028,7 +109209,7 @@ paths: required: true content: application/json: - schema: *553 + schema: *555 examples: default: value: @@ -109039,7 +109220,7 @@ paths: description: Response content: application/json: - schema: *275 + schema: *277 examples: default: value: @@ -109120,7 +109301,7 @@ paths: - closed - all default: open - - *283 + - *285 - name: sort description: What to sort results by. in: query @@ -109133,7 +109314,7 @@ paths: - comments default: created - *86 - - *139 + - *141 - *17 - *19 responses: @@ -109143,9 +109324,9 @@ paths: application/json: schema: type: array - items: *149 + items: *151 examples: - default: *284 + default: *286 headers: Link: *38 '404': *6 @@ -109178,7 +109359,7 @@ paths: application/json: schema: type: array - items: &733 + items: &735 title: Key description: Key type: object @@ -109276,9 +109457,9 @@ paths: description: Response content: application/json: - schema: *733 + schema: *735 examples: - default: &734 + default: &736 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -109311,15 +109492,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: - - *580 + - *582 responses: '200': description: Response content: application/json: - schema: *733 + schema: *735 examples: - default: *734 + default: *736 '404': *6 '304': *35 '403': *27 @@ -109342,7 +109523,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: - - *580 + - *582 responses: '204': description: Response @@ -109375,7 +109556,7 @@ paths: application/json: schema: type: array - items: &735 + items: &737 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -109443,7 +109624,7 @@ paths: - id - type - login - plan: *152 + plan: *154 required: - billing_cycle - next_billing_date @@ -109454,7 +109635,7 @@ paths: - account - plan examples: - default: &736 + default: &738 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -109516,9 +109697,9 @@ paths: application/json: schema: type: array - items: *735 + items: *737 examples: - default: *736 + default: *738 headers: Link: *38 '304': *35 @@ -109558,7 +109739,7 @@ paths: application/json: schema: type: array - items: *289 + items: *291 examples: default: value: @@ -109660,13 +109841,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: - - *165 + - *167 responses: '200': description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -109724,7 +109905,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: - - *165 + - *167 requestBody: required: true content: @@ -109749,7 +109930,7 @@ paths: description: Response content: application/json: - schema: *289 + schema: *291 examples: default: value: @@ -109817,7 +109998,7 @@ paths: application/json: schema: type: array - items: *291 + items: *293 examples: default: value: @@ -110079,7 +110260,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: default: value: @@ -110259,7 +110440,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *292 + - *294 - name: exclude in: query required: false @@ -110272,7 +110453,7 @@ paths: description: Response content: application/json: - schema: *291 + schema: *293 examples: default: value: @@ -110466,7 +110647,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *292 + - *294 responses: '302': description: Response @@ -110492,7 +110673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *292 + - *294 responses: '204': description: Response @@ -110521,8 +110702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *292 - - *737 + - *294 + - *739 responses: '204': description: Response @@ -110546,7 +110727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *292 + - *294 - *17 - *19 responses: @@ -110556,9 +110737,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 '404': *6 @@ -110595,7 +110776,7 @@ paths: type: array items: *57 examples: - default: *738 + default: *740 headers: Link: *38 '304': *35 @@ -110637,7 +110818,7 @@ paths: - docker - nuget - container - - *739 + - *741 - *19 - *17 responses: @@ -110647,10 +110828,10 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: *740 - '400': *741 + default: *742 + '400': *743 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110670,16 +110851,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: - - *299 - - *300 + - *301 + - *302 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: &757 + default: &759 value: id: 40201 name: octo-name @@ -110792,8 +110973,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: - - *299 - - *300 + - *301 + - *302 responses: '204': description: Response @@ -110823,8 +111004,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: - - *299 - - *300 + - *301 + - *302 - name: token description: package token schema: @@ -110856,8 +111037,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: - - *299 - - *300 + - *301 + - *302 - *19 - *17 - name: state @@ -110877,7 +111058,7 @@ paths: application/json: schema: type: array - items: *301 + items: *303 examples: default: value: @@ -110926,15 +111107,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: - - *299 - - *300 + - *301 - *302 + - *304 responses: '200': description: Response content: application/json: - schema: *301 + schema: *303 examples: default: value: @@ -110970,9 +111151,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: - - *299 - - *300 + - *301 - *302 + - *304 responses: '204': description: Response @@ -111002,9 +111183,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: - - *299 - - *300 + - *301 - *302 + - *304 responses: '204': description: Response @@ -111062,7 +111243,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *315 examples: default: value: @@ -111134,9 +111315,9 @@ paths: application/json: schema: type: array - items: *728 + items: *730 examples: - default: *742 + default: *744 headers: Link: *38 '304': *35 @@ -111249,7 +111430,7 @@ paths: type: array items: *62 examples: - default: &749 + default: &751 summary: Default response value: - id: 1296269 @@ -111567,9 +111748,9 @@ paths: description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *381 + default: *383 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -111607,9 +111788,9 @@ paths: application/json: schema: type: array - items: *555 + items: *557 examples: - default: *743 + default: *745 headers: Link: *38 '304': *35 @@ -111632,7 +111813,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *279 + - *281 responses: '204': description: Response @@ -111655,7 +111836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *279 + - *281 responses: '204': description: Response @@ -111688,7 +111869,7 @@ paths: application/json: schema: type: array - items: &744 + items: &746 title: Social account description: Social media account type: object @@ -111705,7 +111886,7 @@ paths: - provider - url examples: - default: &745 + default: &747 value: - provider: twitter url: https://twitter.com/github @@ -111768,9 +111949,9 @@ paths: application/json: schema: type: array - items: *744 + items: *746 examples: - default: *745 + default: *747 '422': *15 '304': *35 '404': *6 @@ -111858,7 +112039,7 @@ paths: application/json: schema: type: array - items: &746 + items: &748 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -111878,7 +112059,7 @@ paths: - title - created_at examples: - default: &758 + default: &760 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111945,9 +112126,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *748 examples: - default: &747 + default: &749 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -111978,7 +112159,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: - - &748 + - &750 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -111990,9 +112171,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *748 examples: - default: *747 + default: *749 '404': *6 '304': *35 '403': *27 @@ -112015,7 +112196,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: - - *748 + - *750 responses: '204': description: Response @@ -112044,7 +112225,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: - - &759 + - &761 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 @@ -112069,11 +112250,11 @@ paths: type: array items: *62 examples: - default-response: *749 + default-response: *751 application/vnd.github.v3.star+json: schema: type: array - items: &760 + items: &762 title: Starred Repository description: Starred Repository type: object @@ -112229,8 +112410,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response if this repository is starred by you @@ -112258,8 +112439,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -112283,8 +112464,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: - - *366 - - *367 + - *368 + - *369 responses: '204': description: Response @@ -112317,9 +112498,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 '304': *35 @@ -112356,7 +112537,7 @@ paths: application/json: schema: type: array - items: *347 + items: *349 examples: default: value: @@ -112434,7 +112615,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *154 + - *156 responses: '200': description: Response @@ -112442,10 +112623,10 @@ paths: application/json: schema: oneOf: - - *722 - - *721 + - *724 + - *723 examples: - default-response: &751 + default-response: &753 summary: Default response value: login: octocat @@ -112480,7 +112661,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &752 + response-with-git-hub-plan-information: &754 summary: Response with GitHub plan information value: login: octocat @@ -112540,7 +112721,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *750 + - *752 - *17 responses: '200': @@ -112551,7 +112732,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: example: ; rel="next" @@ -112581,7 +112762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *213 + - *215 responses: '200': description: Response @@ -112589,11 +112770,11 @@ paths: application/json: schema: oneOf: - - *722 - - *721 + - *724 + - *723 examples: - default-response: *751 - response-with-git-hub-plan-information: *752 + default-response: *753 + response-with-git-hub-plan-information: *754 '404': *6 x-github: githubCloudOnly: false @@ -112619,7 +112800,7 @@ paths: - *17 - *84 - *85 - - *213 + - *215 requestBody: required: true content: @@ -112642,8 +112823,8 @@ paths: required: - subject_digests examples: - default: *753 - withPredicateType: *754 + default: *755 + withPredicateType: *756 responses: '200': description: Response @@ -112697,7 +112878,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *755 + default: *757 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -112715,7 +112896,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *213 + - *215 requestBody: required: true content: @@ -112780,7 +112961,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *213 + - *215 - name: subject_digest description: Subject Digest in: path @@ -112811,7 +112992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *213 + - *215 - name: attestation_id description: Attestation ID in: path @@ -112849,7 +113030,7 @@ paths: - *17 - *84 - *85 - - *213 + - *215 - name: subject_digest description: Subject Digest in: path @@ -112899,12 +113080,12 @@ paths: bundle_url: type: string examples: - default: *419 + default: *421 '201': description: Response content: application/json: - schema: *202 + schema: *204 examples: default: value: @@ -112930,7 +113111,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: - - *213 + - *215 responses: '200': description: Response @@ -112938,9 +113119,9 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: *740 + default: *742 '403': *27 '401': *23 x-github: @@ -112963,7 +113144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -112973,7 +113154,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -113044,8 +113225,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: - - *213 - - *165 + - *215 + - *167 - *17 - *19 responses: @@ -113055,7 +113236,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -113134,7 +113315,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -113144,7 +113325,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -113211,7 +113392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -113223,7 +113404,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -113242,7 +113423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *213 + - *215 - *17 - *19 responses: @@ -113254,7 +113435,7 @@ paths: type: array items: *4 examples: - default: *285 + default: *287 headers: Link: *38 x-github: @@ -113273,7 +113454,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: - - *213 + - *215 - name: target_user in: path required: true @@ -113300,8 +113481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *213 - - *139 + - *215 + - *141 - *17 - *19 responses: @@ -113311,9 +113492,9 @@ paths: application/json: schema: type: array - items: *140 + items: *142 examples: - default: *141 + default: *143 headers: Link: *38 '422': *15 @@ -113334,7 +113515,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: - - *213 + - *215 - *17 - *19 responses: @@ -113344,9 +113525,9 @@ paths: application/json: schema: type: array - items: *729 + items: *731 examples: - default: *756 + default: *758 headers: Link: *38 x-github: @@ -113370,7 +113551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *213 + - *215 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -113442,7 +113623,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: - - *213 + - *215 responses: '200': description: Response @@ -113450,7 +113631,7 @@ paths: application/json: schema: *20 examples: - default: *552 + default: *554 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113468,7 +113649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -113519,7 +113700,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -113531,7 +113712,7 @@ paths: type: array items: *57 examples: - default: *738 + default: *740 headers: Link: *38 x-github: @@ -113570,8 +113751,8 @@ paths: - docker - nuget - container - - *739 - - *213 + - *741 + - *215 - *19 - *17 responses: @@ -113581,12 +113762,12 @@ paths: application/json: schema: type: array - items: *297 + items: *299 examples: - default: *740 + default: *742 '403': *27 '401': *23 - '400': *741 + '400': *743 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113606,17 +113787,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *299 - - *300 - - *213 + - *301 + - *302 + - *215 responses: '200': description: Response content: application/json: - schema: *297 + schema: *299 examples: - default: *757 + default: *759 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113637,9 +113818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *299 - - *300 - - *213 + - *301 + - *302 + - *215 responses: '204': description: Response @@ -113671,9 +113852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *299 - - *300 - - *213 + - *301 + - *302 + - *215 - name: token description: package token schema: @@ -113705,9 +113886,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: - - *299 - - *300 - - *213 + - *301 + - *302 + - *215 responses: '200': description: Response @@ -113715,7 +113896,7 @@ paths: application/json: schema: type: array - items: *301 + items: *303 examples: default: value: @@ -113773,16 +113954,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: - - *299 - - *300 + - *301 - *302 - - *213 + - *304 + - *215 responses: '200': description: Response content: application/json: - schema: *301 + schema: *303 examples: default: value: @@ -113817,10 +113998,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *299 - - *300 - - *213 + - *301 - *302 + - *215 + - *304 responses: '204': description: Response @@ -113852,10 +114033,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *299 - - *300 - - *213 + - *301 - *302 + - *215 + - *304 responses: '204': description: Response @@ -113881,7 +114062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *213 + - *215 - name: state description: Indicates the state of the projects to return. in: query @@ -113902,7 +114083,7 @@ paths: application/json: schema: type: array - items: *313 + items: *315 examples: default: value: @@ -113964,7 +114145,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: - - *213 + - *215 - *17 - *19 responses: @@ -113974,7 +114155,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -114053,7 +114234,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: - - *213 + - *215 - *17 - *19 responses: @@ -114063,7 +114244,7 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: value: @@ -114140,7 +114321,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *213 + - *215 - name: type description: Limit results to repositories of the specified type. in: query @@ -114183,9 +114364,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -114209,15 +114390,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: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *334 + schema: *336 examples: - default: *335 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114239,15 +114420,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: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *339 + schema: *341 examples: - default: *340 + default: *342 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114269,15 +114450,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: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: - default: *342 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114297,11 +114478,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: - - *213 - - *166 - - *167 + - *215 - *168 - *169 + - *170 + - *171 responses: '200': description: Response when getting a billing usage report @@ -114390,7 +114571,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: - - *213 + - *215 - *17 - *19 responses: @@ -114400,9 +114581,9 @@ paths: application/json: schema: type: array - items: *744 + items: *746 examples: - default: *745 + default: *747 headers: Link: *38 x-github: @@ -114422,7 +114603,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: - - *213 + - *215 - *17 - *19 responses: @@ -114432,9 +114613,9 @@ paths: application/json: schema: type: array - items: *746 + items: *748 examples: - default: *758 + default: *760 headers: Link: *38 x-github: @@ -114458,8 +114639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *213 - - *759 + - *215 + - *761 - *86 - *17 - *19 @@ -114471,11 +114652,11 @@ paths: schema: anyOf: - type: array - items: *760 + items: *762 - type: array items: *62 examples: - default-response: *749 + default-response: *751 headers: Link: *38 x-github: @@ -114494,7 +114675,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *213 + - *215 - *17 - *19 responses: @@ -114504,9 +114685,9 @@ paths: application/json: schema: type: array - items: *191 + items: *193 examples: - default: *303 + default: *305 headers: Link: *38 x-github: @@ -114635,7 +114816,7 @@ webhooks: type: string enum: - disabled - enterprise: &761 + enterprise: &763 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -114704,7 +114885,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &762 + installation: &764 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -114725,7 +114906,7 @@ webhooks: required: - id - node_id - organization: &763 + organization: &765 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -114798,7 +114979,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &764 + repository: &766 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -114827,7 +115008,7 @@ webhooks: license: anyOf: - type: 'null' - - *150 + - *152 organization: anyOf: - type: 'null' @@ -115711,10 +115892,10 @@ webhooks: type: string enum: - enabled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -115790,11 +115971,11 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: &765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: &767 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) @@ -116017,11 +116198,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: *767 sender: *4 required: - action @@ -116209,11 +116390,11 @@ webhooks: - everyone required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - rule: *765 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + rule: *767 sender: *4 required: - action @@ -116284,7 +116465,7 @@ webhooks: required: true content: application/json: - schema: &768 + schema: &770 title: Exemption request cancellation event type: object properties: @@ -116292,11 +116473,11 @@ webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: &766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + exemption_request: &768 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -116534,7 +116715,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &767 + items: &769 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -116644,7 +116825,7 @@ webhooks: required: true content: application/json: - schema: &769 + schema: &771 title: Exemption request completed event type: object properties: @@ -116652,11 +116833,11 @@ webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + exemption_request: *768 sender: *4 required: - action @@ -116726,7 +116907,7 @@ webhooks: required: true content: application/json: - schema: &770 + schema: &772 title: Exemption request created event type: object properties: @@ -116734,11 +116915,11 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + exemption_request: *768 sender: *4 required: - action @@ -116808,7 +116989,7 @@ webhooks: required: true content: application/json: - schema: &771 + schema: &773 title: Exemption response dismissed event type: object properties: @@ -116816,12 +116997,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + exemption_request: *768 + exemption_response: *769 sender: *4 required: - action @@ -116893,7 +117074,7 @@ webhooks: required: true content: application/json: - schema: &772 + schema: &774 title: Exemption response submitted event type: object properties: @@ -116901,12 +117082,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - exemption_request: *766 - exemption_response: *767 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + exemption_request: *768 + exemption_response: *769 sender: *4 required: - action @@ -116979,7 +117160,7 @@ webhooks: required: true content: application/json: - schema: *768 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117046,7 +117227,7 @@ webhooks: required: true content: application/json: - schema: *769 + schema: *771 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117113,7 +117294,7 @@ webhooks: required: true content: application/json: - schema: *770 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117180,7 +117361,7 @@ webhooks: required: true content: application/json: - schema: *771 + schema: *773 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117248,7 +117429,7 @@ webhooks: required: true content: application/json: - schema: *772 + schema: *774 responses: '200': description: Return a 200 status to indicate that the data was received @@ -117326,7 +117507,7 @@ webhooks: type: string enum: - completed - check_run: &774 + check_run: &776 title: CheckRun description: A check performed on the code of a given code change type: object @@ -117391,8 +117572,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *438 - repository: *191 + items: *440 + repository: *193 status: type: string enum: @@ -117436,7 +117617,7 @@ webhooks: - examples: - neutral - deployment: *773 + deployment: *775 details_url: type: string examples: @@ -117496,7 +117677,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *438 + items: *440 started_at: type: string format: date-time @@ -117534,9 +117715,9 @@ webhooks: - output - app - pull_requests - installation: *762 - organization: *763 - repository: *764 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -117929,10 +118110,10 @@ webhooks: type: string enum: - created - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *776 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -118328,10 +118509,10 @@ webhooks: type: string enum: - requested_action - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *776 + installation: *764 + organization: *765 + repository: *766 requested_action: description: The action requested by the user. type: object @@ -118736,10 +118917,10 @@ webhooks: type: string enum: - rerequested - check_run: *774 - installation: *762 - organization: *763 - repository: *764 + check_run: *776 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - check_run @@ -119731,10 +119912,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -120419,10 +120600,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -121101,10 +121282,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -121270,7 +121451,7 @@ webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -121422,20 +121603,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &775 + commit_oid: &777 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: *761 - installation: *762 - organization: *763 - ref: &776 + enterprise: *763 + installation: *764 + organization: *765 + ref: &778 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: *764 + repository: *766 sender: *4 required: - action @@ -121599,7 +121780,7 @@ webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -121840,12 +122021,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *777 + enterprise: *763 + installation: *764 + organization: *765 + ref: *778 + repository: *766 sender: *4 required: - action @@ -121943,7 +122124,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -122125,12 +122306,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *777 + enterprise: *763 + installation: *764 + organization: *765 + ref: *778 + repository: *766 sender: *4 required: - action @@ -122296,7 +122477,7 @@ webhooks: required: - login - id - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -122473,12 +122654,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *777 + enterprise: *763 + installation: *764 + organization: *765 + ref: *778 + repository: *766 sender: *4 required: - action @@ -122578,7 +122759,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -122758,9 +122939,9 @@ webhooks: type: - string - 'null' - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -122768,7 +122949,7 @@ webhooks: type: - string - 'null' - repository: *764 + repository: *766 sender: *4 required: - action @@ -122864,7 +123045,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *450 + dismissed_comment: *452 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -123011,12 +123192,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *775 - enterprise: *761 - installation: *762 - organization: *763 - ref: *776 - repository: *764 + commit_oid: *777 + enterprise: *763 + installation: *764 + organization: *765 + ref: *778 + repository: *766 sender: *4 required: - action @@ -123278,10 +123459,10 @@ webhooks: - updated_at - author_association - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -123362,18 +123543,18 @@ webhooks: type: - string - 'null' - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *763 - pusher_type: &777 + organization: *765 + pusher_type: &779 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &778 + ref: &780 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -123383,7 +123564,7 @@ webhooks: enum: - tag - branch - repository: *764 + repository: *766 sender: *4 required: - ref @@ -123466,9 +123647,9 @@ webhooks: enum: - created definition: *112 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -123553,9 +123734,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -123633,9 +123814,9 @@ webhooks: enum: - promote_to_enterprise definition: *112 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -123713,9 +123894,9 @@ webhooks: enum: - updated definition: *112 - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -123792,19 +123973,19 @@ webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - repository: *764 - organization: *763 + enterprise: *763 + installation: *764 + repository: *766 + organization: *765 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *315 + items: *317 old_property_values: type: array description: The old custom property values for the repository. - items: *315 + items: *317 required: - action - repository @@ -123880,18 +124061,18 @@ webhooks: title: delete event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - pusher_type: *777 - ref: *778 + enterprise: *763 + installation: *764 + organization: *765 + pusher_type: *779 + ref: *780 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *764 + repository: *766 sender: *4 required: - ref @@ -123975,11 +124156,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124063,11 +124244,11 @@ webhooks: type: string enum: - auto_reopened - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124151,11 +124332,11 @@ webhooks: type: string enum: - created - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124237,11 +124418,11 @@ webhooks: type: string enum: - dismissed - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124323,11 +124504,11 @@ webhooks: type: string enum: - fixed - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124410,11 +124591,11 @@ webhooks: type: string enum: - reintroduced - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124496,11 +124677,11 @@ webhooks: type: string enum: - reopened - alert: *502 - installation: *762 - organization: *763 - enterprise: *761 - repository: *764 + alert: *504 + installation: *764 + organization: *765 + enterprise: *763 + repository: *766 sender: *4 required: - action @@ -124577,9 +124758,9 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - key: &779 + enterprise: *763 + installation: *764 + key: &781 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -124617,8 +124798,8 @@ webhooks: - verified - created_at - read_only - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -124695,11 +124876,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - key: *779 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + key: *781 + organization: *765 + repository: *766 sender: *4 required: - action @@ -125271,12 +125452,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: &783 + workflow: &785 title: Workflow type: - object @@ -126014,13 +126195,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *508 + deployment: *510 pull_requests: type: array - items: *599 - repository: *764 - organization: *763 - installation: *762 + items: *601 + repository: *766 + organization: *765 + installation: *764 sender: *4 responses: '200': @@ -126091,7 +126272,7 @@ webhooks: type: string enum: - approved - approver: &780 + approver: &782 type: object properties: avatar_url: @@ -126134,11 +126315,11 @@ webhooks: type: string comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: &781 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + reviewers: &783 type: array items: type: object @@ -126219,7 +126400,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &782 + workflow_job_run: &784 type: object properties: conclusion: @@ -126965,18 +127146,18 @@ webhooks: type: string enum: - rejected - approver: *780 + approver: *782 comment: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - reviewers: *781 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + reviewers: *783 sender: *4 since: type: string - workflow_job_run: *782 + workflow_job_run: *784 workflow_job_runs: type: array items: @@ -127693,13 +127874,13 @@ webhooks: type: string enum: - requested - enterprise: *761 + enterprise: *763 environment: type: string - installation: *762 - organization: *763 - repository: *764 - requestor: &788 + installation: *764 + organization: *765 + repository: *766 + requestor: &790 title: User type: - object @@ -129642,12 +129823,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *783 + workflow: *785 workflow_run: title: Deployment Workflow Run type: @@ -130338,7 +130519,7 @@ webhooks: type: string enum: - answered - answer: &786 + answer: &788 type: object properties: author_association: @@ -130498,7 +130679,7 @@ webhooks: - created_at - updated_at - body - discussion: &784 + discussion: &786 title: Discussion description: A Discussion in a repository. type: object @@ -130794,7 +130975,7 @@ webhooks: - id labels: type: array - items: *562 + items: *564 required: - repository_url - category @@ -130816,10 +130997,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -130946,11 +131127,11 @@ webhooks: - from required: - category - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131033,11 +131214,11 @@ webhooks: type: string enum: - closed - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131119,7 +131300,7 @@ webhooks: type: string enum: - created - comment: &785 + comment: &787 type: object properties: author_association: @@ -131279,11 +131460,11 @@ webhooks: - updated_at - body - reactions - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131366,12 +131547,12 @@ webhooks: type: string enum: - deleted - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *787 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131466,12 +131647,12 @@ webhooks: - from required: - body - comment: *785 - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + comment: *787 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131555,11 +131736,11 @@ webhooks: type: string enum: - created - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131641,11 +131822,11 @@ webhooks: type: string enum: - deleted - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131745,11 +131926,11 @@ webhooks: type: string required: - from - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131831,10 +132012,10 @@ webhooks: type: string enum: - labeled - discussion: *784 - enterprise: *761 - installation: *762 - label: &787 + discussion: *786 + enterprise: *763 + installation: *764 + label: &789 title: Label type: object properties: @@ -131867,8 +132048,8 @@ webhooks: - color - default - description - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -131951,11 +132132,11 @@ webhooks: type: string enum: - locked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132037,11 +132218,11 @@ webhooks: type: string enum: - pinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132123,11 +132304,11 @@ webhooks: type: string enum: - reopened - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132212,16 +132393,16 @@ webhooks: changes: type: object properties: - new_discussion: *784 - new_repository: *764 + new_discussion: *786 + new_repository: *766 required: - new_discussion - new_repository - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132304,10 +132485,10 @@ webhooks: type: string enum: - unanswered - discussion: *784 - old_answer: *786 - organization: *763 - repository: *764 + discussion: *786 + old_answer: *788 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132389,12 +132570,12 @@ webhooks: type: string enum: - unlabeled - discussion: *784 - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132477,11 +132658,11 @@ webhooks: type: string enum: - unlocked - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132563,11 +132744,11 @@ webhooks: type: string enum: - unpinned - discussion: *784 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + discussion: *786 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -132636,7 +132817,7 @@ webhooks: required: true content: application/json: - schema: *770 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132699,7 +132880,7 @@ webhooks: required: true content: application/json: - schema: *772 + schema: *774 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132765,7 +132946,7 @@ webhooks: required: true content: application/json: - schema: *768 + schema: *770 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132831,7 +133012,7 @@ webhooks: required: true content: application/json: - schema: *769 + schema: *771 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132897,7 +133078,7 @@ webhooks: required: true content: application/json: - schema: *770 + schema: *772 responses: '200': description: Return a 200 status to indicate that the data was received @@ -132963,7 +133144,7 @@ webhooks: required: true content: application/json: - schema: *771 + schema: *773 responses: '200': description: Return a 200 status to indicate that the data was received @@ -133029,7 +133210,7 @@ webhooks: required: true content: application/json: - schema: *772 + schema: *774 responses: '200': description: Return a 200 status to indicate that the data was received @@ -133096,7 +133277,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *761 + enterprise: *763 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -133774,9 +133955,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - forkee @@ -133922,9 +134103,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pages: description: The pages that were updated. type: array @@ -133962,7 +134143,7 @@ webhooks: - action - sha - html_url - repository: *764 + repository: *766 sender: *4 required: - pages @@ -134038,10 +134219,10 @@ webhooks: type: string enum: - created - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories: &789 + organization: *765 + repositories: &791 description: An array of repository objects that the installation can access. type: array @@ -134067,8 +134248,8 @@ webhooks: - name - full_name - private - repository: *764 - requester: *788 + repository: *766 + requester: *790 sender: *4 required: - action @@ -134143,11 +134324,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories: *789 - repository: *764 + organization: *765 + repositories: *791 + repository: *766 requester: type: - 'null' @@ -134224,11 +134405,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories: *789 - repository: *764 + organization: *765 + repositories: *791 + repository: *766 requester: type: - 'null' @@ -134305,10 +134486,10 @@ webhooks: type: string enum: - added - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories_added: &790 + organization: *765 + repositories_added: &792 description: An array of repository objects, which were added to the installation. type: array @@ -134354,15 +134535,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *764 - repository_selection: &791 + repository: *766 + repository_selection: &793 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *788 + requester: *790 sender: *4 required: - action @@ -134441,10 +134622,10 @@ webhooks: type: string enum: - removed - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories_added: *790 + organization: *765 + repositories_added: *792 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -134471,9 +134652,9 @@ webhooks: - name - full_name - private - repository: *764 - repository_selection: *791 - requester: *788 + repository: *766 + repository_selection: *793 + requester: *790 sender: *4 required: - action @@ -134552,11 +134733,11 @@ webhooks: type: string enum: - suspend - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories: *789 - repository: *764 + organization: *765 + repositories: *791 + repository: *766 requester: type: - 'null' @@ -134739,10 +134920,10 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 target_type: type: string @@ -134821,11 +135002,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *761 + enterprise: *763 installation: *20 - organization: *763 - repositories: *789 - repository: *764 + organization: *765 + repositories: *791 + repository: *766 requester: type: - 'null' @@ -135073,8 +135254,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -135921,7 +136102,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -136265,8 +136446,8 @@ webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -136346,7 +136527,7 @@ webhooks: type: string enum: - deleted - comment: &792 + comment: &794 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -136513,8 +136694,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -137357,7 +137538,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -137703,8 +137884,8 @@ webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -137784,7 +137965,7 @@ webhooks: type: string enum: - edited - changes: &817 + changes: &819 description: The changes to the comment. type: object properties: @@ -137796,9 +137977,9 @@ webhooks: type: string required: - from - comment: *792 - enterprise: *761 - installation: *762 + comment: *794 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -138644,7 +138825,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -138988,8 +139169,8 @@ webhooks: - state - locked - assignee - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -139071,10 +139252,10 @@ webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - issue: &795 + assignee: *790 + enterprise: *763 + installation: *764 + issue: &797 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -139916,7 +140097,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -140019,8 +140200,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -140100,8 +140281,8 @@ webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -140948,7 +141129,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -141194,8 +141375,8 @@ webhooks: required: - state - closed_at - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -141274,8 +141455,8 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142113,7 +142294,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -142215,8 +142396,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -142295,8 +142476,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -143157,7 +143338,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -143238,7 +143419,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &793 + milestone: &795 title: Milestone description: A collection of related issues and pull requests. type: object @@ -143381,8 +143562,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -143481,8 +143662,8 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -144321,7 +144502,7 @@ webhooks: timeline_url: type: string format: uri - type: *280 + type: *282 title: description: Title of the issue type: string @@ -144427,9 +144608,9 @@ webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -144509,8 +144690,8 @@ webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145348,7 +145529,7 @@ webhooks: timeline_url: type: string format: uri - type: *280 + type: *282 title: description: Title of the issue type: string @@ -145454,9 +145635,9 @@ webhooks: - active_lock_reason - body - reactions - label: *787 - organization: *763 - repository: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -145536,8 +145717,8 @@ webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146400,7 +146581,7 @@ webhooks: timeline_url: type: string format: uri - type: *280 + type: *282 title: description: Title of the issue type: string @@ -146483,8 +146664,8 @@ webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -146563,8 +146744,8 @@ webhooks: type: string enum: - milestoned - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147424,7 +147605,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -147504,9 +147685,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *793 - organization: *763 - repository: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -148507,7 +148688,7 @@ webhooks: required: - login - id - type: *280 + type: *282 required: - id - number @@ -148988,8 +149169,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149831,7 +150012,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -149933,8 +150114,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -150014,9 +150195,9 @@ webhooks: type: string enum: - pinned - enterprise: *761 - installation: *762 - issue: &794 + enterprise: *763 + installation: *764 + issue: &796 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150852,7 +151033,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -150954,8 +151135,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -151034,8 +151215,8 @@ webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151979,9 +152160,9 @@ webhooks: format: uri user_view_type: type: string - type: *280 - organization: *763 - repository: *764 + type: *282 + organization: *765 + repository: *766 sender: *4 required: - action @@ -152900,7 +153081,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -153482,11 +153663,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153566,12 +153747,12 @@ webhooks: type: string enum: - typed - enterprise: *761 - installation: *762 - issue: *795 - type: *280 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *797 + type: *282 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153652,7 +153833,7 @@ webhooks: type: string enum: - unassigned - assignee: &820 + assignee: &822 title: User type: - object @@ -153724,11 +153905,11 @@ webhooks: required: - login - id - enterprise: *761 - installation: *762 - issue: *795 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *797 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153807,12 +153988,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - issue: *795 - label: *787 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *797 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -153892,8 +154073,8 @@ webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154757,7 +154938,7 @@ webhooks: title: description: Title of the issue type: string - type: *280 + type: *282 updated_at: type: string format: date-time @@ -154837,8 +155018,8 @@ webhooks: format: uri user_view_type: type: string - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -154918,11 +155099,11 @@ webhooks: type: string enum: - unpinned - enterprise: *761 - installation: *762 - issue: *794 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *796 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155001,12 +155182,12 @@ webhooks: type: string enum: - untyped - enterprise: *761 - installation: *762 - issue: *795 - type: *280 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + issue: *797 + type: *282 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155086,11 +155267,11 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155168,11 +155349,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155282,11 +155463,11 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - label: *787 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + label: *789 + organization: *765 + repository: *766 sender: *4 required: - action @@ -155368,9 +155549,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: &796 + enterprise: *763 + installation: *764 + marketplace_purchase: &798 title: Marketplace Purchase type: object required: @@ -155458,8 +155639,8 @@ webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: &797 + organization: *765 + previous_marketplace_purchase: &799 title: Marketplace Purchase type: object properties: @@ -155543,7 +155724,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *766 sender: *4 required: - action @@ -155623,10 +155804,10 @@ webhooks: - changed effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *763 + installation: *764 + marketplace_purchase: *798 + organization: *765 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -155714,7 +155895,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *766 sender: *4 required: - action @@ -155796,10 +155977,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 + enterprise: *763 + installation: *764 + marketplace_purchase: *798 + organization: *765 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -155885,7 +156066,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *764 + repository: *766 sender: *4 required: - action @@ -155966,8 +156147,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 marketplace_purchase: title: Marketplace Purchase type: object @@ -156053,9 +156234,9 @@ webhooks: type: integer unit_count: type: integer - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + organization: *765 + previous_marketplace_purchase: *799 + repository: *766 sender: *4 required: - action @@ -156135,12 +156316,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *761 - installation: *762 - marketplace_purchase: *796 - organization: *763 - previous_marketplace_purchase: *797 - repository: *764 + enterprise: *763 + installation: *764 + marketplace_purchase: *798 + organization: *765 + previous_marketplace_purchase: *799 + repository: *766 sender: *4 required: - action @@ -156242,11 +156423,11 @@ webhooks: type: string required: - to - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + member: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -156348,11 +156529,11 @@ webhooks: type: - string - 'null' - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + member: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -156431,11 +156612,11 @@ webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + member: *790 + organization: *765 + repository: *766 sender: *4 required: - action @@ -156513,11 +156694,11 @@ webhooks: type: string enum: - added - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + member: *790 + organization: *765 + repository: *766 scope: description: The scope of the membership. Currently, can only be `team`. @@ -156595,7 +156776,7 @@ webhooks: required: - login - id - team: &798 + team: &800 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -156788,11 +156969,11 @@ webhooks: type: string enum: - removed - enterprise: *761 - installation: *762 - member: *788 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + member: *790 + organization: *765 + repository: *766 scope: description: The scope of the membership. Currently, can only be `team`. @@ -156871,7 +157052,7 @@ webhooks: required: - login - id - team: *798 + team: *800 required: - action - scope @@ -156953,8 +157134,8 @@ webhooks: type: string enum: - checks_requested - installation: *762 - merge_group: &799 + installation: *764 + merge_group: &801 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -156973,15 +157154,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *442 + head_commit: *444 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157067,10 +157248,10 @@ webhooks: - merged - invalidated - dequeued - installation: *762 - merge_group: *799 - organization: *763 - repository: *764 + installation: *764 + merge_group: *801 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157143,7 +157324,7 @@ webhooks: type: string enum: - deleted - enterprise: *761 + enterprise: *763 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -157252,12 +157433,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *762 - organization: *763 + installation: *764 + organization: *765 repository: anyOf: - type: 'null' - - *764 + - *766 sender: *4 required: - action @@ -157337,11 +157518,11 @@ webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157420,9 +157601,9 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - milestone: &800 + enterprise: *763 + installation: *764 + milestone: &802 title: Milestone description: A collection of related issues and pull requests. type: object @@ -157564,8 +157745,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157644,11 +157825,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157758,11 +157939,11 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - milestone: *793 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + milestone: *795 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157842,11 +158023,11 @@ webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - milestone: *800 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + milestone: *802 + organization: *765 + repository: *766 sender: *4 required: - action @@ -157925,11 +158106,11 @@ webhooks: type: string enum: - blocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *790 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158008,11 +158189,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *788 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + blocked_user: *790 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158091,9 +158272,9 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - membership: &801 + enterprise: *763 + installation: *764 + membership: &803 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -158187,8 +158368,8 @@ webhooks: - role - organization_url - user - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158266,11 +158447,11 @@ webhooks: type: string enum: - member_added - enterprise: *761 - installation: *762 - membership: *801 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + membership: *803 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158349,8 +158530,8 @@ webhooks: type: string enum: - member_invited - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -158472,10 +158653,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 - user: *788 + user: *790 required: - action - invitation @@ -158553,11 +158734,11 @@ webhooks: type: string enum: - member_removed - enterprise: *761 - installation: *762 - membership: *801 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + membership: *803 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158644,11 +158825,11 @@ webhooks: properties: from: type: string - enterprise: *761 - installation: *762 - membership: *801 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + membership: *803 + organization: *765 + repository: *766 sender: *4 required: - action @@ -158724,9 +158905,9 @@ webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 package: description: Information about the package. type: object @@ -159249,7 +159430,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &802 + items: &804 title: Ruby Gems metadata type: object properties: @@ -159346,7 +159527,7 @@ webhooks: - owner - package_version - registry - repository: *764 + repository: *766 sender: *4 required: - action @@ -159422,9 +159603,9 @@ webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 package: description: Information about the package. type: object @@ -159786,7 +159967,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *802 + items: *804 source_url: type: string format: uri @@ -159857,7 +160038,7 @@ webhooks: - owner - package_version - registry - repository: *764 + repository: *766 sender: *4 required: - action @@ -160038,12 +160219,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *761 + enterprise: *763 id: type: integer - installation: *762 - organization: *763 - repository: *764 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - id @@ -160120,7 +160301,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &803 + personal_access_token_request: &805 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -160270,10 +160451,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *761 - organization: *763 + enterprise: *763 + organization: *765 sender: *4 - installation: *762 + installation: *764 required: - action - personal_access_token_request @@ -160350,11 +160531,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *803 - enterprise: *761 - organization: *763 + personal_access_token_request: *805 + enterprise: *763 + organization: *765 sender: *4 - installation: *762 + installation: *764 required: - action - personal_access_token_request @@ -160430,11 +160611,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *803 - enterprise: *761 - organization: *763 + personal_access_token_request: *805 + enterprise: *763 + organization: *765 sender: *4 - installation: *762 + installation: *764 required: - action - personal_access_token_request @@ -160509,11 +160690,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *803 - organization: *763 - enterprise: *761 + personal_access_token_request: *805 + organization: *765 + enterprise: *763 sender: *4 - installation: *762 + installation: *764 required: - action - personal_access_token_request @@ -160618,7 +160799,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *804 + last_response: *806 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -160650,8 +160831,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 zen: description: Random string of GitHub zen. @@ -160896,10 +161077,10 @@ webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: &805 + enterprise: *763 + installation: *764 + organization: *765 + project_card: &807 title: Project Card type: object properties: @@ -161022,7 +161203,7 @@ webhooks: - creator - created_at - updated_at - repository: *764 + repository: *766 sender: *4 required: - action @@ -161103,11 +161284,11 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_card: *805 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project_card: *807 + repository: *766 sender: *4 required: - action @@ -161187,9 +161368,9 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 project_card: title: Project Card type: object @@ -161319,7 +161500,7 @@ webhooks: repository: anyOf: - type: 'null' - - *764 + - *766 sender: *4 required: - action @@ -161413,11 +161594,11 @@ webhooks: - from required: - note - enterprise: *761 - installation: *762 - organization: *763 - project_card: *805 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project_card: *807 + repository: *766 sender: *4 required: - action @@ -161511,9 +161692,9 @@ webhooks: - from required: - column_id - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 project_card: allOf: - title: Project Card @@ -161710,7 +161891,7 @@ webhooks: type: string required: - after_id - repository: *764 + repository: *766 sender: *4 required: - action @@ -161790,10 +161971,10 @@ webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - organization: *763 - project: &807 + enterprise: *763 + installation: *764 + organization: *765 + project: &809 title: Project type: object properties: @@ -161920,7 +162101,7 @@ webhooks: - creator - created_at - updated_at - repository: *764 + repository: *766 sender: *4 required: - action @@ -162000,10 +162181,10 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project_column: &806 + enterprise: *763 + installation: *764 + organization: *765 + project_column: &808 title: Project Column type: object properties: @@ -162043,7 +162224,7 @@ webhooks: - name - created_at - updated_at - repository: *764 + repository: *766 sender: *4 required: - action @@ -162122,14 +162303,14 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project_column: *806 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *808 repository: anyOf: - type: 'null' - - *764 + - *766 sender: *4 required: - action @@ -162218,11 +162399,11 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project_column: *806 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *808 + repository: *766 sender: *4 required: - action @@ -162302,11 +162483,11 @@ webhooks: type: string enum: - moved - enterprise: *761 - installation: *762 - organization: *763 - project_column: *806 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project_column: *808 + repository: *766 sender: *4 required: - action @@ -162386,11 +162567,11 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - project: *807 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project: *809 + repository: *766 sender: *4 required: - action @@ -162470,14 +162651,14 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - project: *807 + enterprise: *763 + installation: *764 + organization: *765 + project: *809 repository: anyOf: - type: 'null' - - *764 + - *766 sender: *4 required: - action @@ -162578,11 +162759,11 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - project: *807 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project: *809 + repository: *766 sender: *4 required: - action @@ -162661,11 +162842,11 @@ webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - organization: *763 - project: *807 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + project: *809 + repository: *766 sender: *4 required: - action @@ -162746,9 +162927,9 @@ webhooks: type: string enum: - closed - installation: *762 - organization: *763 - projects_v2: &808 + installation: *764 + organization: *765 + projects_v2: &810 title: Projects v2 Project description: A projects v2 project type: object @@ -162896,9 +163077,9 @@ webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2: *808 + installation: *764 + organization: *765 + projects_v2: *810 sender: *4 required: - action @@ -162979,9 +163160,9 @@ webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2: *808 + installation: *764 + organization: *765 + projects_v2: *810 sender: *4 required: - action @@ -163102,9 +163283,9 @@ webhooks: type: string to: type: string - installation: *762 - organization: *763 - projects_v2: *808 + installation: *764 + organization: *765 + projects_v2: *810 sender: *4 required: - action @@ -163187,7 +163368,7 @@ webhooks: type: string enum: - archived - changes: &812 + changes: &814 type: object properties: archived_at: @@ -163203,9 +163384,9 @@ webhooks: - string - 'null' format: date-time - installation: *762 - organization: *763 - projects_v2_item: &809 + installation: *764 + organization: *765 + projects_v2_item: &811 title: Projects v2 Item description: An item belonging to a project type: object @@ -163344,9 +163525,9 @@ webhooks: - 'null' to: type: string - installation: *762 - organization: *763 - projects_v2_item: *809 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163428,9 +163609,9 @@ webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_item: *809 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163511,9 +163692,9 @@ webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_item: *809 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163618,7 +163799,7 @@ webhooks: oneOf: - type: string - type: integer - - &810 + - &812 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -163638,7 +163819,7 @@ webhooks: required: - id - name - - &811 + - &813 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -163667,8 +163848,8 @@ webhooks: oneOf: - type: string - type: integer - - *810 - - *811 + - *812 + - *813 type: - 'null' - string @@ -163691,9 +163872,9 @@ webhooks: - 'null' required: - body - installation: *762 - organization: *763 - projects_v2_item: *809 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163790,9 +163971,9 @@ webhooks: type: - string - 'null' - installation: *762 - organization: *763 - projects_v2_item: *809 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163875,10 +164056,10 @@ webhooks: type: string enum: - restored - changes: *812 - installation: *762 - organization: *763 - projects_v2_item: *809 + changes: *814 + installation: *764 + organization: *765 + projects_v2_item: *811 sender: *4 required: - action @@ -163960,9 +164141,9 @@ webhooks: type: string enum: - reopened - installation: *762 - organization: *763 - projects_v2: *808 + installation: *764 + organization: *765 + projects_v2: *810 sender: *4 required: - action @@ -164043,9 +164224,9 @@ webhooks: type: string enum: - created - installation: *762 - organization: *763 - projects_v2_status_update: &813 + installation: *764 + organization: *765 + projects_v2_status_update: &815 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -164180,9 +164361,9 @@ webhooks: type: string enum: - deleted - installation: *762 - organization: *763 - projects_v2_status_update: *813 + installation: *764 + organization: *765 + projects_v2_status_update: *815 sender: *4 required: - action @@ -164328,9 +164509,9 @@ webhooks: - string - 'null' format: date - installation: *762 - organization: *763 - projects_v2_status_update: *813 + installation: *764 + organization: *765 + projects_v2_status_update: *815 sender: *4 required: - action @@ -164401,10 +164582,10 @@ webhooks: title: public event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - repository @@ -164481,13 +164662,13 @@ webhooks: type: string enum: - assigned - assignee: *788 - enterprise: *761 - installation: *762 - number: &814 + assignee: *790 + enterprise: *763 + installation: *764 + number: &816 description: The pull request number. type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -166836,7 +167017,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -166918,11 +167099,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -169264,7 +169445,7 @@ webhooks: - draft reason: type: string - repository: *764 + repository: *766 sender: *4 required: - action @@ -169346,11 +169527,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -171692,7 +171873,7 @@ webhooks: - draft reason: type: string - repository: *764 + repository: *766 sender: *4 required: - action @@ -171774,13 +171955,13 @@ webhooks: type: string enum: - closed - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: &815 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: &817 allOf: - - *599 + - *601 - type: object properties: allow_auto_merge: @@ -171842,7 +172023,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *764 + repository: *766 sender: *4 required: - action @@ -171923,12 +172104,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: *815 - repository: *764 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: *817 + repository: *766 sender: *4 required: - action @@ -172008,11 +172189,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *761 - milestone: *488 - number: *814 - organization: *763 - pull_request: &816 + enterprise: *763 + milestone: *490 + number: *816 + organization: *765 + pull_request: &818 title: Pull Request type: object properties: @@ -174339,7 +174520,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -174418,11 +174599,11 @@ webhooks: type: string enum: - dequeued - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -176768,7 +176949,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *764 + repository: *766 sender: *4 required: - action @@ -176892,12 +177073,12 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: *815 - repository: *764 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: *817 + repository: *766 sender: *4 required: - action @@ -176977,11 +177158,11 @@ webhooks: type: string enum: - enqueued - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -179312,7 +179493,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -179392,11 +179573,11 @@ webhooks: type: string enum: - labeled - enterprise: *761 - installation: *762 - label: *787 - number: *814 - organization: *763 + enterprise: *763 + installation: *764 + label: *789 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -181744,7 +181925,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -181825,10 +182006,10 @@ webhooks: type: string enum: - locked - enterprise: *761 - installation: *762 - number: *814 - organization: *763 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -184174,7 +184355,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -184254,12 +184435,12 @@ webhooks: type: string enum: - milestoned - enterprise: *761 - milestone: *488 - number: *814 - organization: *763 - pull_request: *816 - repository: *764 + enterprise: *763 + milestone: *490 + number: *816 + organization: *765 + pull_request: *818 + repository: *766 sender: *4 required: - action @@ -184338,12 +184519,12 @@ webhooks: type: string enum: - opened - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: *815 - repository: *764 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: *817 + repository: *766 sender: *4 required: - action @@ -184424,12 +184605,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: *815 - repository: *764 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: *817 + repository: *766 sender: *4 required: - action @@ -184509,12 +184690,12 @@ webhooks: type: string enum: - reopened - enterprise: *761 - installation: *762 - number: *814 - organization: *763 - pull_request: *815 - repository: *764 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 + pull_request: *817 + repository: *766 sender: *4 required: - action @@ -184889,9 +185070,9 @@ webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -187121,7 +187302,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *766 sender: *4 required: - action @@ -187201,7 +187382,7 @@ webhooks: type: string enum: - deleted - comment: &818 + comment: &820 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. @@ -187494,9 +187675,9 @@ webhooks: - start_side - side - reactions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -189714,7 +189895,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *766 sender: *4 required: - action @@ -189794,11 +189975,11 @@ webhooks: type: string enum: - edited - changes: *817 - comment: *818 - enterprise: *761 - installation: *762 - organization: *763 + changes: *819 + comment: *820 + enterprise: *763 + installation: *764 + organization: *765 pull_request: type: object properties: @@ -192019,7 +192200,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *764 + repository: *766 sender: *4 required: - action @@ -192100,9 +192281,9 @@ webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -194335,7 +194516,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *766 review: description: The review that was affected. type: object @@ -194581,9 +194762,9 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -196697,8 +196878,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: &819 + repository: *766 + review: &821 description: The review that was affected. type: object properties: @@ -196931,12 +197112,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -199283,7 +199464,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 requested_reviewer: title: User type: @@ -199369,12 +199550,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -201728,7 +201909,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 requested_team: title: Team description: Groups of organization members that gives permissions @@ -201923,12 +202104,12 @@ webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -204277,7 +204458,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 requested_reviewer: title: User type: @@ -204364,12 +204545,12 @@ webhooks: type: string enum: - review_requested - enterprise: *761 - installation: *762 + enterprise: *763 + installation: *764 number: description: The pull request number. type: integer - organization: *763 + organization: *765 pull_request: title: Pull Request type: object @@ -206709,7 +206890,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 requested_team: title: Team description: Groups of organization members that gives permissions @@ -206893,9 +207074,9 @@ webhooks: type: string enum: - submitted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -209131,8 +209312,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 - review: *819 + repository: *766 + review: *821 sender: *4 required: - action @@ -209212,9 +209393,9 @@ webhooks: type: string enum: - resolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -211345,7 +211526,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *766 sender: *4 thread: type: object @@ -211737,9 +211918,9 @@ webhooks: type: string enum: - unresolved - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 pull_request: title: Simple Pull Request type: object @@ -213853,7 +214034,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *764 + repository: *766 sender: *4 thread: type: object @@ -214247,10 +214428,10 @@ webhooks: type: string before: type: string - enterprise: *761 - installation: *762 - number: *814 - organization: *763 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -216585,7 +216766,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -216667,11 +216848,11 @@ webhooks: type: string enum: - unassigned - assignee: *820 - enterprise: *761 - installation: *762 - number: *814 - organization: *763 + assignee: *822 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -219021,7 +219202,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -219100,11 +219281,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *761 - installation: *762 - label: *787 - number: *814 - organization: *763 + enterprise: *763 + installation: *764 + label: *789 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -221443,7 +221624,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -221524,10 +221705,10 @@ webhooks: type: string enum: - unlocked - enterprise: *761 - installation: *762 - number: *814 - organization: *763 + enterprise: *763 + installation: *764 + number: *816 + organization: *765 pull_request: title: Pull Request type: object @@ -223856,7 +224037,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *764 + repository: *766 sender: *4 required: - action @@ -224059,7 +224240,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *761 + enterprise: *763 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -224154,8 +224335,8 @@ webhooks: - url - author - committer - installation: *762 - organization: *763 + installation: *764 + organization: *765 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -224743,9 +224924,9 @@ webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 registry_package: type: object properties: @@ -225222,7 +225403,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *802 + items: *804 summary: type: string tag_name: @@ -225278,7 +225459,7 @@ webhooks: - owner - package_version - registry - repository: *764 + repository: *766 sender: *4 required: - action @@ -225356,9 +225537,9 @@ webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 registry_package: type: object properties: @@ -225670,7 +225851,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *802 + items: *804 summary: type: string tag_name: @@ -225720,7 +225901,7 @@ webhooks: - owner - package_version - registry - repository: *764 + repository: *766 sender: *4 required: - action @@ -225797,10 +225978,10 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - release: &821 + enterprise: *763 + installation: *764 + organization: *765 + release: &823 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -226121,7 +226302,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *764 + repository: *766 sender: *4 required: - action @@ -226198,11 +226379,11 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - release: *821 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + release: *823 + repository: *766 sender: *4 required: - action @@ -226319,11 +226500,11 @@ webhooks: type: boolean required: - to - enterprise: *761 - installation: *762 - organization: *763 - release: *821 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + release: *823 + repository: *766 sender: *4 required: - action @@ -226401,9 +226582,9 @@ webhooks: type: string enum: - prereleased - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -226729,7 +226910,7 @@ webhooks: - string - 'null' format: uri - repository: *764 + repository: *766 sender: *4 required: - action @@ -226805,10 +226986,10 @@ webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - release: &822 + enterprise: *763 + installation: *764 + organization: *765 + release: &824 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -227131,7 +227312,7 @@ webhooks: - string - 'null' format: uri - repository: *764 + repository: *766 sender: *4 required: - action @@ -227207,11 +227388,11 @@ webhooks: type: string enum: - released - enterprise: *761 - installation: *762 - organization: *763 - release: *821 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + release: *823 + repository: *766 sender: *4 required: - action @@ -227287,11 +227468,11 @@ webhooks: type: string enum: - unpublished - enterprise: *761 - installation: *762 - organization: *763 - release: *822 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + release: *824 + repository: *766 sender: *4 required: - action @@ -227367,11 +227548,11 @@ webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *670 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_advisory: *672 sender: *4 required: - action @@ -227447,11 +227628,11 @@ webhooks: type: string enum: - reported - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - repository_advisory: *670 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + repository_advisory: *672 sender: *4 required: - action @@ -227527,10 +227708,10 @@ webhooks: type: string enum: - archived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -227607,10 +227788,10 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -227688,10 +227869,10 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -227776,10 +227957,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -227894,10 +228075,10 @@ webhooks: - 'null' items: type: string - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -227969,10 +228150,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 status: type: string @@ -228053,10 +228234,10 @@ webhooks: type: string enum: - privatized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -228133,10 +228314,10 @@ webhooks: type: string enum: - publicized - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -228230,10 +228411,10 @@ webhooks: - name required: - repository - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -228313,10 +228494,10 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 repository_ruleset: *126 sender: *4 required: @@ -228395,10 +228576,10 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 repository_ruleset: *126 sender: *4 required: @@ -228477,10 +228658,10 @@ webhooks: type: string enum: - edited - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 repository_ruleset: *126 changes: type: object @@ -228788,10 +228969,10 @@ webhooks: - from required: - owner - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -228869,10 +229050,10 @@ webhooks: type: string enum: - unarchived - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -228950,7 +229131,7 @@ webhooks: type: string enum: - create - alert: &823 + alert: &825 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -229074,10 +229255,10 @@ webhooks: type: string enum: - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -229287,10 +229468,10 @@ webhooks: type: string enum: - dismissed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -229368,11 +229549,11 @@ webhooks: type: string enum: - reopen - alert: *823 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *825 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -229574,10 +229755,10 @@ webhooks: enum: - fixed - open - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -229655,7 +229836,7 @@ webhooks: type: string enum: - created - alert: &824 + alert: &826 type: object properties: number: *96 @@ -229765,10 +229946,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -229849,11 +230030,11 @@ webhooks: type: string enum: - created - alert: *824 - installation: *762 - location: *825 - organization: *763 - repository: *764 + alert: *826 + installation: *764 + location: *827 + organization: *765 + repository: *766 sender: *4 required: - location @@ -230091,11 +230272,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *824 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -230173,11 +230354,11 @@ webhooks: type: string enum: - reopened - alert: *824 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -230255,11 +230436,11 @@ webhooks: type: string enum: - resolved - alert: *824 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -230337,11 +230518,11 @@ webhooks: type: string enum: - validated - alert: *824 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + alert: *826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -230471,10 +230652,10 @@ webhooks: - organization - enterprise - - repository: *764 - enterprise: *761 - installation: *762 - organization: *763 + repository: *766 + enterprise: *763 + installation: *764 + organization: *765 sender: *4 required: - action @@ -230552,11 +230733,11 @@ webhooks: type: string enum: - published - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: &826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + security_advisory: &828 description: The details of the security advisory, including summary, description, and severity. type: object @@ -230742,11 +230923,11 @@ webhooks: type: string enum: - updated - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 - security_advisory: *826 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 + security_advisory: *828 sender: *4 required: - action @@ -230819,10 +231000,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -231008,11 +231189,11 @@ webhooks: from: type: object properties: - security_and_analysis: *316 - enterprise: *761 - installation: *762 - organization: *763 - repository: *379 + security_and_analysis: *318 + enterprise: *763 + installation: *764 + organization: *765 + repository: *381 sender: *4 required: - changes @@ -231090,12 +231271,12 @@ webhooks: type: string enum: - cancelled - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: &827 + sponsorship: &829 type: object properties: created_at: @@ -231400,12 +231581,12 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *827 + sponsorship: *829 required: - action - sponsorship @@ -231493,12 +231674,12 @@ webhooks: type: string required: - from - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *827 + sponsorship: *829 required: - action - changes @@ -231575,17 +231756,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &828 + effective_date: &830 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: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *827 + sponsorship: *829 required: - action - sponsorship @@ -231659,7 +231840,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &829 + changes: &831 type: object properties: tier: @@ -231703,13 +231884,13 @@ webhooks: - from required: - tier - effective_date: *828 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + effective_date: *830 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *827 + sponsorship: *829 required: - action - changes @@ -231786,13 +231967,13 @@ webhooks: type: string enum: - tier_changed - changes: *829 - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + changes: *831 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - sponsorship: *827 + sponsorship: *829 required: - action - changes @@ -231866,10 +232047,10 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -231953,10 +232134,10 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -232390,15 +232571,15 @@ webhooks: type: - string - 'null' - enterprise: *761 + enterprise: *763 id: description: The unique identifier of the status. type: integer - installation: *762 + installation: *764 name: type: string - organization: *763 - repository: *764 + organization: *765 + repository: *766 sender: *4 sha: description: The Commit SHA. @@ -232508,15 +232689,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *149 + parent_issue: *151 parent_issue_repo: *62 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *149 - installation: *762 - organization: *763 - repository: *764 + sub_issue: *151 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -232600,15 +232781,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *149 + parent_issue: *151 parent_issue_repo: *62 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *149 - installation: *762 - organization: *763 - repository: *764 + sub_issue: *151 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -232692,15 +232873,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *149 + sub_issue: *151 sub_issue_repo: *62 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *149 - installation: *762 - organization: *763 - repository: *764 + parent_issue: *151 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -232784,15 +232965,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *149 + sub_issue: *151 sub_issue_repo: *62 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *149 - installation: *762 - organization: *763 - repository: *764 + parent_issue: *151 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -232869,12 +233050,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - team: &830 + team: &832 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -233067,9 +233248,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -233539,7 +233720,7 @@ webhooks: - topics - visibility sender: *4 - team: *830 + team: *832 required: - action - team @@ -233615,9 +233796,9 @@ webhooks: type: string enum: - created - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -234087,7 +234268,7 @@ webhooks: - topics - visibility sender: *4 - team: *830 + team: *832 required: - action - team @@ -234164,9 +234345,9 @@ webhooks: type: string enum: - deleted - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -234636,7 +234817,7 @@ webhooks: - topics - visibility sender: *4 - team: *830 + team: *832 required: - action - team @@ -234780,9 +234961,9 @@ webhooks: - from required: - permissions - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -235252,7 +235433,7 @@ webhooks: - topics - visibility sender: *4 - team: *830 + team: *832 required: - action - changes @@ -235330,9 +235511,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *761 - installation: *762 - organization: *763 + enterprise: *763 + installation: *764 + organization: *765 repository: title: Repository description: A git repository @@ -235802,7 +235983,7 @@ webhooks: - topics - visibility sender: *4 - team: *830 + team: *832 required: - action - team @@ -235878,10 +236059,10 @@ webhooks: type: string enum: - started - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 required: - action @@ -235954,17 +236135,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *761 + enterprise: *763 inputs: type: - object - 'null' additionalProperties: true - installation: *762 - organization: *763 + installation: *764 + organization: *765 ref: type: string - repository: *764 + repository: *766 sender: *4 workflow: type: string @@ -236046,10 +236227,10 @@ webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: allOf: @@ -236305,7 +236486,7 @@ webhooks: type: string required: - conclusion - deployment: *508 + deployment: *510 required: - action - repository @@ -236384,10 +236565,10 @@ webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: allOf: @@ -236669,7 +236850,7 @@ webhooks: required: - status - steps - deployment: *508 + deployment: *510 required: - action - repository @@ -236748,10 +236929,10 @@ webhooks: type: string enum: - queued - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: type: object @@ -236897,7 +237078,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *508 + deployment: *510 required: - action - repository @@ -236976,10 +237157,10 @@ webhooks: type: string enum: - waiting - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 workflow_job: type: object @@ -237126,7 +237307,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *508 + deployment: *510 required: - action - repository @@ -237206,12 +237387,12 @@ webhooks: type: string enum: - completed - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *783 + workflow: *785 workflow_run: title: Workflow Run type: object @@ -238230,12 +238411,12 @@ webhooks: type: string enum: - in_progress - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *783 + workflow: *785 workflow_run: title: Workflow Run type: object @@ -239239,12 +239420,12 @@ webhooks: type: string enum: - requested - enterprise: *761 - installation: *762 - organization: *763 - repository: *764 + enterprise: *763 + installation: *764 + organization: *765 + repository: *766 sender: *4 - workflow: *783 + workflow: *785 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index 5952fe6e2b..fe1140d7b1 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -8593,6 +8593,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", @@ -12117,15 +12296,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": [ { @@ -12186,15 +12365,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": [ { @@ -12280,7 +12459,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" ], @@ -119231,6 +119410,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": { @@ -300178,6 +300425,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, @@ -330537,6 +330810,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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index d8e078851f..4c3cfbd7e0 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -6080,6 +6080,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 @@ -8585,9 +8705,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. @@ -8596,7 +8716,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 @@ -8636,9 +8756,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. @@ -8655,7 +8776,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: @@ -8711,13 +8832,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 @@ -86422,6 +86543,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: @@ -221018,6 +221188,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 @@ -247072,6 +247257,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-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 5952fe6e2b..fe1140d7b1 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -8593,6 +8593,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", @@ -12117,15 +12296,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": [ { @@ -12186,15 +12365,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": [ { @@ -12280,7 +12459,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" ], @@ -119231,6 +119410,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": { @@ -300178,6 +300425,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, @@ -330537,6 +330810,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-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index d8e078851f..4c3cfbd7e0 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -6080,6 +6080,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 @@ -8585,9 +8705,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. @@ -8596,7 +8716,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 @@ -8636,9 +8756,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. @@ -8655,7 +8776,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: @@ -8711,13 +8832,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 @@ -86422,6 +86543,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: @@ -221018,6 +221188,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 @@ -247072,6 +247257,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: