diff --git a/tests/test_commands/conftest.py b/tests/test_commands/conftest.py index 392f9e5f..f7e9a817 100644 --- a/tests/test_commands/conftest.py +++ b/tests/test_commands/conftest.py @@ -50,7 +50,8 @@ ItemType.REFLEX, ItemType.REPORT, ItemType.SQL_DATABASE, ItemType.SEMANTIC_MODEL, ItemType.SPARK_JOB_DEFINITION, ItemType.WAREHOUSE, ItemType.COPYJOB, - ItemType.GRAPHQLAPI, ItemType.DATAFLOW, + ItemType.GRAPHQLAPI, ItemType.DATAFLOW, ItemType.COSMOS_DB_DATABASE, + ItemType.USER_DATA_FUNCTION, ItemType.DIGITAL_TWIN_BUILDER, ItemType.GRAPH_QUERY_SET, ]) basic_item_parametrize = pytest.mark.parametrize("item_type", [ @@ -267,7 +268,8 @@ def workspace(vcr_instance, test_data): workspace_name = f"{display_name}.Workspace" workspace_path = f"/{workspace_name}" - mkdir(workspace_path, params=[f"capacityName={test_data.capacity.name}"]) + mkdir(workspace_path, params=[ + f"capacityName={test_data.capacity.name}"]) yield EntityMetadata(display_name, workspace_name, workspace_path) rm(workspace_path) @@ -292,7 +294,8 @@ def _create_item( generated_name = custom_name else: # Use the test's specific recording file - generated_name = generate_random_string(vcr_instance, cassette_name) + generated_name = generate_random_string( + vcr_instance, cassette_name) item_name = f"{generated_name}.{type}" item_path = cli_path_join(path, item_name) @@ -318,7 +321,8 @@ def _create_item( @pytest.fixture def folder_factory(vcr_instance, cassette_name, workspace): # Keep track of all folders created during this test - current_config = state_config.get_config(fab_constant.FAB_FOLDER_LISTING_ENABLED) + current_config = state_config.get_config( + fab_constant.FAB_FOLDER_LISTING_ENABLED) state_config.set_config(fab_constant.FAB_FOLDER_LISTING_ENABLED, "true") created_folders = [] @@ -348,7 +352,8 @@ def _create_folder( for metadata in reversed(created_folders): rm(metadata.full_path) - state_config.set_config(fab_constant.FAB_FOLDER_LISTING_ENABLED, current_config) + state_config.set_config( + fab_constant.FAB_FOLDER_LISTING_ENABLED, current_config) @pytest.fixture @@ -374,7 +379,8 @@ def _create_virtual_item( """ generated_name = generate_random_string(vcr_instance, cassette_name) virtual_item_name = f"{generated_name}.{str(VICMap[type])}" - virtual_item_path = cli_path_join(workspace_path, str(type), virtual_item_name) + virtual_item_path = cli_path_join( + workspace_path, str(type), virtual_item_name) match type: @@ -427,7 +433,8 @@ def _create_virtual_item( mkdir(virtual_item_path, params) # Build the metadata for the created resource - metadata = EntityMetadata(generated_name, virtual_item_name, virtual_item_path) + metadata = EntityMetadata( + generated_name, virtual_item_name, virtual_item_path) if should_clean: created_virtual_items.append(metadata) return metadata @@ -457,10 +464,12 @@ def _create_workspace(special_character=None): workspace_name = f"{generated_name}.Workspace" workspace_path = f"/{workspace_name}" - mkdir(workspace_path, params=[f"capacityName={test_data.capacity.name}"]) + mkdir(workspace_path, params=[ + f"capacityName={test_data.capacity.name}"]) # Build the metadata for the created resource - metadata = EntityMetadata(generated_name, workspace_name, workspace_path) + metadata = EntityMetadata( + generated_name, workspace_name, workspace_path) created_workspaces.append(metadata) return metadata @@ -565,7 +574,8 @@ def delete_cassette_if_record_mode_all(vcr_instance, cassette_name): :param cassette_name: The name of the cassette file. """ if vcr_instance.record_mode == "all": - cassette_path = os.path.join(vcr_instance.cassette_library_dir, cassette_name) + cassette_path = os.path.join( + vcr_instance.cassette_library_dir, cassette_name) if os.path.exists(cassette_path): os.remove(cassette_path) @@ -673,7 +683,8 @@ def setup_config_values_for_capacity(test_data: StaticTestData): fab_default_az_location = state_config.get_config( fab_constant.FAB_DEFAULT_AZ_LOCATION ) - fab_default_az_admin = state_config.get_config(fab_constant.FAB_DEFAULT_AZ_ADMIN) + fab_default_az_admin = state_config.get_config( + fab_constant.FAB_DEFAULT_AZ_ADMIN) # Setup new values state_config.set_config( @@ -687,7 +698,8 @@ def setup_config_values_for_capacity(test_data: StaticTestData): state_config.set_config( fab_constant.FAB_DEFAULT_AZ_LOCATION, test_data.azure_location ) - state_config.set_config(fab_constant.FAB_DEFAULT_AZ_ADMIN, test_data.admin.upn) + state_config.set_config( + fab_constant.FAB_DEFAULT_AZ_ADMIN, test_data.admin.upn) yield @@ -701,7 +713,8 @@ def setup_config_values_for_capacity(test_data: StaticTestData): state_config.set_config( fab_constant.FAB_DEFAULT_AZ_LOCATION, fab_default_az_location ) - state_config.set_config(fab_constant.FAB_DEFAULT_AZ_ADMIN, fab_default_az_admin) + state_config.set_config( + fab_constant.FAB_DEFAULT_AZ_ADMIN, fab_default_az_admin) # endregion diff --git a/tests/test_commands/recordings/test_commands/test_get/class_setup.yaml b/tests/test_commands/recordings/test_commands/test_get/class_setup.yaml index 836e2d5c..7d7a54d4 100644 --- a/tests/test_commands/recordings/test_commands/test_get/class_setup.yaml +++ b/tests/test_commands/recordings/test_commands/test_get/class_setup.yaml @@ -11,12 +11,12 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.1.0 (None; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"value": [{"id": "94da8ea5-0bd6-4a9e-b717-5fdb482f4c71", "displayName": + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": "My workspace", "description": "", "type": "Personal"}]}' headers: Access-Control-Expose-Headers: @@ -26,15 +26,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '532' + - '2425' Content-Type: - application/json; charset=utf-8 Date: - - Sun, 14 Sep 2025 06:51:57 GMT + - Tue, 03 Feb 2026 08:59:57 GMT Pragma: - no-cache RequestId: - - 3cde1632-ad04-4dab-b36d-9ec872116b3b + - 2841cd96-b30f-49ab-89b8-67f8c53fb4e8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -42,7 +42,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -60,12 +60,12 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.1.0 (None; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"value": [{"id": "94da8ea5-0bd6-4a9e-b717-5fdb482f4c71", "displayName": + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": "My workspace", "description": "", "type": "Personal"}]}' headers: Access-Control-Expose-Headers: @@ -75,15 +75,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '532' + - '2425' Content-Type: - application/json; charset=utf-8 Date: - - Sun, 14 Sep 2025 06:51:58 GMT + - Tue, 03 Feb 2026 08:59:57 GMT Pragma: - no-cache RequestId: - - 4b9f0c85-cefe-413e-9de6-04c645dfc44e + - c3a4db99-eb9d-4139-91b6-1ee5d7b5efbe Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -91,7 +91,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -109,13 +109,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.1.0 (None; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/capacities response: body: string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": - "mocked_fabriccli_capacity_name", "sku": "F16", "region": "West Europe", "state": + "mocked_fabriccli_capacity_name", "sku": "F16", "region": "Central US", "state": "Active"}]}' headers: Access-Control-Expose-Headers: @@ -125,15 +125,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '456' + - '425' Content-Type: - application/json; charset=utf-8 Date: - - Sun, 14 Sep 2025 06:52:05 GMT + - Tue, 03 Feb 2026 09:00:04 GMT Pragma: - no-cache RequestId: - - eb466c04-21ca-471a-b144-0996ffca055d + - 493fc640-9156-43c6-9416-50201f37fa27 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -141,7 +141,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -162,12 +162,12 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.1.0 (None; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (None; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: POST uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"id": "4bd4d574-c64f-4ced-a2c0-25cc4e6f03c6", "displayName": "fabriccli_WorkspacePerTestclass_000001", + string: '{"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}' headers: Access-Control-Expose-Headers: @@ -177,17 +177,17 @@ interactions: Content-Encoding: - gzip Content-Length: - - '187' + - '188' Content-Type: - application/json; charset=utf-8 Date: - - Sun, 14 Sep 2025 06:52:17 GMT + - Tue, 03 Feb 2026 09:00:15 GMT Location: - - https://api.fabric.microsoft.com/v1/workspaces/4bd4d574-c64f-4ced-a2c0-25cc4e6f03c6 + - https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b Pragma: - no-cache RequestId: - - d0ad7c38-0c81-42ca-9f55-6d3ed86ccb86 + - 366ef942-cbfb-4f03-b3b0-f669c613b287 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -195,7 +195,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -213,13 +213,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.1.0 (get; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (get; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET uri: https://api.fabric.microsoft.com/v1/workspaces response: body: - string: '{"value": [{"id": "94da8ea5-0bd6-4a9e-b717-5fdb482f4c71", "displayName": - "My workspace", "description": "", "type": "Personal"}, {"id": "4bd4d574-c64f-4ced-a2c0-25cc4e6f03c6", + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' headers: @@ -230,15 +230,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '567' + - '2458' Content-Type: - application/json; charset=utf-8 Date: - - Sun, 14 Sep 2025 06:56:38 GMT + - Tue, 03 Feb 2026 09:08:18 GMT Pragma: - no-cache RequestId: - - 09265cc3-c8d5-475d-92b6-cb3c54e65a34 + - 1c7f133b-6b6b-4573-9263-037ebc02ded0 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -246,7 +246,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -264,12 +264,23 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.1.0 (get; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (get; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: GET - uri: https://api.fabric.microsoft.com/v1/workspaces/4bd4d574-c64f-4ced-a2c0-25cc4e6f03c6/items + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items response: body: - string: '{"value": []}' + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' headers: Access-Control-Expose-Headers: - RequestId @@ -278,15 +289,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '32' + - '342' Content-Type: - application/json; charset=utf-8 Date: - - Sun, 14 Sep 2025 06:56:38 GMT + - Tue, 03 Feb 2026 09:08:19 GMT Pragma: - no-cache RequestId: - - d31a7ac1-8196-47d8-9c1b-152c8b29ccc8 + - 05fd1aa6-c167-4ecd-b6c9-b2df99b839b9 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -294,7 +305,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -314,9 +325,9 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli/1.1.0 (get; Linux; x86_64; 5.15.167.4-microsoft-standard-WSL2) + - ms-fabric-cli/1.3.1 (get; Linux; x86_64; 6.6.87.2-microsoft-standard-WSL2) method: DELETE - uri: https://api.fabric.microsoft.com/v1/workspaces/4bd4d574-c64f-4ced-a2c0-25cc4e6f03c6 + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b response: body: string: '' @@ -332,11 +343,11 @@ interactions: Content-Type: - application/octet-stream Date: - - Sun, 14 Sep 2025 06:56:38 GMT + - Tue, 03 Feb 2026 09:08:20 GMT Pragma: - no-cache RequestId: - - 5a7ac16c-5386-42f9-a450-b16c53df34b5 + - 5e1aceb5-eb2f-4856-8f2e-dd6162b0180d Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -344,7 +355,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[CopyJob].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[CopyJob].yaml new file mode 100644 index 00000000..4112b364 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[CopyJob].yaml @@ -0,0 +1,611 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:43 GMT + Pragma: + - no-cache + RequestId: + - 8a56216a-3e26-472b-aabb-f45735729164 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:44 GMT + Pragma: + - no-cache + RequestId: + - 1747aaaa-6d59-40d3-b9bc-d2b43a6bd6f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:45 GMT + Pragma: + - no-cache + RequestId: + - 7eb519a4-aa0b-4d8d-ae3e-374fb4d7f04d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CopyJob", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '105' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/copyJobs + response: + body: + string: '{"id": "0ae0b7b7-01de-4b28-84fb-de2c62dbf770", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '163' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:51 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - eedcb095-5f22-4162-a44f-ed1bb6bd1720 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:51 GMT + Pragma: + - no-cache + RequestId: + - fef410ba-e17c-43f1-b0c4-7be4fadc0e7f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "0ae0b7b7-01de-4b28-84fb-de2c62dbf770", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '239' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:52 GMT + Pragma: + - no-cache + RequestId: + - 4e92801f-fc7c-496e-bd02-658e5fbf3fcf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/copyJobs/0ae0b7b7-01de-4b28-84fb-de2c62dbf770 + response: + body: + string: '{"id": "0ae0b7b7-01de-4b28-84fb-de2c62dbf770", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '163' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:52 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 787ad33f-ad4c-4a73-b306-29a4b4882774 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/0ae0b7b7-01de-4b28-84fb-de2c62dbf770/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "copyjob-content.json", "payload": + "ewogICJwcm9wZXJ0aWVzIjogewogICAgImpvYk1vZGUiOiAiQmF0Y2giCiAgfSwKICAiYWN0aXZpdGllcyI6IFtdCn0=", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkNvcHlKb2IiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '476' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:54 GMT + Pragma: + - no-cache + RequestId: + - 7bb3fe57-c937-4e69-9c52-6ba5cc0bf42a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/0ae0b7b7-01de-4b28-84fb-de2c62dbf770/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:55 GMT + Pragma: + - no-cache + RequestId: + - 279f4ad2-95ce-4fba-bb02-f5e0419c9b9e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:56 GMT + Pragma: + - no-cache + RequestId: + - 6b567c07-5757-4126-8f6f-651ef4cd2bfe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "0ae0b7b7-01de-4b28-84fb-de2c62dbf770", "type": "CopyJob", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '239' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:57 GMT + Pragma: + - no-cache + RequestId: + - aeb4c167-8c4e-4672-a4fe-88f9c7cf4f66 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/0ae0b7b7-01de-4b28-84fb-de2c62dbf770 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:49:58 GMT + Pragma: + - no-cache + RequestId: + - 08930625-ecc2-4fca-af0f-8ce2316a6b0c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[CosmosDBDatabase].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[CosmosDBDatabase].yaml new file mode 100644 index 00000000..c84dcbd8 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[CosmosDBDatabase].yaml @@ -0,0 +1,858 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:20 GMT + Pragma: + - no-cache + RequestId: + - daff385a-6123-4fbd-a977-08c6a22a1df4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '342' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:21 GMT + Pragma: + - no-cache + RequestId: + - 536befda-708a-49ab-a7d6-dfeb0bc98e4f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '342' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:22 GMT + Pragma: + - no-cache + RequestId: + - f9d23a06-9278-4ec4-a762-39cf54e18532 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CosmosDBDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/cosmosDbDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:23 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/666bdba0-317b-47af-b916-dc686815bb91 + Pragma: + - no-cache + RequestId: + - 1d0be6c8-78e7-4eb0-9d56-d58901e35c68 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 666bdba0-317b-47af-b916-dc686815bb91 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/666bdba0-317b-47af-b916-dc686815bb91 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:07:23.5292796", + "lastUpdatedTimeUtc": "2026-02-03T09:07:30.6721413", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:45 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/666bdba0-317b-47af-b916-dc686815bb91/result + Pragma: + - no-cache + RequestId: + - 326206a8-c587-4670-accc-a7caeb893185 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 666bdba0-317b-47af-b916-dc686815bb91 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/666bdba0-317b-47af-b916-dc686815bb91/result + response: + body: + string: '{"id": "1cb6fcfd-d74f-483a-9deb-eadd3b36430d", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:07:46 GMT + Pragma: + - no-cache + RequestId: + - a0cfd460-108b-4dd8-96ef-aad76badfb12 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:47 GMT + Pragma: + - no-cache + RequestId: + - 7ca3e68e-d4e3-45b0-824d-70602b408e08 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "cfd652d5-932e-4fd0-b825-dac84d4a05d7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "1cb6fcfd-d74f-483a-9deb-eadd3b36430d", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '430' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:49 GMT + Pragma: + - no-cache + RequestId: + - e98116b5-f359-47a3-9fed-6e4f842db54b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/cosmosDbDatabases/1cb6fcfd-d74f-483a-9deb-eadd3b36430d + response: + body: + string: '{"id": "1cb6fcfd-d74f-483a-9deb-eadd3b36430d", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:49 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c6778364-542a-415e-8dd8-d25c93d59af7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/1cb6fcfd-d74f-483a-9deb-eadd3b36430d/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:50 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ed3fade2-ae59-482f-948d-2b1a59129b27 + Pragma: + - no-cache + RequestId: + - 1b2b422e-2637-4bc0-b95b-518e6425dfc0 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - ed3fade2-ae59-482f-948d-2b1a59129b27 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ed3fade2-ae59-482f-948d-2b1a59129b27 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:07:51.2056641", + "lastUpdatedTimeUtc": "2026-02-03T09:07:51.9400317", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '129' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:08:13 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ed3fade2-ae59-482f-948d-2b1a59129b27/result + Pragma: + - no-cache + RequestId: + - 6eaecf68-7d7e-4887-bb70-681681476bd7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - ed3fade2-ae59-482f-948d-2b1a59129b27 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ed3fade2-ae59-482f-948d-2b1a59129b27/result + response: + body: + string: '{"definition": {"parts": [{"path": "definition.json", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL0Nvc21vc0RCL2RlZmluaXRpb24vQ29zbW9zREIvMi4wLjAvc2NoZW1hLmpzb24iLAogICJjb250YWluZXJzIjogW10KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkNvc21vc0RCRGF0YWJhc2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:08:13 GMT + Pragma: + - no-cache + RequestId: + - f5096131-f7b6-422f-8c4a-7519c770b844 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/1cb6fcfd-d74f-483a-9deb-eadd3b36430d/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:08:15 GMT + Pragma: + - no-cache + RequestId: + - 6e86418c-d741-4779-9f8d-c9c4fca507c9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:08:15 GMT + Pragma: + - no-cache + RequestId: + - 9d90988c-7c6c-4f23-a05d-06a693c32fce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "cfd652d5-932e-4fd0-b825-dac84d4a05d7", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "1cb6fcfd-d74f-483a-9deb-eadd3b36430d", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '430' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:08:16 GMT + Pragma: + - no-cache + RequestId: + - aba77bda-eeb3-4967-aa44-fe1f722b5971 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/1cb6fcfd-d74f-483a-9deb-eadd3b36430d + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:08:17 GMT + Pragma: + - no-cache + RequestId: + - b6264730-75bf-4f89-b90e-84944f9224e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[DataPipeline].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[DataPipeline].yaml new file mode 100644 index 00000000..170102d7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[DataPipeline].yaml @@ -0,0 +1,657 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:36:55 GMT + Pragma: + - no-cache + RequestId: + - a17f5896-ef89-4290-9027-d9128e6de7b6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:36:57 GMT + Pragma: + - no-cache + RequestId: + - ee64f9d2-9d6b-475c-a6bb-4dc8d898bbc0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:36:57 GMT + Pragma: + - no-cache + RequestId: + - 8afea162-3892-4d7d-b717-1dea5cb5b3a6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DataPipeline", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/dataPipelines + response: + body: + string: '{"id": "21ff3257-f780-4e4b-87ef-19cad23c28ce", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:03 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 87ad5c4b-f694-4289-8d0d-4885eb1dbb91 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:04 GMT + Pragma: + - no-cache + RequestId: + - 62839290-50ea-4af5-8d57-4ccef0b8834a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "21ff3257-f780-4e4b-87ef-19cad23c28ce", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:05 GMT + Pragma: + - no-cache + RequestId: + - c858d240-1d67-47a5-b940-18d62a5a03e9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/dataPipelines/21ff3257-f780-4e4b-87ef-19cad23c28ce + response: + body: + string: '{"id": "21ff3257-f780-4e4b-87ef-19cad23c28ce", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:07 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5ae126b0-42f6-432f-953d-8280a7ede94f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/21ff3257-f780-4e4b-87ef-19cad23c28ce/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "pipeline-content.json", "payload": + "ewogICJwcm9wZXJ0aWVzIjogewogICAgImFjdGl2aXRpZXMiOiBbXQogIH0KfQ==", "payloadType": + "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRhdGFQaXBlbGluZSIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:07 GMT + Pragma: + - no-cache + RequestId: + - 75e0d0e6-19ef-4df5-8ea7-c8e0b5689d74 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/21ff3257-f780-4e4b-87ef-19cad23c28ce/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:08 GMT + Pragma: + - no-cache + RequestId: + - 237a398a-8c30-4e43-ac26-1b5621dc27e3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/21ff3257-f780-4e4b-87ef-19cad23c28ce/jobs/Pipeline/schedules + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:10 GMT + Pragma: + - no-cache + RequestId: + - 0becbce0-49c9-45d6-85d5-3a3ca575bd4b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:10 GMT + Pragma: + - no-cache + RequestId: + - dfbad6c8-6e30-4763-b671-96e0e5ceda3b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "21ff3257-f780-4e4b-87ef-19cad23c28ce", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:10 GMT + Pragma: + - no-cache + RequestId: + - 5dc5b47a-7dcb-419e-9360-75b6d1453287 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/21ff3257-f780-4e4b-87ef-19cad23c28ce + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:37:11 GMT + Pragma: + - no-cache + RequestId: + - 1b95963c-32c3-4d22-865c-d4dab22e5d5a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Dataflow].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Dataflow].yaml new file mode 100644 index 00000000..a9b4a1ad --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Dataflow].yaml @@ -0,0 +1,617 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:33 GMT + Pragma: + - no-cache + RequestId: + - deb18a79-b4fa-4c20-9786-a46fc1fa6401 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:34 GMT + Pragma: + - no-cache + RequestId: + - b7b8c30e-e4da-45ee-a091-58f21abf554e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:34 GMT + Pragma: + - no-cache + RequestId: + - 017a1f11-35eb-4e32-87fc-361aac9aab71 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Dataflow", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '106' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/dataflows + response: + body: + string: '{"id": "0b062e8c-57f6-43ea-8c58-bacf4c97fae0", "type": "Dataflow", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:37 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 480f6f99-f714-42ed-a18b-774742811b8c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:38 GMT + Pragma: + - no-cache + RequestId: + - 42e02ba8-6cb4-4f52-8f4b-999c7c6c255a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "0b062e8c-57f6-43ea-8c58-bacf4c97fae0", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '240' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:39 GMT + Pragma: + - no-cache + RequestId: + - 94f8c7b6-ba16-42fe-9930-b96da2d111f1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/dataflows/0b062e8c-57f6-43ea-8c58-bacf4c97fae0 + response: + body: + string: '{"id": "0b062e8c-57f6-43ea-8c58-bacf4c97fae0", "type": "Dataflow", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"isParametric": false}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '189' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:40 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0ade90e7-caa9-4465-a736-a497a3872a53 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/0b062e8c-57f6-43ea-8c58-bacf4c97fae0/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "queryMetadata.json", "payload": + "ewogICJmb3JtYXRWZXJzaW9uIjogIjIwMjUwMiIsCiAgImNvbXB1dGVFbmdpbmVTZXR0aW5ncyI6IHsKICAgICJhbGxvd0Zhc3RDb3B5IjogZmFsc2UKICB9LAogICJuYW1lIjogbnVsbCwKICAiYWxsb3dOYXRpdmVRdWVyaWVzIjogZmFsc2UKfQ==", + "payloadType": "InlineBase64"}, {"path": "mashup.pq", "payload": "c2VjdGlvbiBTZWN0aW9uMTs=", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRhdGFmbG93IiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '557' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:42 GMT + Pragma: + - no-cache + RequestId: + - 35e1ea45-32fb-4809-9c3e-8d36ca65c029 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/0b062e8c-57f6-43ea-8c58-bacf4c97fae0/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:43 GMT + Pragma: + - no-cache + RequestId: + - e8dfd807-1aef-4260-abd5-f471f5e76442 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:44 GMT + Pragma: + - no-cache + RequestId: + - b05b9fdf-8fdd-4a1a-9705-81d890a560c3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "0b062e8c-57f6-43ea-8c58-bacf4c97fae0", "type": "Dataflow", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '301' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:44 GMT + Pragma: + - no-cache + RequestId: + - 0f885a5b-80a5-4799-adc7-9e4296a12f54 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/0b062e8c-57f6-43ea-8c58-bacf4c97fae0 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:50:46 GMT + Pragma: + - no-cache + RequestId: + - b40eb6da-eca1-43c9-914e-f29a05a79e5a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[DigitalTwinBuilder].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[DigitalTwinBuilder].yaml new file mode 100644 index 00000000..23a67fe9 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[DigitalTwinBuilder].yaml @@ -0,0 +1,698 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:11 GMT + Pragma: + - no-cache + RequestId: + - 89a149de-7a86-4068-a407-ba1f702a0404 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '281' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:12 GMT + Pragma: + - no-cache + RequestId: + - 52d36671-bc53-4097-9b0b-560a7cc78ca2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '281' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:13 GMT + Pragma: + - no-cache + RequestId: + - befa5227-61aa-4a17-92d4-39a874b14928 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DigitalTwinBuilder", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/digitalTwinBuilders + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:15 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c7e7227e-e4dc-4784-af8b-9c7b48383712 + Pragma: + - no-cache + RequestId: + - 3159b070-261d-477d-b46e-b50e99ddec65 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - c7e7227e-e4dc-4784-af8b-9c7b48383712 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c7e7227e-e4dc-4784-af8b-9c7b48383712 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:06:14.7570428", + "lastUpdatedTimeUtc": "2026-02-03T09:06:21.2584818", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:38 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c7e7227e-e4dc-4784-af8b-9c7b48383712/result + Pragma: + - no-cache + RequestId: + - 26967ef3-c823-4953-9b3d-208af6da50e2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - c7e7227e-e4dc-4784-af8b-9c7b48383712 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c7e7227e-e4dc-4784-af8b-9c7b48383712/result + response: + body: + string: '{"id": "cf2da059-95f1-4636-b454-89dd758f8065", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:06:38 GMT + Pragma: + - no-cache + RequestId: + - e3408cdd-8bef-4b28-bd33-fbf036bacb9c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:39 GMT + Pragma: + - no-cache + RequestId: + - c37fa47a-7b9e-4699-8b8b-9387f9c41ed5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "cf2da059-95f1-4636-b454-89dd758f8065", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, {"id": "7d4614b9-4035-41b2-b204-d34dc5653044", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '443' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:40 GMT + Pragma: + - no-cache + RequestId: + - 98a1c370-6076-4666-9e51-88ee19fe2779 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/digitalTwinBuilders/cf2da059-95f1-4636-b454-89dd758f8065 + response: + body: + string: '{"id": "cf2da059-95f1-4636-b454-89dd758f8065", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '174' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:40 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8b547994-85c9-4745-a3ab-da7b484fdaf3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/cf2da059-95f1-4636-b454-89dd758f8065/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:41 GMT + Pragma: + - no-cache + RequestId: + - b2877927-c6e9-4539-961d-8e3a8297732a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:43 GMT + Pragma: + - no-cache + RequestId: + - 112a7532-dda7-4f31-882c-3adaad0e1829 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "cf2da059-95f1-4636-b454-89dd758f8065", "type": "DigitalTwinBuilder", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", + "type": "Lakehouse", "displayName": "fabcli000001dtdm", "description": "", + "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, {"id": "7d4614b9-4035-41b2-b204-d34dc5653044", + "type": "DigitalTwinBuilderFlow", "displayName": "fabcli000001OnDemand", "description": + "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '443' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:43 GMT + Pragma: + - no-cache + RequestId: + - de179b63-73df-48cd-98ea-658ab6bf466e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/cf2da059-95f1-4636-b454-89dd758f8065 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:06:44 GMT + Pragma: + - no-cache + RequestId: + - 49d8b240-a110-4c02-a926-673887b343b5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Environment].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Environment].yaml new file mode 100644 index 00000000..2f12cbcd --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Environment].yaml @@ -0,0 +1,744 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:12 GMT + Pragma: + - no-cache + RequestId: + - 111232ff-7866-4540-a8eb-997e1548801a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:13 GMT + Pragma: + - no-cache + RequestId: + - 7f60d1d8-4ace-4a7f-adb6-bae1eb8237ba + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:14 GMT + Pragma: + - no-cache + RequestId: + - e2072f9a-3351-4ecf-9038-69a5646f4ddf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Environment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments + response: + body: + string: '{"id": "a516e15b-0abe-411e-801f-845d03cef133", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:15 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 681250fd-7344-4000-b3e5-7d36bf3a1ae1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:17 GMT + Pragma: + - no-cache + RequestId: + - 2ff38b48-1f07-402f-8f56-4b0fec25d815 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "a516e15b-0abe-411e-801f-845d03cef133", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:18 GMT + Pragma: + - no-cache + RequestId: + - 31fafa70-b958-4595-abc0-07036c395d8e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/a516e15b-0abe-411e-801f-845d03cef133 + response: + body: + string: '{"id": "a516e15b-0abe-411e-801f-845d03cef133", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"publishDetails": {"state": + "Success", "targetVersion": "2dafb21a-c8ca-4383-9e5d-079cba9bd854", "startTime": + "2026-01-28T13:37:16.4991502Z", "endTime": "2026-01-28T13:37:16.4991502Z", + "componentPublishInfo": {"sparkSettings": {"state": "Success"}, "sparkLibraries": + {"state": "Success"}}}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '314' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:18 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f9de4178-d73b-4fd6-82ba-54d60a7aac3d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/a516e15b-0abe-411e-801f-845d03cef133/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:20 GMT + Pragma: + - no-cache + RequestId: + - 7e643410-c27d-446d-869c-edfbc2ee531b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/a516e15b-0abe-411e-801f-845d03cef133/libraries + response: + body: + string: '{"requestId": "05016714-d6d0-4717-b9d9-b62f25f83bb8", "errorCode": + "EnvironmentLibrariesNotFound", "message": "This environment does not have + any published libraries. Please publish libraries."}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '189' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:20 GMT + RequestId: + - 05016714-d6d0-4717-b9d9-b62f25f83bb8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-public-api-error-code: + - EnvironmentLibrariesNotFound + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/a516e15b-0abe-411e-801f-845d03cef133/staging/libraries + response: + body: + string: '{"requestId": "fb08f831-5866-4f93-aca1-26540824ad72", "errorCode": + "EnvironmentLibrariesNotFound", "message": "This environment does not have + any staged libraries. Please upload libraries."}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:22 GMT + RequestId: + - fb08f831-5866-4f93-aca1-26540824ad72 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-public-api-error-code: + - EnvironmentLibrariesNotFound + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/a516e15b-0abe-411e-801f-845d03cef133/sparkcompute + response: + body: + string: '{"instancePool": {"name": "Starter Pool", "type": "Workspace", "id": + "00000000-0000-0000-0000-000000000000"}, "driverCores": 8, "driverMemory": + "56g", "executorCores": 8, "executorMemory": "56g", "dynamicExecutorAllocation": + {"enabled": true, "minExecutors": 1, "maxExecutors": 9}, "sparkProperties": + {}, "runtimeVersion": "1.3"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:22 GMT + RequestId: + - fc1af281-c86b-4d1c-97fa-469767f41c74 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/a516e15b-0abe-411e-801f-845d03cef133/staging/sparkcompute + response: + body: + string: '{"instancePool": {"name": "Starter Pool", "type": "Workspace", "id": + "00000000-0000-0000-0000-000000000000"}, "driverCores": 8, "driverMemory": + "56g", "executorCores": 8, "executorMemory": "56g", "dynamicExecutorAllocation": + {"enabled": true, "minExecutors": 1, "maxExecutors": 9}, "sparkProperties": + {}, "runtimeVersion": "1.3"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:23 GMT + RequestId: + - 523c2bd9-0242-40a0-9888-8d847dc4ad82 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:25 GMT + Pragma: + - no-cache + RequestId: + - 918987a5-8d0a-4eac-b0ec-2b86172a1e43 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "a516e15b-0abe-411e-801f-845d03cef133", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:25 GMT + Pragma: + - no-cache + RequestId: + - cc06d587-6461-4bb3-bf0b-da6debff1418 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/a516e15b-0abe-411e-801f-845d03cef133 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:37:26 GMT + Pragma: + - no-cache + RequestId: + - 678893d3-d89b-4fe0-a7dc-df79df0e4d62 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Eventhouse].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Eventhouse].yaml new file mode 100644 index 00000000..93c32994 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Eventhouse].yaml @@ -0,0 +1,715 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:26 GMT + Pragma: + - no-cache + RequestId: + - 27522042-08dc-41d4-8226-1228e5d924bc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:26 GMT + Pragma: + - no-cache + RequestId: + - 30444bc4-1f63-43f1-8b24-dec468e4a9c2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:28 GMT + Pragma: + - no-cache + RequestId: + - 2cff0cab-d8b7-4c09-b9c6-30d14a05f7b7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Eventhouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/eventhouses + response: + body: + string: '{"id": "412cbc1e-e5a8-421f-ac3d-f059dcfc34e8", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:31 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0fe5c417-4731-4dc9-ab92-3eced8066c32 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:32 GMT + Pragma: + - no-cache + RequestId: + - a4248c44-2f7a-4cd4-9388-c353bcf9b8e8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "412cbc1e-e5a8-421f-ac3d-f059dcfc34e8", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "2e39941d-731c-4c9f-92c6-58c1e03db708", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '229' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:32 GMT + Pragma: + - no-cache + RequestId: + - 9275c842-acaa-4450-bc5d-26ba55b59444 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/eventhouses/412cbc1e-e5a8-421f-ac3d-f059dcfc34e8 + response: + body: + string: '{"id": "412cbc1e-e5a8-421f-ac3d-f059dcfc34e8", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"queryServiceUri": + "https://trd-brnetu75fqcdgvauzs.z1.kusto.fabric.microsoft.com", "ingestionServiceUri": + "https://ingest-trd-brnetu75fqcdgvauzs.z1.kusto.fabric.microsoft.com", "databasesItemIds": + ["2e39941d-731c-4c9f-92c6-58c1e03db708"], "minimumConsumptionUnits": 0.0}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '317' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:34 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b101e92d-4881-48e2-9f0a-2886e955be98 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/412cbc1e-e5a8-421f-ac3d-f059dcfc34e8/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:35 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/69453a67-5d68-482d-b50c-3f9b23cb700f + Pragma: + - no-cache + RequestId: + - efdbcb20-ed95-48c6-9967-40c249d825d3 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 69453a67-5d68-482d-b50c-3f9b23cb700f + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/69453a67-5d68-482d-b50c-3f9b23cb700f + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:37:36.1501771", + "lastUpdatedTimeUtc": "2026-01-28T13:37:44.9970473", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:57 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/69453a67-5d68-482d-b50c-3f9b23cb700f/result + Pragma: + - no-cache + RequestId: + - e171de8b-a170-4f67-a3e7-db557ba1c71c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 69453a67-5d68-482d-b50c-3f9b23cb700f + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/69453a67-5d68-482d-b50c-3f9b23cb700f/result + response: + body: + string: '{"definition": {"parts": [{"path": "EventhouseProperties.json", "payload": + "e30=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkV2ZW50aG91c2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:37:58 GMT + Pragma: + - no-cache + RequestId: + - cf81101d-9735-4786-975f-44076931808e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/412cbc1e-e5a8-421f-ac3d-f059dcfc34e8/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:37:59 GMT + Pragma: + - no-cache + RequestId: + - 2f0331ac-13f4-453b-938f-e99511afefce + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:00 GMT + Pragma: + - no-cache + RequestId: + - 6ba4eae9-2a25-46cc-a886-14cf0e10ba53 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "412cbc1e-e5a8-421f-ac3d-f059dcfc34e8", "type": "Eventhouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "2e39941d-731c-4c9f-92c6-58c1e03db708", + "type": "KQLDatabase", "displayName": "fabcli000001", "description": "fabcli000001", + "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '229' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:00 GMT + Pragma: + - no-cache + RequestId: + - 1d95ebdc-71ac-4aa2-b102-2abb73258a0b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/412cbc1e-e5a8-421f-ac3d-f059dcfc34e8 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:38:02 GMT + Pragma: + - no-cache + RequestId: + - 01fdd3b6-344b-44a3-8ee1-e03869eddc42 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Eventstream].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Eventstream].yaml new file mode 100644 index 00000000..02bef0f2 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Eventstream].yaml @@ -0,0 +1,710 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:03 GMT + Pragma: + - no-cache + RequestId: + - 2ca492ec-c876-4870-a4da-7e1e42c72f80 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:03 GMT + Pragma: + - no-cache + RequestId: + - 528e08e1-a364-441e-9ed0-4b257fd5cffa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:05 GMT + Pragma: + - no-cache + RequestId: + - ffc4d859-7ef1-471d-8158-31139af197d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Eventstream", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/eventstreams + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:06 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/75914e4c-0061-4cc3-b119-e82e6f71509d + Pragma: + - no-cache + RequestId: + - 4ea07a74-4bac-4d12-8e34-2b56b2abb2e9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 75914e4c-0061-4cc3-b119-e82e6f71509d + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/75914e4c-0061-4cc3-b119-e82e6f71509d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:38:06.1281021", + "lastUpdatedTimeUtc": "2026-01-28T13:38:09.8787526", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:27 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/75914e4c-0061-4cc3-b119-e82e6f71509d/result + Pragma: + - no-cache + RequestId: + - e482c342-bf2e-48a8-ac67-829ecf9d8c38 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 75914e4c-0061-4cc3-b119-e82e6f71509d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/75914e4c-0061-4cc3-b119-e82e6f71509d/result + response: + body: + string: '{"id": "4f6f4437-1d3e-405f-bbb6-140e3a2e4c6c", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:38:28 GMT + Pragma: + - no-cache + RequestId: + - 7f2e2d43-2e89-48ac-a549-a42dd86d4b4f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:29 GMT + Pragma: + - no-cache + RequestId: + - a83b60de-7a02-4540-add4-7d248997f135 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4f6f4437-1d3e-405f-bbb6-140e3a2e4c6c", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:30 GMT + Pragma: + - no-cache + RequestId: + - e619489e-2a0d-4297-88a4-3e863838c3fd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/eventstreams/4f6f4437-1d3e-405f-bbb6-140e3a2e4c6c + response: + body: + string: '{"id": "4f6f4437-1d3e-405f-bbb6-140e3a2e4c6c", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:31 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c84c9e82-a8e4-4051-8903-7e9cf7f48c1a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/4f6f4437-1d3e-405f-bbb6-140e3a2e4c6c/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "eventstream.json", "payload": "ew0KICAic291cmNlcyI6IFtdLA0KICAiZGVzdGluYXRpb25zIjogW10sDQogICJzdHJlYW1zIjogW10sDQogICJvcGVyYXRvcnMiOiBbXSwNCiAgImNvbXBhdGliaWxpdHlMZXZlbCI6ICIxLjEiDQp9", + "payloadType": "InlineBase64"}, {"path": "eventstreamProperties.json", "payload": + "ew0KICAicmV0ZW50aW9uVGltZUluRGF5cyI6IDEsDQogICJldmVudFRocm91Z2hwdXRMZXZlbCI6ICJMb3ciDQp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkV2ZW50c3RyZWFtIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '566' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:32 GMT + Pragma: + - no-cache + RequestId: + - 76259a97-5d1a-4829-97a3-c1cdd6742adc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/4f6f4437-1d3e-405f-bbb6-140e3a2e4c6c/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:33 GMT + Pragma: + - no-cache + RequestId: + - a2a76269-45e9-4d9c-b140-37e33f38c8ed + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:34 GMT + Pragma: + - no-cache + RequestId: + - 38d3f758-cdd9-4083-9eb4-ebce3a98c8da + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4f6f4437-1d3e-405f-bbb6-140e3a2e4c6c", "type": "Eventstream", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '180' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:35 GMT + Pragma: + - no-cache + RequestId: + - 28c5f8cd-eeb9-4350-91e6-69545faf475c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/4f6f4437-1d3e-405f-bbb6-140e3a2e4c6c + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:38:36 GMT + Pragma: + - no-cache + RequestId: + - cfe3d6af-aa5c-4d6d-8295-1eebd6b47947 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[GraphQLApi].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[GraphQLApi].yaml new file mode 100644 index 00000000..d39f90d7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[GraphQLApi].yaml @@ -0,0 +1,713 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:59 GMT + Pragma: + - no-cache + RequestId: + - e017b89e-9020-4599-b79a-7eeeeac16b4c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:59 GMT + Pragma: + - no-cache + RequestId: + - d90ef23c-c12f-4a93-b9d6-3dd49d94fe42 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:01 GMT + Pragma: + - no-cache + RequestId: + - 0f4c65cd-d6e8-4454-a79f-6607009c46d2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "GraphQLApi", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '108' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/graphqlapis + response: + body: + string: '{"id": "58164661-26a5-42ae-9865-907c934f1b83", "type": "GraphQLApi", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:03 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 3a84695f-ff41-4f5e-9f11-c9644a312782 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:03 GMT + Pragma: + - no-cache + RequestId: + - 772c621a-a698-4b8f-aba6-8200d346aebf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "58164661-26a5-42ae-9865-907c934f1b83", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '245' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:04 GMT + Pragma: + - no-cache + RequestId: + - 9a1fdd6c-57ce-4f1c-ab28-623189dbd0b7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/graphqlapis/58164661-26a5-42ae-9865-907c934f1b83 + response: + body: + string: '{"id": "58164661-26a5-42ae-9865-907c934f1b83", "type": "GraphQLApi", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:05 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5eff1ef3-e914-4349-a667-6095199b4331 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/58164661-26a5-42ae-9865-907c934f1b83/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:07 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7b16b744-cee9-441f-a5af-2c589f2da41a + Pragma: + - no-cache + RequestId: + - 6113e3d5-3271-4428-ac97-d0d9cf4d8c6b + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 7b16b744-cee9-441f-a5af-2c589f2da41a + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7b16b744-cee9-441f-a5af-2c589f2da41a + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:50:07.1877478", + "lastUpdatedTimeUtc": "2026-01-28T13:50:08.2971564", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:29 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7b16b744-cee9-441f-a5af-2c589f2da41a/result + Pragma: + - no-cache + RequestId: + - 9f810e6e-46f3-42ee-a423-9e6a082c1f8b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 7b16b744-cee9-441f-a5af-2c589f2da41a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7b16b744-cee9-441f-a5af-2c589f2da41a/result + response: + body: + string: '{"definition": {"parts": [{"path": "graphql-definition.json", "payload": + "ew0KICAiJHNjaGVtYSI6ICJodHRwczovL2RldmVsb3Blci5taWNyb3NvZnQuY29tL2pzb24tc2NoZW1hcy9mYWJyaWMvaXRlbS9ncmFwaHFsQXBpL2RlZmluaXRpb24vMS4wLjAvc2NoZW1hLmpzb24iLA0KICAiZGF0YXNvdXJjZXMiOiBbXQ0KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkdyYXBoUUxBcGkiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:50:29 GMT + Pragma: + - no-cache + RequestId: + - b332cda1-0ffc-482c-b17c-bb2cf1b50b5f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/58164661-26a5-42ae-9865-907c934f1b83/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:30 GMT + Pragma: + - no-cache + RequestId: + - 8924bd4d-8117-4c70-b7f7-225c350fb134 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:31 GMT + Pragma: + - no-cache + RequestId: + - 26fab635-9982-492c-9b00-fc967b213d2c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "58164661-26a5-42ae-9865-907c934f1b83", "type": "GraphQLApi", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '245' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:31 GMT + Pragma: + - no-cache + RequestId: + - c28568d6-fca3-43d2-bb09-91f5eb34bf33 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/58164661-26a5-42ae-9865-907c934f1b83 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:50:32 GMT + Pragma: + - no-cache + RequestId: + - d4e4076a-3c9f-4b20-8f0d-96d43a746d1f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[GraphQuerySet].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[GraphQuerySet].yaml new file mode 100644 index 00000000..cbe64e77 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[GraphQuerySet].yaml @@ -0,0 +1,737 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:38 GMT + Pragma: + - no-cache + RequestId: + - 801df245-ef8a-45aa-8d84-6037baad1cab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '281' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:38 GMT + Pragma: + - no-cache + RequestId: + - 4d518173-178f-4ba3-bb94-237c517174b8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '281' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:39 GMT + Pragma: + - no-cache + RequestId: + - 33d02962-6cd4-456f-b806-6d2dbd87388c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "GraphQuerySet", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '111' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/GraphQuerySets + response: + body: + string: '{"id": "f88e481c-20bc-495c-860c-74c0a4718ccc", "type": "GraphQuerySet", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:40 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - cbd69c95-7530-4e13-b74f-e8c725faed2c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:41 GMT + Pragma: + - no-cache + RequestId: + - 3706c2fc-8e06-4580-868a-dfbe4f8a3585 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "f88e481c-20bc-495c-860c-74c0a4718ccc", "type": "GraphQuerySet", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '345' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:42 GMT + Pragma: + - no-cache + RequestId: + - 9fe03b4d-e471-4aea-85e8-5c1b1b6b20e5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/GraphQuerySets/f88e481c-20bc-495c-860c-74c0a4718ccc + response: + body: + string: '{"id": "f88e481c-20bc-495c-860c-74c0a4718ccc", "type": "GraphQuerySet", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:43 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 2e4091a5-dd16-4480-84fd-142eb88bf83c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/f88e481c-20bc-495c-860c-74c0a4718ccc/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:44 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5f9ecec8-07bb-4d03-8ba4-6fb9b2cfc69d + Pragma: + - no-cache + RequestId: + - b56c84d0-32e7-43cc-ae7d-4b353f7e074f + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 5f9ecec8-07bb-4d03-8ba4-6fb9b2cfc69d + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5f9ecec8-07bb-4d03-8ba4-6fb9b2cfc69d + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:05:44.9199886", + "lastUpdatedTimeUtc": "2026-02-03T09:05:45.2012284", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:07 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5f9ecec8-07bb-4d03-8ba4-6fb9b2cfc69d/result + Pragma: + - no-cache + RequestId: + - bf9d76d5-40dd-42ef-9216-104007ae1a8f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 5f9ecec8-07bb-4d03-8ba4-6fb9b2cfc69d + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5f9ecec8-07bb-4d03-8ba4-6fb9b2cfc69d/result + response: + body: + string: '{"definition": {"parts": [{"path": "exportedDefinition.json", "payload": + "eyJkZXBlbmRlbmNpZXMiOltdLCJpbmRpcmVjdERlcGVuZGVuY2llcyI6W10sIkFydGlmYWN0Q29udGVudHMiOltdLCJDb25maWd1cmF0aW9uQ2F0ZWdvcmllcyI6W119", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkdyYXBoUXVlcnlTZXQiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:06:07 GMT + Pragma: + - no-cache + RequestId: + - 5d1ad8eb-d441-4a32-9ecc-d7847e348d6e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/f88e481c-20bc-495c-860c-74c0a4718ccc/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:08 GMT + Pragma: + - no-cache + RequestId: + - e1008ff5-512e-4212-9c5a-6d379e3ad0b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:09 GMT + Pragma: + - no-cache + RequestId: + - bebf6bce-8f7a-40cf-ac8d-e44ab10a49dd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "f88e481c-20bc-495c-860c-74c0a4718ccc", "type": "GraphQuerySet", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '345' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:10 GMT + Pragma: + - no-cache + RequestId: + - 64be4643-e1db-45f6-a352-14683831dca5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/f88e481c-20bc-495c-860c-74c0a4718ccc + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:06:11 GMT + Pragma: + - no-cache + RequestId: + - 6cb992ac-c720-4b8a-bbb0-d6488ebe1953 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[KQLDashboard].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[KQLDashboard].yaml new file mode 100644 index 00000000..49f11cb0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[KQLDashboard].yaml @@ -0,0 +1,608 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:37 GMT + Pragma: + - no-cache + RequestId: + - 02e40cd5-9359-46b8-936a-2f5e3ca83a39 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:38 GMT + Pragma: + - no-cache + RequestId: + - c5265ae1-ad27-4621-8d08-065e9962e702 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:38 GMT + Pragma: + - no-cache + RequestId: + - 5473744e-1381-4356-9c77-d1458cd49370 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLDashboard", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/kqlDashboards + response: + body: + string: '{"id": "822fcce5-78a1-4fd9-8754-bdf4d83ae987", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:40 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8ff18468-b9fd-4107-a9c6-0bc495cbc7d0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:41 GMT + Pragma: + - no-cache + RequestId: + - d0506b16-7f07-4a61-8360-120a116e601b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "822fcce5-78a1-4fd9-8754-bdf4d83ae987", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:43 GMT + Pragma: + - no-cache + RequestId: + - b2b1ee73-3c17-4be5-b61a-aca89337ed6d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/kqlDashboards/822fcce5-78a1-4fd9-8754-bdf4d83ae987 + response: + body: + string: '{"id": "822fcce5-78a1-4fd9-8754-bdf4d83ae987", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 77f3a4b1-1473-4e37-a5f8-20a165e66b7b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/822fcce5-78a1-4fd9-8754-bdf4d83ae987/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "RealTimeDashboard.json", "payload": + "e30=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIktRTERhc2hib2FyZCIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '433' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:44 GMT + Pragma: + - no-cache + RequestId: + - 7330462f-d2e1-4f43-98c3-915ad58b94c2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/822fcce5-78a1-4fd9-8754-bdf4d83ae987/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:46 GMT + Pragma: + - no-cache + RequestId: + - ea770b10-dd93-449f-a067-4b7f217ba555 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:46 GMT + Pragma: + - no-cache + RequestId: + - c723837c-1bd4-4fce-b136-37488944430d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "822fcce5-78a1-4fd9-8754-bdf4d83ae987", "type": "KQLDashboard", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:47 GMT + Pragma: + - no-cache + RequestId: + - 916ebb57-12f9-4446-8536-ddc6f5e67062 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/822fcce5-78a1-4fd9-8754-bdf4d83ae987 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:38:48 GMT + Pragma: + - no-cache + RequestId: + - 7752dfa5-4f36-48ba-805f-399a5d15b906 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[KQLQueryset].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[KQLQueryset].yaml new file mode 100644 index 00000000..121009fb --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[KQLQueryset].yaml @@ -0,0 +1,608 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:49 GMT + Pragma: + - no-cache + RequestId: + - 69a410f2-f547-49b4-b4e8-6ea2e522f505 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:50 GMT + Pragma: + - no-cache + RequestId: + - 809db64a-47a6-46fe-993d-fabaa251859f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:50 GMT + Pragma: + - no-cache + RequestId: + - 4bb455d1-eb08-4594-a09a-b8c49c632d61 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLQueryset", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/kqlQuerysets + response: + body: + string: '{"id": "6ce60e16-51cc-4724-8524-c552ce2f898f", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:53 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c295dc50-b88c-4926-bf9b-ad8b9ea58d17 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:53 GMT + Pragma: + - no-cache + RequestId: + - 8f6f25c0-d451-4d5a-a863-c36dfb2f018f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "6ce60e16-51cc-4724-8524-c552ce2f898f", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:54 GMT + Pragma: + - no-cache + RequestId: + - 72c07ece-19b5-40e7-b62c-828834059650 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/kqlQuerysets/6ce60e16-51cc-4724-8524-c552ce2f898f + response: + body: + string: '{"id": "6ce60e16-51cc-4724-8524-c552ce2f898f", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:55 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - d1ed3c1e-0a9c-4d4c-b9e1-3ae70c3821ad + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/6ce60e16-51cc-4724-8524-c552ce2f898f/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "RealTimeQueryset.json", "payload": + "e30=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIktRTFF1ZXJ5c2V0IiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '427' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:56 GMT + Pragma: + - no-cache + RequestId: + - 4ba5c603-ee12-455d-aa01-8ec434e9857b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/6ce60e16-51cc-4724-8524-c552ce2f898f/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:56 GMT + Pragma: + - no-cache + RequestId: + - d5060b12-9b1a-4f9f-9abf-216b250539ad + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:57 GMT + Pragma: + - no-cache + RequestId: + - 67aa4edf-294a-4339-8f60-72f9ff8478af + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "6ce60e16-51cc-4724-8524-c552ce2f898f", "type": "KQLQueryset", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '181' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:38:59 GMT + Pragma: + - no-cache + RequestId: + - bde12e1e-c571-448d-9367-f4e1c67b9e95 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/6ce60e16-51cc-4724-8524-c552ce2f898f + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:39:00 GMT + Pragma: + - no-cache + RequestId: + - 1c925e66-2a2e-41fa-addc-a63b8cd8f649 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Lakehouse].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Lakehouse].yaml new file mode 100644 index 00000000..228d13c0 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Lakehouse].yaml @@ -0,0 +1,608 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:01 GMT + Pragma: + - no-cache + RequestId: + - 0541c93f-66db-4b39-92e9-d7b72c49af9a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:01 GMT + Pragma: + - no-cache + RequestId: + - 040416b3-f1c0-4a3d-bdea-c4c12c70ecc1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:02 GMT + Pragma: + - no-cache + RequestId: + - 03367111-c79d-47de-a4dd-744a5aae9f2d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Lakehouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '107' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/lakehouses + response: + body: + string: '{"id": "613f59c7-b29d-4f0d-8a66-c23f8924fc0f", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:06 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f2b6f9aa-c88a-458d-8094-21ea0affa112 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:06 GMT + Pragma: + - no-cache + RequestId: + - 1176e071-9289-45c6-8345-1afe330d28a6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "613f59c7-b29d-4f0d-8a66-c23f8924fc0f", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:07 GMT + Pragma: + - no-cache + RequestId: + - a6b3ff5c-7850-466e-9a95-ee898ad02fdd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/lakehouses/613f59c7-b29d-4f0d-8a66-c23f8924fc0f + response: + body: + string: '{"id": "613f59c7-b29d-4f0d-8a66-c23f8924fc0f", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"oneLakeTablesPath": + "https://onelake.dfs.fabric.microsoft.com/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/613f59c7-b29d-4f0d-8a66-c23f8924fc0f/Tables", + "oneLakeFilesPath": "https://onelake.dfs.fabric.microsoft.com/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/613f59c7-b29d-4f0d-8a66-c23f8924fc0f/Files", + "sqlEndpointProperties": {"connectionString": null, "id": null, "provisioningStatus": + "InProgress"}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:08 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c975abca-9ae4-420a-8db3-c57ca99fefb1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/613f59c7-b29d-4f0d-8a66-c23f8924fc0f/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:09 GMT + Pragma: + - no-cache + RequestId: + - d70e81c3-2e8c-4ded-9eac-c18caa3aa13f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/613f59c7-b29d-4f0d-8a66-c23f8924fc0f/jobs/TableMaintenance/schedules + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:10 GMT + Pragma: + - no-cache + RequestId: + - 550a3a95-1d8b-4686-983f-6e674fdf7f81 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:11 GMT + Pragma: + - no-cache + RequestId: + - 53af39c6-25b1-452a-9e75-c23f7a01e290 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "613f59c7-b29d-4f0d-8a66-c23f8924fc0f", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '179' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:11 GMT + Pragma: + - no-cache + RequestId: + - 1f148b40-2b32-48c0-9648-49292bdf928e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/613f59c7-b29d-4f0d-8a66-c23f8924fc0f + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:39:12 GMT + Pragma: + - no-cache + RequestId: + - bf6b3896-6b06-4728-881e-0bb48b8f2d78 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[MLExperiment].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[MLExperiment].yaml new file mode 100644 index 00000000..5ceb3f9c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[MLExperiment].yaml @@ -0,0 +1,657 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:12 GMT + Pragma: + - no-cache + RequestId: + - a2c23230-abdc-4207-9d17-d733204739e3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:13 GMT + Pragma: + - no-cache + RequestId: + - 9b36f8b7-af5b-4500-8a02-354061bafa8a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:14 GMT + Pragma: + - no-cache + RequestId: + - d41875a8-bf0c-4f74-b34e-d72b995f5736 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MLExperiment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mlExperiments + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:15 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/17561dc8-c497-4a40-b3b3-eee708210fae + Pragma: + - no-cache + RequestId: + - c0041dc9-a5ef-487b-a780-d906aeb5261c + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 17561dc8-c497-4a40-b3b3-eee708210fae + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/17561dc8-c497-4a40-b3b3-eee708210fae + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:39:15.2963376", + "lastUpdatedTimeUtc": "2026-01-28T13:39:16.3283316", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:37 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/17561dc8-c497-4a40-b3b3-eee708210fae/result + Pragma: + - no-cache + RequestId: + - faf04887-a929-4446-8e76-2b07bc80d112 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 17561dc8-c497-4a40-b3b3-eee708210fae + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/17561dc8-c497-4a40-b3b3-eee708210fae/result + response: + body: + string: '{"id": "d164d577-3062-4b6a-bce9-96f1096a4d1c", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:39:38 GMT + Pragma: + - no-cache + RequestId: + - 6f7148a8-f19a-4684-ab69-79a866aa91c3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:39 GMT + Pragma: + - no-cache + RequestId: + - 1efc176b-42ab-4855-b617-aee6ee7bf6fe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "d164d577-3062-4b6a-bce9-96f1096a4d1c", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '183' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:39 GMT + Pragma: + - no-cache + RequestId: + - 500c5f80-1308-4e6b-88f9-e3ad67273799 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mlExperiments/d164d577-3062-4b6a-bce9-96f1096a4d1c + response: + body: + string: '{"id": "d164d577-3062-4b6a-bce9-96f1096a4d1c", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"mlFlowExperimentId": + "d164d577-3062-4b6a-bce9-96f1096a4d1c"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '195' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:41 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - f831ebe6-5d4b-4693-b0a8-2d93e517de08 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/d164d577-3062-4b6a-bce9-96f1096a4d1c/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:41 GMT + Pragma: + - no-cache + RequestId: + - c8fd5cd2-d4cf-42df-81ae-94ea868b4e40 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:42 GMT + Pragma: + - no-cache + RequestId: + - e390c823-f941-4494-ba07-308d0557cc3a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "d164d577-3062-4b6a-bce9-96f1096a4d1c", "type": "MLExperiment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '183' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:43 GMT + Pragma: + - no-cache + RequestId: + - 84a83444-28a0-4088-a3ae-a1dcb600ecd4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/d164d577-3062-4b6a-bce9-96f1096a4d1c + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:39:43 GMT + Pragma: + - no-cache + RequestId: + - f18b4553-d571-476e-8eb2-33a698168da8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[MLModel].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[MLModel].yaml new file mode 100644 index 00000000..a3191934 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[MLModel].yaml @@ -0,0 +1,654 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:45 GMT + Pragma: + - no-cache + RequestId: + - 15c877f2-0217-42e1-afea-f4e0659c276d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:45 GMT + Pragma: + - no-cache + RequestId: + - 145a37da-e48f-4a26-9470-c7f13ba0c276 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:46 GMT + Pragma: + - no-cache + RequestId: + - c39a24bb-d01f-446f-81f7-2e47e6943611 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MLModel", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '105' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mlModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:39:46 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7cb0c44d-e9f3-4882-9995-7de44263039c + Pragma: + - no-cache + RequestId: + - d364cfd8-74ae-4f65-bf62-46bbe9b1d864 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 7cb0c44d-e9f3-4882-9995-7de44263039c + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7cb0c44d-e9f3-4882-9995-7de44263039c + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:39:47.1473798", + "lastUpdatedTimeUtc": "2026-01-28T13:39:47.8505161", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:09 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7cb0c44d-e9f3-4882-9995-7de44263039c/result + Pragma: + - no-cache + RequestId: + - a331631c-046c-4073-b2af-b5eda6249435 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 7cb0c44d-e9f3-4882-9995-7de44263039c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7cb0c44d-e9f3-4882-9995-7de44263039c/result + response: + body: + string: '{"id": "0ca8e018-a08d-40a8-9a8d-1e647b918324", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:40:09 GMT + Pragma: + - no-cache + RequestId: + - b6778d37-1fec-44c0-8281-4afbd547936f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:10 GMT + Pragma: + - no-cache + RequestId: + - bd4af691-83b4-4e0d-b326-f523367d68be + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "0ca8e018-a08d-40a8-9a8d-1e647b918324", "type": "MLModel", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:11 GMT + Pragma: + - no-cache + RequestId: + - 74435121-bd13-4750-a28b-25af5f2e7a99 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mlModels/0ca8e018-a08d-40a8-9a8d-1e647b918324 + response: + body: + string: '{"id": "0ca8e018-a08d-40a8-9a8d-1e647b918324", "type": "MLModel", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '166' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:12 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b91b532d-2886-4506-9897-88515ec1ab8e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/0ca8e018-a08d-40a8-9a8d-1e647b918324/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:13 GMT + Pragma: + - no-cache + RequestId: + - 4cdd2ceb-ffd9-4001-9eba-976298816ae6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:14 GMT + Pragma: + - no-cache + RequestId: + - 81846a8c-dba0-4921-89d8-b62ab2482a5f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "0ca8e018-a08d-40a8-9a8d-1e647b918324", "type": "MLModel", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '178' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:15 GMT + Pragma: + - no-cache + RequestId: + - e6df32cc-ff58-4591-b175-04e688908e24 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/0ca8e018-a08d-40a8-9a8d-1e647b918324 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:40:15 GMT + Pragma: + - no-cache + RequestId: + - 582b2874-32db-40c6-be7f-49fb76ccdbdb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[MirroredDatabase].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[MirroredDatabase].yaml new file mode 100644 index 00000000..b74a1c39 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[MirroredDatabase].yaml @@ -0,0 +1,700 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:16 GMT + Pragma: + - no-cache + RequestId: + - de760136-0722-484e-b550-a2b83ccaf2bb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:17 GMT + Pragma: + - no-cache + RequestId: + - 2303bd89-12ad-4ac3-9176-eb05844a821f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:18 GMT + Pragma: + - no-cache + RequestId: + - f393c141-9675-45a6-ae9c-a86189d42f55 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MirroredDatabase", "folderId": null, "definition": {"parts": [{"path": "mirroring.json", + "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgInNvdXJjZSI6IHsKICAgICAgICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsCiAgICAgICAgICAgICJ0eXBlUHJvcGVydGllcyI6IHt9CiAgICAgICAgfSwKICAgICAgICAidGFyZ2V0IjogewogICAgICAgICAgICAidHlwZSI6ICJNb3VudGVkUmVsYXRpb25hbERhdGFiYXNlIiwKICAgICAgICAgICAgInR5cGVQcm9wZXJ0aWVzIjogewogICAgICAgICAgICAgICAgImZvcm1hdCI6ICJEZWx0YSIKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '603' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases + response: + body: + string: '{"id": "d8a0ae53-1d33-4f98-9074-4b74fc2b2ac9", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '171' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:21 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7be7425f-2757-4919-bb0f-f8febb3e7929 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:22 GMT + Pragma: + - no-cache + RequestId: + - d2764177-b09c-4725-9d84-df81509dcfbb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "d8a0ae53-1d33-4f98-9074-4b74fc2b2ac9", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:22 GMT + Pragma: + - no-cache + RequestId: + - 5b06a0d4-0952-4a25-bc69-bc4af722f83e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases/d8a0ae53-1d33-4f98-9074-4b74fc2b2ac9 + response: + body: + string: '{"id": "d8a0ae53-1d33-4f98-9074-4b74fc2b2ac9", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"oneLakeTablesPath": + null, "sqlEndpointProperties": {"connectionString": null, "id": null, "provisioningStatus": + "InProgress"}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '256' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:24 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 5b5a2b59-ee3d-4de7-92ee-e60c799c753e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/d8a0ae53-1d33-4f98-9074-4b74fc2b2ac9/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "mirroring.json", "payload": "ew0KICAicHJvcGVydGllcyI6IHsNCiAgICAic291cmNlIjogew0KICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsDQogICAgICAidHlwZVByb3BlcnRpZXMiOiB7fQ0KICAgIH0sDQogICAgInRhcmdldCI6IHsNCiAgICAgICJ0eXBlIjogIk1vdW50ZWRSZWxhdGlvbmFsRGF0YWJhc2UiLA0KICAgICAgInR5cGVQcm9wZXJ0aWVzIjogew0KICAgICAgICAiZm9ybWF0IjogIkRlbHRhIg0KICAgICAgfQ0KICAgIH0NCiAgfQ0KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk1pcnJvcmVkRGF0YWJhc2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '562' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:24 GMT + Pragma: + - no-cache + RequestId: + - 8d3bf5a1-c789-4487-8a0a-4dbd13aca431 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/d8a0ae53-1d33-4f98-9074-4b74fc2b2ac9/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:25 GMT + Pragma: + - no-cache + RequestId: + - b959a4a2-bded-4844-95bd-03223ca42449 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases/d8a0ae53-1d33-4f98-9074-4b74fc2b2ac9/getMirroringStatus + response: + body: + string: '{"status": "Initializing"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:26 GMT + RequestId: + - 98ed000f-c59d-433c-8469-0e03534af117 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases/d8a0ae53-1d33-4f98-9074-4b74fc2b2ac9/getTablesMirroringStatus + response: + body: + string: '{"continuationToken": null, "continuationUri": null, "data": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '76' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:27 GMT + RequestId: + - 4d2fd7f6-01cd-4cd3-aa9e-26fb1ad66dff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:27 GMT + Pragma: + - no-cache + RequestId: + - 15adda38-0c51-4881-b652-8ff4fdba3dae + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "d8a0ae53-1d33-4f98-9074-4b74fc2b2ac9", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '182' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:28 GMT + Pragma: + - no-cache + RequestId: + - 19f89dc8-d0ee-4253-9e53-eec86da9e1b2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/d8a0ae53-1d33-4f98-9074-4b74fc2b2ac9 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:40:28 GMT + Pragma: + - no-cache + RequestId: + - bd67c201-df3c-4282-8b7a-9db183bc17d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Notebook].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Notebook].yaml new file mode 100644 index 00000000..5d53c820 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Notebook].yaml @@ -0,0 +1,859 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:30 GMT + Pragma: + - no-cache + RequestId: + - fad14ca6-1e9d-468e-a751-5ea3d354aa03 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:30 GMT + Pragma: + - no-cache + RequestId: + - 80912c4d-4d55-4029-ab47-996512848a8c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:31 GMT + Pragma: + - no-cache + RequestId: + - 93fb04fa-38d9-4d0a-8899-9e5186b39c6b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Notebook", "folderId": null, "definition": {"parts": [{"path": "notebook-content.py", + "payload": "IyBGYWJyaWMgbm90ZWJvb2sgc291cmNlCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAia2VybmVsX2luZm8iOiB7CiMgTUVUQSAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIgojIE1FVEEgICB9LAojIE1FVEEgICAiZGVwZW5kZW5jaWVzIjoge30KIyBNRVRBIH0KCiMgQ0VMTCAqKioqKioqKioqKioqKioqKioqKgoKIyBXZWxjb21lIHRvIHlvdXIgbmV3IG5vdGVib29rCiMgVHlwZSBoZXJlIGluIHRoZSBjZWxsIGVkaXRvciB0byBhZGQgY29kZSEKCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAibGFuZ3VhZ2UiOiAicHl0aG9uIiwKIyBNRVRBICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKIyBNRVRBIH0K", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '764' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/notebooks + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:32 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/92644126-c5c1-4669-9359-5bf3695a6b9e + Pragma: + - no-cache + RequestId: + - 31b23e57-3edd-4b01-a619-d4f81c986eef + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 92644126-c5c1-4669-9359-5bf3695a6b9e + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/92644126-c5c1-4669-9359-5bf3695a6b9e + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:40:32.5011919", + "lastUpdatedTimeUtc": "2026-01-28T13:40:33.7824488", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:55 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/92644126-c5c1-4669-9359-5bf3695a6b9e/result + Pragma: + - no-cache + RequestId: + - d8cec3df-c524-48bd-a104-7fd97f7deac5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 92644126-c5c1-4669-9359-5bf3695a6b9e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/92644126-c5c1-4669-9359-5bf3695a6b9e/result + response: + body: + string: '{"id": "d19d42b3-57da-4980-a07e-aceeba98028b", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:40:55 GMT + Pragma: + - no-cache + RequestId: + - 44788eee-a0ce-419f-87ce-09c5f823bbb1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:57 GMT + Pragma: + - no-cache + RequestId: + - c57740dc-edca-45fe-8174-c215ff85c913 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "d19d42b3-57da-4980-a07e-aceeba98028b", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:57 GMT + Pragma: + - no-cache + RequestId: + - 92b4fda9-8136-470c-8e36-194cd982b067 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/notebooks/d19d42b3-57da-4980-a07e-aceeba98028b + response: + body: + string: '{"id": "d19d42b3-57da-4980-a07e-aceeba98028b", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '164' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:58 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 00ee76d2-4c67-4894-8924-2e033ce74621 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/d19d42b3-57da-4980-a07e-aceeba98028b/getDefinition?format=ipynb + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:40:58 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0f9f7425-988b-459d-8974-5dde019d3445 + Pragma: + - no-cache + RequestId: + - 7a9d725f-260e-43a4-9c5c-6fc25629cd1e + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 0f9f7425-988b-459d-8974-5dde019d3445 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0f9f7425-988b-459d-8974-5dde019d3445 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:40:58.9653509", + "lastUpdatedTimeUtc": "2026-01-28T13:40:59.230981", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:20 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0f9f7425-988b-459d-8974-5dde019d3445/result + Pragma: + - no-cache + RequestId: + - 1172e181-7fed-4a40-811a-ba7b44edf386 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 0f9f7425-988b-459d-8974-5dde019d3445 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/0f9f7425-988b-459d-8974-5dde019d3445/result + response: + body: + string: '{"definition": {"parts": [{"path": "notebook-content.ipynb", "payload": + "eyJuYmZvcm1hdCI6NCwibmJmb3JtYXRfbWlub3IiOjUsIm1ldGFkYXRhIjp7Imxhbmd1YWdlX2luZm8iOnsibmFtZSI6InB5dGhvbiJ9LCJrZXJuZWxfaW5mbyI6eyJuYW1lIjoic3luYXBzZV9weXNwYXJrIiwianVweXRlcl9rZXJuZWxfbmFtZSI6bnVsbH0sImEzNjVDb21wdXRlT3B0aW9ucyI6bnVsbCwic2Vzc2lvbktlZXBBbGl2ZVRpbWVvdXQiOjAsImRlcGVuZGVuY2llcyI6eyJsYWtlaG91c2UiOm51bGx9fSwiY2VsbHMiOlt7ImNlbGxfdHlwZSI6ImNvZGUiLCJtZXRhZGF0YSI6eyJtaWNyb3NvZnQiOnsibGFuZ3VhZ2UiOiJweXRob24iLCJsYW5ndWFnZV9ncm91cCI6InN5bmFwc2VfcHlzcGFyayJ9fSwic291cmNlIjpbIiMgV2VsY29tZSB0byB5b3VyIG5ldyBub3RlYm9va1xuIiwiIyBUeXBlIGhlcmUgaW4gdGhlIGNlbGwgZWRpdG9yIHRvIGFkZCBjb2RlIVxuIl0sIm91dHB1dHMiOltdfV19", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk5vdGVib29rIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:41:21 GMT + Pragma: + - no-cache + RequestId: + - 7c84ffe0-6fc4-488e-adac-872716e81c05 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/d19d42b3-57da-4980-a07e-aceeba98028b/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:22 GMT + Pragma: + - no-cache + RequestId: + - 73c8385f-9041-4888-af6e-1baf749a57d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/d19d42b3-57da-4980-a07e-aceeba98028b/jobs/RunNotebook/schedules + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:23 GMT + Pragma: + - no-cache + RequestId: + - 369cda1a-e6e0-4466-b682-c3440047d78b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:23 GMT + Pragma: + - no-cache + RequestId: + - d22b486c-df83-4ed7-8176-6bc4a122817c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "d19d42b3-57da-4980-a07e-aceeba98028b", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:24 GMT + Pragma: + - no-cache + RequestId: + - 5c4ddcbc-40e7-4217-8506-1ddb8318bf09 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/d19d42b3-57da-4980-a07e-aceeba98028b + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:41:25 GMT + Pragma: + - no-cache + RequestId: + - 91e92405-a2e4-4722-9832-24813f295383 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Reflex].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Reflex].yaml new file mode 100644 index 00000000..005b3385 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Reflex].yaml @@ -0,0 +1,606 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:27 GMT + Pragma: + - no-cache + RequestId: + - c2af685c-88ef-4240-af0a-3baf058f7291 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:27 GMT + Pragma: + - no-cache + RequestId: + - bfcebdef-83ba-4c33-8290-c9aadb8c64db + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:28 GMT + Pragma: + - no-cache + RequestId: + - 0405c8b6-0ef4-4138-9073-a774884c72fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Reflex", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/reflexes + response: + body: + string: '{"id": "093e9262-81f0-4a76-a940-b683516d90b9", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:31 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - df340864-7deb-4935-a18e-7f820ce95732 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:32 GMT + Pragma: + - no-cache + RequestId: + - d0cd1ddb-444e-479c-82a2-afe7ed2c66d1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "093e9262-81f0-4a76-a940-b683516d90b9", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:33 GMT + Pragma: + - no-cache + RequestId: + - 79b22410-195d-4cc5-95ec-d5076db1c0cc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/reflexes/093e9262-81f0-4a76-a940-b683516d90b9 + response: + body: + string: '{"id": "093e9262-81f0-4a76-a940-b683516d90b9", "type": "Reflex", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:33 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 9425b8ab-8203-435a-ba02-1d9edde7324f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/093e9262-81f0-4a76-a940-b683516d90b9/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "ReflexEntities.json", "payload": + "W10=", "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlZmxleCIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '425' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:35 GMT + Pragma: + - no-cache + RequestId: + - 09b17109-5d0b-4430-badd-015a07541e74 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/093e9262-81f0-4a76-a940-b683516d90b9/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:36 GMT + Pragma: + - no-cache + RequestId: + - 5c7d7738-694b-4d1f-8a6e-4e251b7ac2d6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:36 GMT + Pragma: + - no-cache + RequestId: + - 8b2bc73d-71ee-4f80-b6eb-50f6e0f42707 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "093e9262-81f0-4a76-a940-b683516d90b9", "type": "Reflex", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '177' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:38 GMT + Pragma: + - no-cache + RequestId: + - f353e897-6cb9-4039-9597-61510d2a1e1f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/093e9262-81f0-4a76-a940-b683516d90b9 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:41:38 GMT + Pragma: + - no-cache + RequestId: + - a493c195-26f5-4c9b-aa6a-769635ac8faf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Report].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Report].yaml new file mode 100644 index 00000000..dfecf6c2 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Report].yaml @@ -0,0 +1,992 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:39 GMT + Pragma: + - no-cache + RequestId: + - 8caff9cc-6df8-42e7-b759-5ca180e57bdd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:40 GMT + Pragma: + - no-cache + RequestId: + - a5572108-0c9d-41a9-acba-6a5b3ff5e750 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:41 GMT + Pragma: + - no-cache + RequestId: + - a4f8b3cd-0424-4446-bed1-0d2d03dda428 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001_auto", "type": + "SemanticModel", "folderId": null, "definition": {"parts": [{"path": ".platform", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogIkJsYW5rIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition.pbism", "payload": "ewogICJ2ZXJzaW9uIjogIjQuMCIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": "definition/model.tmdl", "payload": "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxl", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2673' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/semanticModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:41:41 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5ce32b41-304f-4899-9136-98e31b99e54e + Pragma: + - no-cache + RequestId: + - d4d33acb-504e-4385-b04c-d0d0b6dda753 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 5ce32b41-304f-4899-9136-98e31b99e54e + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5ce32b41-304f-4899-9136-98e31b99e54e + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:41:42.3386921", + "lastUpdatedTimeUtc": "2026-01-28T13:41:53.0442315", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:04 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5ce32b41-304f-4899-9136-98e31b99e54e/result + Pragma: + - no-cache + RequestId: + - ced38fe6-1a12-49f5-bd29-a83cbc482102 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 5ce32b41-304f-4899-9136-98e31b99e54e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/5ce32b41-304f-4899-9136-98e31b99e54e/result + response: + body: + string: '{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:42:04 GMT + Pragma: + - no-cache + RequestId: + - f759ae2d-79db-440d-9332-08734714308c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Report", "folderId": null, "definition": {"parts": [{"path": ".platform", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlcG9ydCIsCiAgICAiZGlzcGxheU5hbWUiOiAiQmxhbmsiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition.pbir", "payload": "eyJ2ZXJzaW9uIjogIjQuMCIsICJkYXRhc2V0UmVmZXJlbmNlIjogeyJieVBhdGgiOiBudWxsLCAiYnlDb25uZWN0aW9uIjogeyJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9ta2RpcjtJbml0aWFsIENhdGFsb2c9cjM7SW50ZWdyYXRlZCBTZWN1cml0eT1DbGFpbXNUb2tlbiIsICJwYmlTZXJ2aWNlTW9kZWxJZCI6IG51bGwsICJwYmlNb2RlbFZpcnR1YWxTZXJ2ZXJOYW1lIjogInNvYmVfd293dmlydHVhbHNlcnZlciIsICJwYmlNb2RlbERhdGFiYXNlTmFtZSI6ICI0MzA3YzUwMC1jODM4LTRjYTQtYTA2MC0yNjlmYTZiMzljN2QiLCAibmFtZSI6ICJFbnRpdHlEYXRhU291cmNlIiwgImNvbm5lY3Rpb25UeXBlIjogInBiaVNlcnZpY2VYbWxhU3R5bGVMaXZlIn19fQ==", + "payloadType": "InlineBase64"}, {"path": "definition/report.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3JlcG9ydC8xLjIuMC9zY2hlbWEuanNvbiIsCiAgInRoZW1lQ29sbGVjdGlvbiI6IHsKICAgICJiYXNlVGhlbWUiOiB7CiAgICAgICJuYW1lIjogIkNZMjRTVTEwIiwKICAgICAgInJlcG9ydFZlcnNpb25BdEltcG9ydCI6ICI1LjYxIiwKICAgICAgInR5cGUiOiAiU2hhcmVkUmVzb3VyY2VzIgogICAgfQogIH0sCiAgImxheW91dE9wdGltaXphdGlvbiI6ICJOb25lIiwKICAib2JqZWN0cyI6IHsKICAgICJzZWN0aW9uIjogWwogICAgICB7CiAgICAgICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgICAidmVydGljYWxBbGlnbm1lbnQiOiB7CiAgICAgICAgICAgICJleHByIjogewogICAgICAgICAgICAgICJMaXRlcmFsIjogewogICAgICAgICAgICAgICAgIlZhbHVlIjogIidUb3AnIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgXQogIH0sCiAgInJlc291cmNlUGFja2FnZXMiOiBbCiAgICB7CiAgICAgICJuYW1lIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJ0eXBlIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJpdGVtcyI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJDWTI0U1UxMCIsCiAgICAgICAgICAicGF0aCI6ICJCYXNlVGhlbWVzL0NZMjRTVTEwLmpzb24iLAogICAgICAgICAgInR5cGUiOiAiQmFzZVRoZW1lIgogICAgICAgIH0KICAgICAgXQogICAgfQogIF0sCiAgInNldHRpbmdzIjogewogICAgInVzZVN0eWxhYmxlVmlzdWFsQ29udGFpbmVySGVhZGVyIjogdHJ1ZSwKICAgICJkZWZhdWx0RHJpbGxGaWx0ZXJPdGhlclZpc3VhbHMiOiB0cnVlLAogICAgImFsbG93Q2hhbmdlRmlsdGVyVHlwZXMiOiB0cnVlLAogICAgInVzZUVuaGFuY2VkVG9vbHRpcHMiOiB0cnVlLAogICAgInVzZURlZmF1bHRBZ2dyZWdhdGVEaXNwbGF5TmFtZSI6IHRydWUKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition/version.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3ZlcnNpb25NZXRhZGF0YS8xLjAuMC9zY2hlbWEuanNvbiIsCiAgInZlcnNpb24iOiAiMi4wLjAiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/pages.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2VzTWV0YWRhdGEvMS4wLjAvc2NoZW1hLmpzb24iLAogICJwYWdlT3JkZXIiOiBbCiAgICAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCiAgXSwKICAiYWN0aXZlUGFnZU5hbWUiOiAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/b8c5fb8d635f898326c6/page.json", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2UvMS4zLjAvc2NoZW1hLmpzb24iLAogICJuYW1lIjogImI4YzVmYjhkNjM1Zjg5ODMyNmM2IiwKICAiZGlzcGxheU5hbWUiOiAiUGFnZSAxIiwKICAiZGlzcGxheU9wdGlvbiI6ICJGaXRUb1BhZ2UiLAogICJoZWlnaHQiOiA3MjAsCiAgIndpZHRoIjogMTI4MAp9", + "payloadType": "InlineBase64"}, {"path": "StaticResources/SharedResources/BaseThemes/CY24SU10.json", + "payload": "ewogICJuYW1lIjogIkNZMjRTVTEwIiwKICAiZGF0YUNvbG9ycyI6IFsKICAgICIjMTE4REZGIiwKICAgICIjMTIyMzlFIiwKICAgICIjRTY2QzM3IiwKICAgICIjNkIwMDdCIiwKICAgICIjRTA0NEE3IiwKICAgICIjNzQ0RUMyIiwKICAgICIjRDlCMzAwIiwKICAgICIjRDY0NTUwIiwKICAgICIjMTk3Mjc4IiwKICAgICIjMUFBQjQwIiwKICAgICIjMTVDNkY0IiwKICAgICIjNDA5MkZGIiwKICAgICIjRkZBMDU4IiwKICAgICIjQkU1REM5IiwKICAgICIjRjQ3MkQwIiwKICAgICIjQjVBMUZGIiwKICAgICIjQzRBMjAwIiwKICAgICIjRkY4MDgwIiwKICAgICIjMDBEQkJDIiwKICAgICIjNUJENjY3IiwKICAgICIjMDA5MUQ1IiwKICAgICIjNDY2OEM1IiwKICAgICIjRkY2MzAwIiwKICAgICIjOTkwMDhBIiwKICAgICIjRUMwMDhDIiwKICAgICIjNTMzMjg1IiwKICAgICIjOTk3MDBBIiwKICAgICIjRkY0MTQxIiwKICAgICIjMUY5QTg1IiwKICAgICIjMjU4OTFDIiwKICAgICIjMDA1N0EyIiwKICAgICIjMDAyMDUwIiwKICAgICIjQzk0RjBGIiwKICAgICIjNDUwRjU0IiwKICAgICIjQjYwMDY0IiwKICAgICIjMzQxMjRGIiwKICAgICIjNkE1QTI5IiwKICAgICIjMUFBQjQwIiwKICAgICIjQkExNDFBIiwKICAgICIjMEMzRDM3IiwKICAgICIjMEI1MTFGIgogIF0sCiAgImZvcmVncm91bmQiOiAiIzI1MjQyMyIsCiAgImZvcmVncm91bmROZXV0cmFsU2Vjb25kYXJ5IjogIiM2MDVFNUMiLAogICJmb3JlZ3JvdW5kTmV1dHJhbFRlcnRpYXJ5IjogIiNCM0IwQUQiLAogICJiYWNrZ3JvdW5kIjogIiNGRkZGRkYiLAogICJiYWNrZ3JvdW5kTGlnaHQiOiAiI0YzRjJGMSIsCiAgImJhY2tncm91bmROZXV0cmFsIjogIiNDOEM2QzQiLAogICJ0YWJsZUFjY2VudCI6ICIjMTE4REZGIiwKICAiZ29vZCI6ICIjMUFBQjQwIiwKICAibmV1dHJhbCI6ICIjRDlCMzAwIiwKICAiYmFkIjogIiNENjQ1NTQiLAogICJtYXhpbXVtIjogIiMxMThERkYiLAogICJjZW50ZXIiOiAiI0Q5QjMwMCIsCiAgIm1pbmltdW0iOiAiI0RFRUZGRiIsCiAgIm51bGwiOiAiI0ZGN0Y0OCIsCiAgImh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidmlzaXRlZEh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidGV4dENsYXNzZXMiOiB7CiAgICAiY2FsbG91dCI6IHsKICAgICAgImZvbnRTaXplIjogNDUsCiAgICAgICJmb250RmFjZSI6ICJESU4iLAogICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgIH0sCiAgICAidGl0bGUiOiB7CiAgICAgICJmb250U2l6ZSI6IDEyLAogICAgICAiZm9udEZhY2UiOiAiRElOIiwKICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICB9LAogICAgImhlYWRlciI6IHsKICAgICAgImZvbnRTaXplIjogMTIsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSBTZW1pYm9sZCIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfSwKICAgICJsYWJlbCI6IHsKICAgICAgImZvbnRTaXplIjogMTAsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfQogIH0sCiAgInZpc3VhbFN0eWxlcyI6IHsKICAgICIqIjogewogICAgICAiKiI6IHsKICAgICAgICAiKiI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIndvcmRXcmFwIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxpbmUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0bGluZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJwbG90QXJlYSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJjYXRlZ29yeUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIiwKICAgICAgICAgICAgImNvbmNhdGVuYXRlTGFiZWxzIjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIgogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInkyQXhpcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidGl0bGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0aXRsZVdyYXAiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGluZVN0eWxlcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInN0cm9rZVdpZHRoIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIndvcmRXcmFwIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYm9yZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAid2lkdGgiOiAxCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0c3BhY2VQYW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZENvbG9yIjogewogICAgICAgICAgICAgICJzb2xpZCI6IHsKICAgICAgICAgICAgICAgICJjb2xvciI6ICIjZmZmZmZmIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlLAogICAgICAgICAgICAiYm9yZGVyQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiNCM0IwQUQiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsdGVyQ2FyZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBcHBsaWVkIiwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJmb3JlZ3JvdW5kQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9LAogICAgICAgICAgICAiYm9yZGVyIjogdHJ1ZQogICAgICAgICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBdmFpbGFibGUiLAogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImZvcmVncm91bmRDb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNjYXR0ZXJDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsbFBvaW50IjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsZWdlbmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93R3JhZGllbnRMZWdlbmQiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZm9yZWNhc3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJtYXRjaFNlcmllc0ludGVycG9sYXRpb24iOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIm1hcCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImF6dXJlTWFwIjogewogICAgICAiKiI6IHsKICAgICAgICAiYnViYmxlTGF5ZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVSYWRpdXMiOiA4LAogICAgICAgICAgICAibWluQnViYmxlUmFkaXVzIjogOCwKICAgICAgICAgICAgIm1heFJhZGl1cyI6IDQwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYmFyQ2hhcnQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYXJIZWlnaHQiOiAzLAogICAgICAgICAgICAidGhpY2tuZXNzIjogMwogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwaWVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxlZ2VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlLAogICAgICAgICAgICAicG9zaXRpb24iOiAiUmlnaHRDZW50ZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGFiZWxzIjogWwogICAgICAgICAgewogICAgICAgICAgICAibGFiZWxTdHlsZSI6ICJEYXRhIHZhbHVlLCBwZXJjZW50IG9mIHRvdGFsIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJkb251dENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJwb3NpdGlvbiI6ICJSaWdodENlbnRlciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsYWJlbHMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJsYWJlbFN0eWxlIjogIkRhdGEgdmFsdWUsIHBlcmNlbnQgb2YgdG90YWwiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBpdm90VGFibGUiOiB7CiAgICAgICIqIjogewogICAgICAgICJyb3dIZWFkZXJzIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0V4cGFuZENvbGxhcHNlQnV0dG9ucyI6IHRydWUsCiAgICAgICAgICAgICJsZWdhY3lTdHlsZURpc2FibGVkIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJtdWx0aVJvd0NhcmQiOiB7CiAgICAgICIqIjogewogICAgICAgICJjYXJkIjogWwogICAgICAgICAgewogICAgICAgICAgICAib3V0bGluZVdlaWdodCI6IDIsCiAgICAgICAgICAgICJiYXJTaG93IjogdHJ1ZSwKICAgICAgICAgICAgImJhcldlaWdodCI6IDIKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAia3BpIjogewogICAgICAiKiI6IHsKICAgICAgICAidHJlbmRsaW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMjAKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiY2FyZFZpc3VhbCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIm1heFRpbGVzIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIm92ZXJmbG93IjogWwogICAgICAgICAgewogICAgICAgICAgICAidHlwZSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJpbWFnZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImZpeGVkU2l6ZSI6IGZhbHNlCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAgICAgICAiaW1hZ2VBcmVhU2l6ZSI6IDUwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFkdmFuY2VkU2xpY2VyVmlzdWFsIjogewogICAgICAiKiI6IHsKICAgICAgICAibGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAibWF4VGlsZXMiOiAzCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNsaWNlciI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImRhdGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJoaWRlRGF0ZVBpY2tlckJ1dHRvbiI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiaXRlbXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJwYWRkaW5nIjogNCwKICAgICAgICAgICAgImFjY2Vzc2liaWxpdHlDb250cmFzdFByb3BlcnRpZXMiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIndhdGVyZmFsbENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFyZWFDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJsaW5lQ2x1c3RlcmVkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVTdGFja2VkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInJpYmJvbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJodW5kcmVkUGVyY2VudFN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJncm91cCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiYmFzaWNTaGFwZSI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAia2VlcExheWVyT3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNoYXBlIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJrZWVwTGF5ZXJPcmRlciI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2aXN1YWxIZWFkZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiaW1hZ2UiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxvY2tBc3BlY3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJhY3Rpb25CdXR0b24iOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBhZ2VOYXZpZ2F0b3IiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJvb2ttYXJrTmF2aWdhdG9yIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJ0ZXh0Ym94IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwYWdlIjogewogICAgICAiKiI6IHsKICAgICAgICAib3V0c3BhY2UiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJjb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiI0ZGRkZGRiIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMTAwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9CiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '21794' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/reports + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:06 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a6a66ee1-c2c4-4344-a998-5cdea4e07e86 + Pragma: + - no-cache + RequestId: + - 4efc90eb-6193-47d9-8efa-69d2b35749cf + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - a6a66ee1-c2c4-4344-a998-5cdea4e07e86 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a6a66ee1-c2c4-4344-a998-5cdea4e07e86 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:42:07.3289222", + "lastUpdatedTimeUtc": "2026-01-28T13:42:07.6570443", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:28 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a6a66ee1-c2c4-4344-a998-5cdea4e07e86/result + Pragma: + - no-cache + RequestId: + - c3c2f3e7-5ad6-45ce-9ae5-4e1114aeeb8d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - a6a66ee1-c2c4-4344-a998-5cdea4e07e86 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/a6a66ee1-c2c4-4344-a998-5cdea4e07e86/result + response: + body: + string: '{"id": "58f3ae00-135a-4cfc-bece-703f63bc85bc", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:42:30 GMT + Pragma: + - no-cache + RequestId: + - 94152c06-42af-42e8-a852-e6e29b5381fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:31 GMT + Pragma: + - no-cache + RequestId: + - 1228e997-8773-4ee4-9cda-7fc58c725fe5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "58f3ae00-135a-4cfc-bece-703f63bc85bc", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '230' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:31 GMT + Pragma: + - no-cache + RequestId: + - 6260be91-447e-4b44-86ba-5ed344a6be7e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/reports/58f3ae00-135a-4cfc-bece-703f63bc85bc + response: + body: + string: '{"id": "58f3ae00-135a-4cfc-bece-703f63bc85bc", "type": "Report", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '165' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:33 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 14de6204-837a-476e-9c5e-81f12c8cf3f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/58f3ae00-135a-4cfc-bece-703f63bc85bc/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:33 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6b432c08-5f45-42f2-b530-7606f1929771 + Pragma: + - no-cache + RequestId: + - f5914e13-3b9c-4316-aa27-de54aab3dabc + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 6b432c08-5f45-42f2-b530-7606f1929771 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6b432c08-5f45-42f2-b530-7606f1929771 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:42:34.3491185", + "lastUpdatedTimeUtc": "2026-01-28T13:42:34.5365941", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:55 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6b432c08-5f45-42f2-b530-7606f1929771/result + Pragma: + - no-cache + RequestId: + - 252a52c9-1b25-4c35-a929-69f7dc215bfa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 6b432c08-5f45-42f2-b530-7606f1929771 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/6b432c08-5f45-42f2-b530-7606f1929771/result + response: + body: + string: '{"definition": {"format": "PBIR", "parts": [{"path": "definition.pbir", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uUHJvcGVydGllcy8yLjAuMC9zY2hlbWEuanNvbiIsCiAgInZlcnNpb24iOiAiNC4wIiwKICAiZGF0YXNldFJlZmVyZW5jZSI6IHsKICAgICJieUNvbm5lY3Rpb24iOiB7CiAgICAgICJjb25uZWN0aW9uU3RyaW5nIjogIkRhdGEgU291cmNlPXBvd2VyYmk6Ly9hcGkucG93ZXJiaS5jb20vdjEuMC9teW9yZy9mYWJyaWNjbGlfV29ya3NwYWNlUGVyVGVzdGNsYXNzXzAwMDAwMTtpbml0aWFsIGNhdGFsb2c9ZmFiY2xpMDAwMDAxX2F1dG87aW50ZWdyYXRlZCBzZWN1cml0eT1DbGFpbXNUb2tlbjtzZW1hbnRpY21vZGVsaWQ9NDMwN2M1MDAtYzgzOC00Y2E0LWEwNjAtMjY5ZmE2YjM5YzdkIgogICAgfQogIH0KfQ==", + "payloadType": "InlineBase64"}, {"path": "StaticResources/SharedResources/BaseThemes/CY24SU10.json", + "payload": "ewogICJuYW1lIjogIkNZMjRTVTEwIiwKICAiZGF0YUNvbG9ycyI6IFsKICAgICIjMTE4REZGIiwKICAgICIjMTIyMzlFIiwKICAgICIjRTY2QzM3IiwKICAgICIjNkIwMDdCIiwKICAgICIjRTA0NEE3IiwKICAgICIjNzQ0RUMyIiwKICAgICIjRDlCMzAwIiwKICAgICIjRDY0NTUwIiwKICAgICIjMTk3Mjc4IiwKICAgICIjMUFBQjQwIiwKICAgICIjMTVDNkY0IiwKICAgICIjNDA5MkZGIiwKICAgICIjRkZBMDU4IiwKICAgICIjQkU1REM5IiwKICAgICIjRjQ3MkQwIiwKICAgICIjQjVBMUZGIiwKICAgICIjQzRBMjAwIiwKICAgICIjRkY4MDgwIiwKICAgICIjMDBEQkJDIiwKICAgICIjNUJENjY3IiwKICAgICIjMDA5MUQ1IiwKICAgICIjNDY2OEM1IiwKICAgICIjRkY2MzAwIiwKICAgICIjOTkwMDhBIiwKICAgICIjRUMwMDhDIiwKICAgICIjNTMzMjg1IiwKICAgICIjOTk3MDBBIiwKICAgICIjRkY0MTQxIiwKICAgICIjMUY5QTg1IiwKICAgICIjMjU4OTFDIiwKICAgICIjMDA1N0EyIiwKICAgICIjMDAyMDUwIiwKICAgICIjQzk0RjBGIiwKICAgICIjNDUwRjU0IiwKICAgICIjQjYwMDY0IiwKICAgICIjMzQxMjRGIiwKICAgICIjNkE1QTI5IiwKICAgICIjMUFBQjQwIiwKICAgICIjQkExNDFBIiwKICAgICIjMEMzRDM3IiwKICAgICIjMEI1MTFGIgogIF0sCiAgImZvcmVncm91bmQiOiAiIzI1MjQyMyIsCiAgImZvcmVncm91bmROZXV0cmFsU2Vjb25kYXJ5IjogIiM2MDVFNUMiLAogICJmb3JlZ3JvdW5kTmV1dHJhbFRlcnRpYXJ5IjogIiNCM0IwQUQiLAogICJiYWNrZ3JvdW5kIjogIiNGRkZGRkYiLAogICJiYWNrZ3JvdW5kTGlnaHQiOiAiI0YzRjJGMSIsCiAgImJhY2tncm91bmROZXV0cmFsIjogIiNDOEM2QzQiLAogICJ0YWJsZUFjY2VudCI6ICIjMTE4REZGIiwKICAiZ29vZCI6ICIjMUFBQjQwIiwKICAibmV1dHJhbCI6ICIjRDlCMzAwIiwKICAiYmFkIjogIiNENjQ1NTQiLAogICJtYXhpbXVtIjogIiMxMThERkYiLAogICJjZW50ZXIiOiAiI0Q5QjMwMCIsCiAgIm1pbmltdW0iOiAiI0RFRUZGRiIsCiAgIm51bGwiOiAiI0ZGN0Y0OCIsCiAgImh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidmlzaXRlZEh5cGVybGluayI6ICIjMDA3OGQ0IiwKICAidGV4dENsYXNzZXMiOiB7CiAgICAiY2FsbG91dCI6IHsKICAgICAgImZvbnRTaXplIjogNDUsCiAgICAgICJmb250RmFjZSI6ICJESU4iLAogICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgIH0sCiAgICAidGl0bGUiOiB7CiAgICAgICJmb250U2l6ZSI6IDEyLAogICAgICAiZm9udEZhY2UiOiAiRElOIiwKICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICB9LAogICAgImhlYWRlciI6IHsKICAgICAgImZvbnRTaXplIjogMTIsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSBTZW1pYm9sZCIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfSwKICAgICJsYWJlbCI6IHsKICAgICAgImZvbnRTaXplIjogMTAsCiAgICAgICJmb250RmFjZSI6ICJTZWdvZSBVSSIsCiAgICAgICJjb2xvciI6ICIjMjUyNDIzIgogICAgfQogIH0sCiAgInZpc3VhbFN0eWxlcyI6IHsKICAgICIqIjogewogICAgICAiKiI6IHsKICAgICAgICAiKiI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIndvcmRXcmFwIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxpbmUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0bGluZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJwbG90QXJlYSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJjYXRlZ29yeUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIiwKICAgICAgICAgICAgImNvbmNhdGVuYXRlTGFiZWxzIjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93QXhpc1RpdGxlIjogdHJ1ZSwKICAgICAgICAgICAgImdyaWRsaW5lU3R5bGUiOiAiZG90dGVkIgogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInkyQXhpcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidGl0bGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJ0aXRsZVdyYXAiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGluZVN0eWxlcyI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInN0cm9rZVdpZHRoIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIndvcmRXcmFwIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJ0cmFuc3BhcmVuY3kiOiAwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYm9yZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAid2lkdGgiOiAxCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAib3V0c3BhY2VQYW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZENvbG9yIjogewogICAgICAgICAgICAgICJzb2xpZCI6IHsKICAgICAgICAgICAgICAgICJjb2xvciI6ICIjZmZmZmZmIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlLAogICAgICAgICAgICAiYm9yZGVyQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiNCM0IwQUQiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsdGVyQ2FyZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBcHBsaWVkIiwKICAgICAgICAgICAgInRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJmb3JlZ3JvdW5kQ29sb3IiOiB7CiAgICAgICAgICAgICAgInNvbGlkIjogewogICAgICAgICAgICAgICAgImNvbG9yIjogIiMyNTI0MjMiCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9LAogICAgICAgICAgICAiYm9yZGVyIjogdHJ1ZQogICAgICAgICAgfSwKICAgICAgICAgIHsKICAgICAgICAgICAgIiRpZCI6ICJBdmFpbGFibGUiLAogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImZvcmVncm91bmRDb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiIzI1MjQyMyIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgICJib3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNjYXR0ZXJDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZmlsbFBvaW50IjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsZWdlbmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93R3JhZGllbnRMZWdlbmQiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZm9yZWNhc3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJtYXRjaFNlcmllc0ludGVycG9sYXRpb24iOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIm1hcCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJ1YmJsZXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVTaXplIjogLTEwLAogICAgICAgICAgICAibWFya2VyUmFuZ2VUeXBlIjogImF1dG8iCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImF6dXJlTWFwIjogewogICAgICAiKiI6IHsKICAgICAgICAiYnViYmxlTGF5ZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJidWJibGVSYWRpdXMiOiA4LAogICAgICAgICAgICAibWluQnViYmxlUmFkaXVzIjogOCwKICAgICAgICAgICAgIm1heFJhZGl1cyI6IDQwCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiYmFyQ2hhcnQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYXJIZWlnaHQiOiAzLAogICAgICAgICAgICAidGhpY2tuZXNzIjogMwogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwaWVDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxlZ2VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiB0cnVlLAogICAgICAgICAgICAicG9zaXRpb24iOiAiUmlnaHRDZW50ZXIiCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGFiZWxzIjogWwogICAgICAgICAgewogICAgICAgICAgICAibGFiZWxTdHlsZSI6ICJEYXRhIHZhbHVlLCBwZXJjZW50IG9mIHRvdGFsIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJkb251dENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IHRydWUsCiAgICAgICAgICAgICJwb3NpdGlvbiI6ICJSaWdodENlbnRlciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJsYWJlbHMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJsYWJlbFN0eWxlIjogIkRhdGEgdmFsdWUsIHBlcmNlbnQgb2YgdG90YWwiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBpdm90VGFibGUiOiB7CiAgICAgICIqIjogewogICAgICAgICJyb3dIZWFkZXJzIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0V4cGFuZENvbGxhcHNlQnV0dG9ucyI6IHRydWUsCiAgICAgICAgICAgICJsZWdhY3lTdHlsZURpc2FibGVkIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJtdWx0aVJvd0NhcmQiOiB7CiAgICAgICIqIjogewogICAgICAgICJjYXJkIjogWwogICAgICAgICAgewogICAgICAgICAgICAib3V0bGluZVdlaWdodCI6IDIsCiAgICAgICAgICAgICJiYXJTaG93IjogdHJ1ZSwKICAgICAgICAgICAgImJhcldlaWdodCI6IDIKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAia3BpIjogewogICAgICAiKiI6IHsKICAgICAgICAidHJlbmRsaW5lIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMjAKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiY2FyZFZpc3VhbCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImxheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgIm1heFRpbGVzIjogMwogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgIm92ZXJmbG93IjogWwogICAgICAgICAgewogICAgICAgICAgICAidHlwZSI6IDAKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJpbWFnZSI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImZpeGVkU2l6ZSI6IGZhbHNlCiAgICAgICAgICB9LAogICAgICAgICAgewogICAgICAgICAgICAiaW1hZ2VBcmVhU2l6ZSI6IDUwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFkdmFuY2VkU2xpY2VyVmlzdWFsIjogewogICAgICAiKiI6IHsKICAgICAgICAibGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAibWF4VGlsZXMiOiAzCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNsaWNlciI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImRhdGUiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJoaWRlRGF0ZVBpY2tlckJ1dHRvbiI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiaXRlbXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJwYWRkaW5nIjogNCwKICAgICAgICAgICAgImFjY2Vzc2liaWxpdHlDb250cmFzdFByb3BlcnRpZXMiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgIndhdGVyZmFsbENoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZENvbHVtbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImNsdXN0ZXJlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImh1bmRyZWRQZXJjZW50U3RhY2tlZEJhckNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAibGVnZW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvd0dyYWRpZW50TGVnZW5kIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImFyZWFDaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJsaW5lQ2x1c3RlcmVkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImxpbmVTdGFja2VkQ29sdW1uQ29tYm9DaGFydCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJyZXNwb25zaXZlIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInNtYWxsTXVsdGlwbGVzTGF5b3V0IjogWwogICAgICAgICAgewogICAgICAgICAgICAiYmFja2dyb3VuZFRyYW5zcGFyZW5jeSI6IDAsCiAgICAgICAgICAgICJncmlkTGluZVR5cGUiOiAiaW5uZXIiCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInJpYmJvbkNoYXJ0IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInJlc3BvbnNpdmUiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAic21hbGxNdWx0aXBsZXNMYXlvdXQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJiYWNrZ3JvdW5kVHJhbnNwYXJlbmN5IjogMCwKICAgICAgICAgICAgImdyaWRMaW5lVHlwZSI6ICJpbm5lciIKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2YWx1ZUF4aXMiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJodW5kcmVkUGVyY2VudFN0YWNrZWRBcmVhQ2hhcnQiOiB7CiAgICAgICIqIjogewogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAicmVzcG9uc2l2ZSI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJzbWFsbE11bHRpcGxlc0xheW91dCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImJhY2tncm91bmRUcmFuc3BhcmVuY3kiOiAwLAogICAgICAgICAgICAiZ3JpZExpbmVUeXBlIjogImlubmVyIgogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJncm91cCI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiYmFzaWNTaGFwZSI6IHsKICAgICAgIioiOiB7CiAgICAgICAgImJhY2tncm91bmQiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJnZW5lcmFsIjogWwogICAgICAgICAgewogICAgICAgICAgICAia2VlcExheWVyT3JkZXIiOiB0cnVlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInNoYXBlIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImdlbmVyYWwiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJrZWVwTGF5ZXJPcmRlciI6IHRydWUKICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJ2aXN1YWxIZWFkZXIiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogZmFsc2UKICAgICAgICAgIH0KICAgICAgICBdCiAgICAgIH0KICAgIH0sCiAgICAiaW1hZ2UiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgImxvY2tBc3BlY3QiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJzaG93IjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJhY3Rpb25CdXR0b24iOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgInBhZ2VOYXZpZ2F0b3IiOiB7CiAgICAgICIqIjogewogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXSwKICAgICAgICAidmlzdWFsSGVhZGVyIjogWwogICAgICAgICAgewogICAgICAgICAgICAic2hvdyI6IGZhbHNlCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9LAogICAgImJvb2ttYXJrTmF2aWdhdG9yIjogewogICAgICAiKiI6IHsKICAgICAgICAiYmFja2dyb3VuZCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJ0ZXh0Ym94IjogewogICAgICAiKiI6IHsKICAgICAgICAiZ2VuZXJhbCI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgImtlZXBMYXllck9yZGVyIjogdHJ1ZQogICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInZpc3VhbEhlYWRlciI6IFsKICAgICAgICAgIHsKICAgICAgICAgICAgInNob3ciOiBmYWxzZQogICAgICAgICAgfQogICAgICAgIF0KICAgICAgfQogICAgfSwKICAgICJwYWdlIjogewogICAgICAiKiI6IHsKICAgICAgICAib3V0c3BhY2UiOiBbCiAgICAgICAgICB7CiAgICAgICAgICAgICJjb2xvciI6IHsKICAgICAgICAgICAgICAic29saWQiOiB7CiAgICAgICAgICAgICAgICAiY29sb3IiOiAiI0ZGRkZGRiIKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgIH0KICAgICAgICBdLAogICAgICAgICJiYWNrZ3JvdW5kIjogWwogICAgICAgICAgewogICAgICAgICAgICAidHJhbnNwYXJlbmN5IjogMTAwCiAgICAgICAgICB9CiAgICAgICAgXQogICAgICB9CiAgICB9CiAgfQp9", + "payloadType": "InlineBase64"}, {"path": "definition/version.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3ZlcnNpb25NZXRhZGF0YS8xLjAuMC9zY2hlbWEuanNvbiIsCiAgInZlcnNpb24iOiAiMi4wLjAiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/report.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3JlcG9ydC8xLjIuMC9zY2hlbWEuanNvbiIsCiAgInRoZW1lQ29sbGVjdGlvbiI6IHsKICAgICJiYXNlVGhlbWUiOiB7CiAgICAgICJuYW1lIjogIkNZMjRTVTEwIiwKICAgICAgInJlcG9ydFZlcnNpb25BdEltcG9ydCI6ICI1LjYxIiwKICAgICAgInR5cGUiOiAiU2hhcmVkUmVzb3VyY2VzIgogICAgfQogIH0sCiAgImxheW91dE9wdGltaXphdGlvbiI6ICJOb25lIiwKICAib2JqZWN0cyI6IHsKICAgICJzZWN0aW9uIjogWwogICAgICB7CiAgICAgICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgICAidmVydGljYWxBbGlnbm1lbnQiOiB7CiAgICAgICAgICAgICJleHByIjogewogICAgICAgICAgICAgICJMaXRlcmFsIjogewogICAgICAgICAgICAgICAgIlZhbHVlIjogIidUb3AnIgogICAgICAgICAgICAgIH0KICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0KICAgICAgfQogICAgXQogIH0sCiAgInJlc291cmNlUGFja2FnZXMiOiBbCiAgICB7CiAgICAgICJuYW1lIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJ0eXBlIjogIlNoYXJlZFJlc291cmNlcyIsCiAgICAgICJpdGVtcyI6IFsKICAgICAgICB7CiAgICAgICAgICAibmFtZSI6ICJDWTI0U1UxMCIsCiAgICAgICAgICAicGF0aCI6ICJCYXNlVGhlbWVzL0NZMjRTVTEwLmpzb24iLAogICAgICAgICAgInR5cGUiOiAiQmFzZVRoZW1lIgogICAgICAgIH0KICAgICAgXQogICAgfQogIF0sCiAgInNldHRpbmdzIjogewogICAgInVzZVN0eWxhYmxlVmlzdWFsQ29udGFpbmVySGVhZGVyIjogdHJ1ZSwKICAgICJkZWZhdWx0RHJpbGxGaWx0ZXJPdGhlclZpc3VhbHMiOiB0cnVlLAogICAgImFsbG93Q2hhbmdlRmlsdGVyVHlwZXMiOiB0cnVlLAogICAgInVzZUVuaGFuY2VkVG9vbHRpcHMiOiB0cnVlLAogICAgInVzZURlZmF1bHRBZ2dyZWdhdGVEaXNwbGF5TmFtZSI6IHRydWUKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/pages.json", "payload": + "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2VzTWV0YWRhdGEvMS4wLjAvc2NoZW1hLmpzb24iLAogICJwYWdlT3JkZXIiOiBbCiAgICAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCiAgXSwKICAiYWN0aXZlUGFnZU5hbWUiOiAiYjhjNWZiOGQ2MzVmODk4MzI2YzYiCn0=", + "payloadType": "InlineBase64"}, {"path": "definition/pages/b8c5fb8d635f898326c6/page.json", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3JlcG9ydC9kZWZpbml0aW9uL3BhZ2UvMS4zLjAvc2NoZW1hLmpzb24iLAogICJuYW1lIjogImI4YzVmYjhkNjM1Zjg5ODMyNmM2IiwKICAiZGlzcGxheU5hbWUiOiAiUGFnZSAxIiwKICAiZGlzcGxheU9wdGlvbiI6ICJGaXRUb1BhZ2UiLAogICJoZWlnaHQiOiA3MjAsCiAgIndpZHRoIjogMTI4MAp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlJlcG9ydCIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:42:56 GMT + Pragma: + - no-cache + RequestId: + - c74519fd-4a56-4f9d-acf4-85be3d30a04a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/58f3ae00-135a-4cfc-bece-703f63bc85bc/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:58 GMT + Pragma: + - no-cache + RequestId: + - 4740a004-b433-4c4b-a7b6-e08e29b9c6c7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:58 GMT + Pragma: + - no-cache + RequestId: + - 2a786e6d-5da7-4036-bcc7-08c9879ed808 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "58f3ae00-135a-4cfc-bece-703f63bc85bc", "type": "Report", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", + "type": "SemanticModel", "displayName": "fabcli000001_auto", "description": + "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '230' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:42:59 GMT + Pragma: + - no-cache + RequestId: + - 137a3f03-e810-41b7-a4ba-6235d54d4125 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/58f3ae00-135a-4cfc-bece-703f63bc85bc + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:43:00 GMT + Pragma: + - no-cache + RequestId: + - 1286aac1-1e69-4929-a124-ed3cf8772b86 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[SQLDatabase].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[SQLDatabase].yaml new file mode 100644 index 00000000..4db5621f --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[SQLDatabase].yaml @@ -0,0 +1,873 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:43:01 GMT + Pragma: + - no-cache + RequestId: + - 310051a3-a294-4d43-8316-b91a55173e47 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:43:02 GMT + Pragma: + - no-cache + RequestId: + - 7cd85ef4-4ac1-49d5-8cc1-0029e4ff1643 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:43:03 GMT + Pragma: + - no-cache + RequestId: + - 0b821252-bda8-4474-93ca-328a09151a94 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SQLDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/sqlDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:43:05 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3ae0cbe1-e3db-4221-a816-f9d96a764186 + Pragma: + - no-cache + RequestId: + - 6a0dd096-6f9d-44ac-a701-5ba9e6cbc8a8 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 3ae0cbe1-e3db-4221-a816-f9d96a764186 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3ae0cbe1-e3db-4221-a816-f9d96a764186 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:43:04.6889244", + "lastUpdatedTimeUtc": "2026-01-28T13:43:22.3519122", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:43:27 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3ae0cbe1-e3db-4221-a816-f9d96a764186/result + Pragma: + - no-cache + RequestId: + - 93e151f2-c35a-4b52-9f38-ba5cda02fca5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 3ae0cbe1-e3db-4221-a816-f9d96a764186 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/3ae0cbe1-e3db-4221-a816-f9d96a764186/result + response: + body: + string: '{"id": "1c219940-81f7-42ed-b7e2-5612561adea5", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:43:28 GMT + Pragma: + - no-cache + RequestId: + - 0d71dc47-12d5-4c25-8bf4-d03561c23491 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:43:29 GMT + Pragma: + - no-cache + RequestId: + - 0df74b71-4575-4542-ad10-7c598941ca9a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "1c219940-81f7-42ed-b7e2-5612561adea5", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '243' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:43:29 GMT + Pragma: + - no-cache + RequestId: + - 8187751d-2a5c-40a3-a1dc-6a3273892a74 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/sqlDatabases/1c219940-81f7-42ed-b7e2-5612561adea5 + response: + body: + string: '{"id": "1c219940-81f7-42ed-b7e2-5612561adea5", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"connectionInfo": "Data + Source=vwbb4lsqmqqejdvenqo7wshysy-ntstq2f6h3ruzc3jimrly7ctsi.database.fabric.microsoft.com,1433;Initial + Catalog=fabcli000001-1c219940-81f7-42ed-b7e2-5612561adea5;Multiple Active + Result Sets=False;Connect Timeout=30;Encrypt=True;Trust Server Certificate=False", + "connectionString": "mock_connection_string", "databaseName": "fabcli000001-1c219940-81f7-42ed-b7e2-5612561adea5", + "serverFqdn": "vwbb4lsqmqqejdvenqo7wshysy-ntstq2f6h3ruzc3jimrly7ctsi.database.fabric.microsoft.com,1433", + "backupRetentionDays": 7, "collation": "SQL_Latin1_General_CP1_CI_AS"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '438' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:43:31 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 464b3d34-05c1-401c-a076-f0ec6c14b557 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/1c219940-81f7-42ed-b7e2-5612561adea5/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:43:32 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8afe8cdf-9533-4a55-a866-25b29a3af70a + Pragma: + - no-cache + RequestId: + - eca0b623-0f21-4159-9cac-505b506ba4e4 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 8afe8cdf-9533-4a55-a866-25b29a3af70a + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8afe8cdf-9533-4a55-a866-25b29a3af70a + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:43:32.9622922", + "lastUpdatedTimeUtc": "2026-01-28T13:43:32.9622922", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '120' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:43:53 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8afe8cdf-9533-4a55-a866-25b29a3af70a + Pragma: + - no-cache + RequestId: + - 648f1a38-5208-4dec-9ce9-c01ec66fc773 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 8afe8cdf-9533-4a55-a866-25b29a3af70a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8afe8cdf-9533-4a55-a866-25b29a3af70a + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:43:32.9622922", + "lastUpdatedTimeUtc": "2026-01-28T13:44:12.0027748", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:44:16 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8afe8cdf-9533-4a55-a866-25b29a3af70a/result + Pragma: + - no-cache + RequestId: + - faac561f-a77f-4062-9374-beea47980841 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 8afe8cdf-9533-4a55-a866-25b29a3af70a + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/8afe8cdf-9533-4a55-a866-25b29a3af70a/result + response: + body: + string: '{"definition": {"format": "dacpac", "parts": [{"path": "fabcli000001.dacpac", + "payload": "UEsDBBQAAAAIAH1tPFzG6qC/qQIAALwHAAAJAAAAbW9kZWwueG1spVVdb9pAEHxOpf4Hy++1+VCbqjKJIgNNJEhIbKWqqgot9gInne+cu3ME+fXdw2ATCCm0D0jmvDOz7M4cweUi484zKs2k6LhNr+E6KBKZMjHruIWZfvrqXl58/BB0wUCUzDGDoUyRO33GsS9VBuaxBrdcp6ypztreZ9fp6vwWMuy4Q5YoqeXUeJbOi6Xk2isRXvTE7ac76cNEscQWTEBj+Xak5DNLUblOKDkHQ9yDhKWk2Wi3tw5Di0ChmWHPpNcHrtF16CcK3XHnxuTffF+vGLWXVc0kMvP1E5UqGoSfQuJHqBhw9rIi9VuNZstvtFyaw1lwjUCN2MezICy0kZlt1QnB4EyqZce9IvnbgnO9qqeqIRpIbU05hPq98wi8oJNYFdSlX3L6Nek7IveFNJjepCgMmzIazNtae2X/IRnKLKd5TBhnZmlNcEBzv24j2jxvnKj5gFNU5EfiiJc5UZBDSkccELe2tE+VJm3aoPJoqTkkG/U92EDOWAL8H5C9BRUJ4CNQpt7orxL8+yAsKvJcodZDpjVFrYs5CtpSwlD3lJKqplp7+KSx0ZTCLH0EMvGEo94a3tbxmjPwa0cHq2yXxD2OGdmmhm4SeZfbUFTupmjmqMyy2v46itUPiO4H4wEdieb4OwpUwMfhqDkOb8ZXUT2fHZobvYlJF6dQcHMn3vTuO0B9GuQHKEGbOAWlmJlfTaQ6oblQigSMbe8nQ55q+3Q8OpZKjGCG9MJgYqe8hX1llDfAfZKKcWF6wm4/PU7TqtFlzqavk9w+CFivawBiVhC2QvwNsOnueOB9gWoZGakwhNwUCl/fNUfgIgMcV1/jOYVxLnk9lfaX84MMQ1h0ZV6VVpfaXmGMWS7J8NeMQqqWD2jsRSzF7gp2Mr6OXpnOTSQDf+cv+OIPUEsDBBQAAAAIAH1tPFzGysI2pgAAAMgAAAAPAAAARGFjTWV0YWRhdGEueG1sNY45DsIwFER7JO5guSc/iRCKkOM01DQg+o/jgCUvwXbYrkbBkbgCJoCmG43evNfjyZqr0eQsfVDO1rTIckqkFa5V9lDTIXazijZ8OmErFNtbL0ma21DTY4z9EiCIozQYMqOEd8F1MRPOQDjpIH2CQosCNtIr1OqOMV1AmRcl5CVNTELYGo3kHe6FVpdqwMosYj9nMNbjYPc140nsEwb/IinBz4m/AVBLAwQUAAAACAB9bTxc1pOCgy8CAABdBAAACgAAAE9yaWdpbi54bWylVMtu2zAQvBfoPwi6NiIp6kUakgLHcoCiSGPAbu80RSeEJdEhqSLJr/XQT+ovlLJlu2ndU4/c3dkZznL58/uP/Pq5bbxvQhupusIPAfI90XFVy+6h8Hu7CYh/Xb5/l1eM32v5IDvPATpT+I/W7iYQGv4oWmZAK7lWRm0s4KqF5qkxQru2sGYcLoWWrJGvzDoSiFGIIcK+6+p5+YLxLXsQC612QlspzD7sEl8PmsoIOFEA5fAYGPMz1VkmOzN/3iltRV0xy8oNc7w5vJgbcUurBWvHZke2M593yH9mrSj8AeeXeOD/W8G/MGLXqJdWdHZQoeW6t0obv9zf4sI94AVBObxsS37vTnsXj+iPtSOS9qUkNYloFPEgZWkcxIyGwXqdZAFlEdtkVEQcb3J4Kj+ZwbQtMcJpgMIAk1UYTeJoksQgSd2cEvoBoQlyog+FI2re1RcwFMQxwTGOjpihbES4e9Q9t4ND5d3ppQz2gpVSjQHL/TMCK2a27vDUXHmjIUWY7X0D6Mqb9Y3ttSg60VvNXM2iXzeSfxIvK7UVXUEoiZOa1wQRxDkNnY2/8b6VcpzC0B6DJAHn6j8GNEYPCsv/ffYnlrHfYdxv55rPHgXfmr49LcMx4H3RsvBhq2rRALeIflnd0Ol8ehPP4inJQpJFKCW3tEIzmsQonOMooTSrZjSlVRhNbzGakzm+xQnBGU2m08oty9h7lPKWO78bqA5azxuZ5PBC3P0S8PRNlL8AUEsDBBQAAAAIAH1tPFztodPgjwAAAK8AAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbCWNSw6CMBCGr9LMHgZdGGPaulBv4AWaOjwiTBs6GDybC4/kFSyw/J/f7/PV53no1YvG1AU2sCsrUMQ+PDpuDExSF0c4W31/R0oqVzkZaEXiCTH5lgaXyhCJc1KHcXCS5dhgdP7pGsJ9VR3QBxZiKWT5AKuvVLupF3Wbs71h8xzUZestKANCs+Bqo9W44u0fUEsBAhQAFAAAAAgAfW08XMbqoL+pAgAAvAcAAAkAAAAAAAAAAAAAAAAAAAAAAG1vZGVsLnhtbFBLAQIUABQAAAAIAH1tPFzGysI2pgAAAMgAAAAPAAAAAAAAAAAAAAAAANACAABEYWNNZXRhZGF0YS54bWxQSwECFAAUAAAACAB9bTxc1pOCgy8CAABdBAAACgAAAAAAAAAAAAAAAACjAwAAT3JpZ2luLnhtbFBLAQIUABQAAAAIAH1tPFztodPgjwAAAK8AAAATAAAAAAAAAAAAAAAAAPoFAABbQ29udGVudF9UeXBlc10ueG1sUEsFBgAAAAAEAAQA7QAAALoGAAAAAA==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNRTERhdGFiYXNlIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:44:17 GMT + Pragma: + - no-cache + RequestId: + - cfa00131-39fb-42d0-9326-169f8213efc9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/1c219940-81f7-42ed-b7e2-5612561adea5/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:44:18 GMT + Pragma: + - no-cache + RequestId: + - 2c01f6c3-2d56-45dc-afe1-cd3c87bcfd2f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:44:19 GMT + Pragma: + - no-cache + RequestId: + - a81c4db0-41de-46fa-acaf-6b3a0b9972c7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "e49889b9-7aa6-457c-a603-eb0cd08bc14c", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "1c219940-81f7-42ed-b7e2-5612561adea5", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '277' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:44:20 GMT + Pragma: + - no-cache + RequestId: + - ea5474ee-20ff-437f-8c5f-64cdd71821cd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/1c219940-81f7-42ed-b7e2-5612561adea5 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:44:21 GMT + Pragma: + - no-cache + RequestId: + - 3b037526-365b-4876-a0d1-2e20b18f2d35 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[SemanticModel].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[SemanticModel].yaml new file mode 100644 index 00000000..25576959 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[SemanticModel].yaml @@ -0,0 +1,1343 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:44:21 GMT + Pragma: + - no-cache + RequestId: + - 35685622-32a7-48e7-bc5f-55a37fa21e24 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:44:22 GMT + Pragma: + - no-cache + RequestId: + - 938becbc-33c7-4d01-a34e-77344727f1cd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:44:23 GMT + Pragma: + - no-cache + RequestId: + - 056e1f8e-6838-4946-8da1-351733d8561f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SemanticModel", "folderId": null, "definition": {"parts": [{"path": ".platform", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogIkJsYW5rIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}, {"path": "definition.pbism", "payload": "ewogICJ2ZXJzaW9uIjogIjQuMCIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": "definition/model.tmdl", "payload": "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxl", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2668' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/semanticModels + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:44:24 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - e42b0935-cb6e-4523-a95a-fa9189752281 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:44:24.5519376", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:44:46 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - f072ddf9-1dd4-4937-9ef6-e424e5ca0df0 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:44:24.5519376", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:45:08 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - 1eec5e42-fda4-4611-b73a-fb0803f9be9c + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:44:24.5519376", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:45:30 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - dd0d3187-49f7-40fe-8e36-076612052211 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:44:24.5519376", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:45:51 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - 2919228b-68d3-44b4-a47b-92a508047f27 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:44:24.5519376", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:46:13 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - 9d656430-a5f5-4bf4-9b8d-ee80272b3ce9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:44:24.5519376", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:46:35 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - cf57885e-c120-4cef-a691-8c29f6ced52f + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:44:24.5519376", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:46:56 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - 5b77d23b-433c-4f8d-b0ad-b93d66f5f47f + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:44:24.5519376", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:47:19 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - 269e63ed-3433-4082-a334-77e10c5e9c97 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:44:24.5519376", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:47:41 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - ee6ea14e-0eb3-4a6c-9117-9e66ce02a1c9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:44:24.5519376", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '123' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:03 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + Pragma: + - no-cache + RequestId: + - 5dd251d1-2536-4c7f-81a4-8b8d6558096b + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:44:24.5519376", + "lastUpdatedTimeUtc": "2026-01-28T13:48:23.6917109", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:25 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558/result + Pragma: + - no-cache + RequestId: + - 6bfa8037-d015-4306-87f2-7e50d7bb2128 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 489495ed-953b-4d14-9955-b4287bcc3558 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/489495ed-953b-4d14-9955-b4287bcc3558/result + response: + body: + string: '{"id": "c34174b7-bb34-4c80-8a71-393d6c9e3490", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:48:26 GMT + Pragma: + - no-cache + RequestId: + - 29704537-6e26-4067-801c-ba2b79e3896e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:26 GMT + Pragma: + - no-cache + RequestId: + - 1e22b974-f2bd-48ff-a910-c8463bc73bbf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "c34174b7-bb34-4c80-8a71-393d6c9e3490", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '219' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:27 GMT + Pragma: + - no-cache + RequestId: + - 1b121cac-abc5-46f5-b1ac-144acdb845f8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/semanticModels/c34174b7-bb34-4c80-8a71-393d6c9e3490 + response: + body: + string: '{"id": "c34174b7-bb34-4c80-8a71-393d6c9e3490", "type": "SemanticModel", + "displayName": "fabcli000001", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '159' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:28 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - fa126ca9-df2a-4bc2-aa09-ef0bdc75e7f5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/c34174b7-bb34-4c80-8a71-393d6c9e3490/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:29 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/061f1108-1f71-4876-aad4-b3ecad025abd + Pragma: + - no-cache + RequestId: + - b7980dff-677c-423b-953c-c7d1f4d0c017 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 061f1108-1f71-4876-aad4-b3ecad025abd + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/061f1108-1f71-4876-aad4-b3ecad025abd + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:48:30.0690309", + "lastUpdatedTimeUtc": "2026-01-28T13:48:30.4752834", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:51 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/061f1108-1f71-4876-aad4-b3ecad025abd/result + Pragma: + - no-cache + RequestId: + - 4ee00e5b-21fe-4f22-abcb-405e5603a7aa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 061f1108-1f71-4876-aad4-b3ecad025abd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/061f1108-1f71-4876-aad4-b3ecad025abd/result + response: + body: + string: '{"definition": {"format": "TMDL", "parts": [{"path": "definition.pbism", + "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL3NlbWFudGljTW9kZWwvZGVmaW5pdGlvblByb3BlcnRpZXMvMS4wLjAvc2NoZW1hLmpzb24iLAogICJ2ZXJzaW9uIjogIjQuMiIsCiAgInNldHRpbmdzIjoge30KfQ==", + "payloadType": "InlineBase64"}, {"path": "definition/tables/Table.tmdl", "payload": + "dGFibGUgVGFibGUKCWxpbmVhZ2VUYWc6IDFmY2QyZDhjLTkzZDYtNGU2Zi1hYjg2LThjMDU5YzhhODk4ZAoKCWNvbHVtbiBDb2x1bW4xCgkJZGF0YVR5cGU6IHN0cmluZwoJCWxpbmVhZ2VUYWc6IGIxNGI3M2UwLTI0NDctNDNlYi04ZWU1LTA2ZDQ3NTMxYzQxZAoJCXN1bW1hcml6ZUJ5OiBub25lCgkJc291cmNlQ29sdW1uOiBDb2x1bW4xCgoJCWFubm90YXRpb24gU3VtbWFyaXphdGlvblNldEJ5ID0gQXV0b21hdGljCgoJY29sdW1uIENvbHVtbjIKCQlkYXRhVHlwZTogc3RyaW5nCgkJbGluZWFnZVRhZzogZGE5YWMzNDUtMTFmMS00NGY5LThlNGItMDJjZmNhZGI4OTU3CgkJc3VtbWFyaXplQnk6IG5vbmUKCQlzb3VyY2VDb2x1bW46IENvbHVtbjIKCgkJYW5ub3RhdGlvbiBTdW1tYXJpemF0aW9uU2V0QnkgPSBBdXRvbWF0aWMKCglwYXJ0aXRpb24gVGFibGUgPSBtCgkJbW9kZTogaW1wb3J0CgkJc291cmNlID0KCQkJCWxldAoJCQkJICBTb3VyY2UgPSBUYWJsZS5Gcm9tUm93cyhKc29uLkRvY3VtZW50KEJpbmFyeS5EZWNvbXByZXNzKEJpbmFyeS5Gcm9tVGV4dCgiaTQ1V0tqRlUwZ0VSc2JFQSIsIEJpbmFyeUVuY29kaW5nLkJhc2U2NCksIENvbXByZXNzaW9uLkRlZmxhdGUpKSwgbGV0IF90ID0gKCh0eXBlIG51bGxhYmxlIHRleHQpIG1ldGEgW1NlcmlhbGl6ZWQuVGV4dCA9IHRydWVdKSBpbiB0eXBlIHRhYmxlIFtDb2x1bW4xID0gX3QsIENvbHVtbjIgPSBfdF0pLAoJCQkJICAjIkNoYW5nZWQgY29sdW1uIHR5cGUiID0gVGFibGUuVHJhbnNmb3JtQ29sdW1uVHlwZXMoU291cmNlLCB7fSkKCQkJCWluCgkJCQkgICMiQ2hhbmdlZCBjb2x1bW4gdHlwZSIKCglhbm5vdGF0aW9uIFBCSV9SZXN1bHRUeXBlID0gVGFibGUKCg==", + "payloadType": "InlineBase64"}, {"path": "definition/model.tmdl", "payload": + "bW9kZWwgTW9kZWwKCWN1bHR1cmU6IGVuLVVTCglkZWZhdWx0UG93ZXJCSURhdGFTb3VyY2VWZXJzaW9uOiBwb3dlckJJX1YzCglzb3VyY2VRdWVyeUN1bHR1cmU6IGVuLVVTCglkYXRhQWNjZXNzT3B0aW9ucwoJCWxlZ2FjeVJlZGlyZWN0cwoJCXJldHVybkVycm9yVmFsdWVzQXNOdWxsCgphbm5vdGF0aW9uIFBCSV9RdWVyeU9yZGVyID0gWyJUYWJsZSJdCgphbm5vdGF0aW9uIF9fUEJJX1RpbWVJbnRlbGxpZ2VuY2VFbmFibGVkID0gMQoKYW5ub3RhdGlvbiBQQklEZXNrdG9wVmVyc2lvbiA9IDIuMTQwLjc1MTAuMSAoTWFpbikrYjM2NmM1ODEzNGRkNDJkZjk0MmU5YmJhNjUzNzlmM2YyMzk3M2VlMAoKcmVmIHRhYmxlIFRhYmxlCgo=", + "payloadType": "InlineBase64"}, {"path": "definition/database.tmdl", "payload": + "ZGF0YWJhc2UKCWNvbXBhdGliaWxpdHlMZXZlbDogMTU2MQoK", "payloadType": "InlineBase64"}, + {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNlbWFudGljTW9kZWwiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:48:52 GMT + Pragma: + - no-cache + RequestId: + - dddb3019-d962-441b-9e4a-8656ad8028a1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/c34174b7-bb34-4c80-8a71-393d6c9e3490/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:53 GMT + Pragma: + - no-cache + RequestId: + - f3de2268-9fdc-4112-a61a-ee4ec73bb29e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:54 GMT + Pragma: + - no-cache + RequestId: + - 6f029f19-7129-45c2-9f6d-ba3e66ab58e0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "c34174b7-bb34-4c80-8a71-393d6c9e3490", "type": "SemanticModel", "displayName": + "fabcli000001", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '219' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:55 GMT + Pragma: + - no-cache + RequestId: + - f1dae8b1-85e3-446e-954e-e464587902bc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/c34174b7-bb34-4c80-8a71-393d6c9e3490 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:48:57 GMT + Pragma: + - no-cache + RequestId: + - 94b3533b-e922-41f2-bf73-d3d8da60df79 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[SparkJobDefinition].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[SparkJobDefinition].yaml new file mode 100644 index 00000000..4e0e52b6 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[SparkJobDefinition].yaml @@ -0,0 +1,664 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:58 GMT + Pragma: + - no-cache + RequestId: + - 4ccf422d-cf30-4011-9d55-417cbabef5d3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:58 GMT + Pragma: + - no-cache + RequestId: + - d438225e-c529-48e7-b0d5-12a41d42c2ec + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:48:59 GMT + Pragma: + - no-cache + RequestId: + - 47bd0276-3f0a-4bb4-99dc-d7ecfc7623a8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SparkJobDefinition", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '116' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/sparkJobDefinitions + response: + body: + string: '{"id": "aa76aa2e-1f88-45c8-88ff-f2405a967c78", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '173' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:01 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 19b86c3f-8c7a-4fa5-9b08-4544d951cb9c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:02 GMT + Pragma: + - no-cache + RequestId: + - 0eb647df-960a-4748-8301-71a9a8aacabb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "aa76aa2e-1f88-45c8-88ff-f2405a967c78", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '246' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:03 GMT + Pragma: + - no-cache + RequestId: + - 0da6468b-bfc1-4167-8286-9bd4eb15ff69 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/sparkJobDefinitions/aa76aa2e-1f88-45c8-88ff-f2405a967c78 + response: + body: + string: '{"id": "aa76aa2e-1f88-45c8-88ff-f2405a967c78", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"oneLakeRootPath": + "https://onelake.dfs.fabric.microsoft.com/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/aa76aa2e-1f88-45c8-88ff-f2405a967c78"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '236' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:05 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 8799d92c-12ea-4daf-bc4f-ec0e54e24766 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/aa76aa2e-1f88-45c8-88ff-f2405a967c78/getDefinition?format=SparkJobDefinitionV1 + response: + body: + string: '{"definition": {"parts": [{"path": "SparkJobDefinitionV1.json", "payload": + "ew0KICAiZXhlY3V0YWJsZUZpbGUiOiBudWxsLA0KICAiZGVmYXVsdExha2Vob3VzZUFydGlmYWN0SWQiOiBudWxsLA0KICAibWFpbkNsYXNzIjogbnVsbCwNCiAgImFkZGl0aW9uYWxMYWtlaG91c2VJZHMiOiBbXSwNCiAgInJldHJ5UG9saWN5IjogbnVsbCwNCiAgImNvbW1hbmRMaW5lQXJndW1lbnRzIjogbnVsbCwNCiAgImFkZGl0aW9uYWxMaWJyYXJ5VXJpcyI6IG51bGwsDQogICJsYW5ndWFnZSI6IG51bGwsDQogICJlbnZpcm9ubWVudEFydGlmYWN0SWQiOiBudWxsDQp9", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNwYXJrSm9iRGVmaW5pdGlvbiIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '616' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:06 GMT + Pragma: + - no-cache + RequestId: + - f386c590-6c77-479a-aae4-e2a1860de408 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/aa76aa2e-1f88-45c8-88ff-f2405a967c78/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:07 GMT + Pragma: + - no-cache + RequestId: + - b768551e-e2cf-4fff-ab31-9457b903a117 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/aa76aa2e-1f88-45c8-88ff-f2405a967c78/jobs/sparkjob/schedules + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:07 GMT + Pragma: + - no-cache + RequestId: + - 3bbb3da8-5a00-43b8-9d22-9cea581a9957 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:08 GMT + Pragma: + - no-cache + RequestId: + - bad0cf78-a7aa-4d3e-a14d-7cd467b5b860 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "aa76aa2e-1f88-45c8-88ff-f2405a967c78", "type": "SparkJobDefinition", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '246' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:09 GMT + Pragma: + - no-cache + RequestId: + - 3d6a1953-4a21-42f0-84bd-c57e5c339d21 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/aa76aa2e-1f88-45c8-88ff-f2405a967c78 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:49:10 GMT + Pragma: + - no-cache + RequestId: + - 2865beb6-b487-4349-892b-3d09cc2ceb46 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[UserDataFunction].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[UserDataFunction].yaml new file mode 100644 index 00000000..3320143d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[UserDataFunction].yaml @@ -0,0 +1,754 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:45 GMT + Pragma: + - no-cache + RequestId: + - c1be45b7-e8c9-4760-a626-57de7a4ee84f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '342' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:46 GMT + Pragma: + - no-cache + RequestId: + - 874219be-151c-4c96-ab23-550db8a648f9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '342' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:47 GMT + Pragma: + - no-cache + RequestId: + - 7978552c-a6f5-45e3-aa3c-bbfe9e1ac91b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "UserDataFunction", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/userdatafunctions + response: + body: + string: '{"id": "4e94c619-b243-44b3-b321-d34177b348ee", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:49 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 01ae08b4-bde9-41fd-8b6d-1aea21ab81fe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:50 GMT + Pragma: + - no-cache + RequestId: + - 8b83ce1c-9610-4512-bb4a-f0bf248743a2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "4e94c619-b243-44b3-b321-d34177b348ee", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '408' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:51 GMT + Pragma: + - no-cache + RequestId: + - a543586b-30f0-43e0-89ce-b3b30368b4a8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/userdatafunctions/4e94c619-b243-44b3-b321-d34177b348ee + response: + body: + string: '{"id": "4e94c619-b243-44b3-b321-d34177b348ee", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '172' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:52 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 63a77040-0c98-46ce-85d3-57e5fc88fceb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/4e94c619-b243-44b3-b321-d34177b348ee/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:06:52 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/33f46007-b1b7-44aa-bae0-b8c2ed0bcb73 + Pragma: + - no-cache + RequestId: + - 8ec07151-cc12-4963-ac23-49ee424205e3 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 33f46007-b1b7-44aa-bae0-b8c2ed0bcb73 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/33f46007-b1b7-44aa-bae0-b8c2ed0bcb73 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:06:53.6099605", + "lastUpdatedTimeUtc": "2026-02-03T09:06:53.9693422", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '129' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:15 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/33f46007-b1b7-44aa-bae0-b8c2ed0bcb73/result + Pragma: + - no-cache + RequestId: + - c8c2997f-18ec-4881-89ef-a81a1066344e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 33f46007-b1b7-44aa-bae0-b8c2ed0bcb73 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/33f46007-b1b7-44aa-bae0-b8c2ed0bcb73/result + response: + body: + string: '{"definition": {"parts": [{"path": "definition.json", "payload": "ew0KICAiJHNjaGVtYSI6ICJodHRwczovL2RldmVsb3Blci5taWNyb3NvZnQuY29tL2pzb24tc2NoZW1hcy9mYWJyaWMvaXRlbS91c2VyRGF0YUZ1bmN0aW9uL2RlZmluaXRpb24vMS4xLjAvc2NoZW1hLmpzb24iLA0KICAicnVudGltZSI6ICJQWVRIT04iLA0KICAiY29ubmVjdGVkRGF0YVNvdXJjZXMiOiBbXSwNCiAgImZ1bmN0aW9ucyI6IFtdLA0KICAibGlicmFyaWVzIjogew0KICAgICJwdWJsaWMiOiBbXSwNCiAgICAicHJpdmF0ZSI6IFtdDQogIH0NCn0=", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlVzZXJEYXRhRnVuY3Rpb24iLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:07:15 GMT + Pragma: + - no-cache + RequestId: + - f5c42d0e-2461-4649-9048-479e6f1770f0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/4e94c619-b243-44b3-b321-d34177b348ee/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:17 GMT + Pragma: + - no-cache + RequestId: + - 9b61ee3d-1bf3-41fb-b695-4e9eb7b30848 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:18 GMT + Pragma: + - no-cache + RequestId: + - 49e09526-f238-4957-83b2-13b127bbe40a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "8a817864-b5d7-42fb-aa32-d0a907d1b790", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "81efd2b3-44c8-47f6-b385-4c482b7e8427", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "4e94c619-b243-44b3-b321-d34177b348ee", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '408' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:07:18 GMT + Pragma: + - no-cache + RequestId: + - b8460b18-21bd-499a-81ea-9eea36e2fd3f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/4e94c619-b243-44b3-b321-d34177b348ee + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:07:20 GMT + Pragma: + - no-cache + RequestId: + - 55410f10-532f-4204-b475-9814bc262844 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Warehouse].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Warehouse].yaml new file mode 100644 index 00000000..8e9b16c7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_query_all_success[Warehouse].yaml @@ -0,0 +1,665 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:11 GMT + Pragma: + - no-cache + RequestId: + - 01354b94-69dd-43d3-8412-17cb93d25e27 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:12 GMT + Pragma: + - no-cache + RequestId: + - 05c1a021-cc4a-4074-a1f6-dfe3554b38eb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '175' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:12 GMT + Pragma: + - no-cache + RequestId: + - fbeed852-bc58-4039-a7e9-d2cd8acdbb54 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Warehouse", "folderId": null, "creationPayload": {"defaultCollation": "Latin1_General_100_BIN2_UTF8"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/warehouses + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:14 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ae52f763-e733-4c1e-8e1d-0d4dc3543100 + Pragma: + - no-cache + RequestId: + - 019eb08b-df94-4111-91b9-a5bbba0a69ac + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - ae52f763-e733-4c1e-8e1d-0d4dc3543100 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ae52f763-e733-4c1e-8e1d-0d4dc3543100 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:49:14.3177559", + "lastUpdatedTimeUtc": "2026-01-28T13:49:26.694946", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:36 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ae52f763-e733-4c1e-8e1d-0d4dc3543100/result + Pragma: + - no-cache + RequestId: + - f3795ad0-8d6c-435c-8a25-71d163b786e2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - ae52f763-e733-4c1e-8e1d-0d4dc3543100 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/ae52f763-e733-4c1e-8e1d-0d4dc3543100/result + response: + body: + string: '{"id": "45b89268-de07-4da3-98e3-953fa0104ecb", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:49:37 GMT + Pragma: + - no-cache + RequestId: + - 4305c8da-b74a-4672-8770-1d9f269d6e8e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:37 GMT + Pragma: + - no-cache + RequestId: + - 44305a2d-f02d-4281-af41-3a8b87a8fbab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "45b89268-de07-4da3-98e3-953fa0104ecb", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '240' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:38 GMT + Pragma: + - no-cache + RequestId: + - 1ff1ac09-fdde-42f3-be26-74a08faef481 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/warehouses/45b89268-de07-4da3-98e3-953fa0104ecb + response: + body: + string: '{"id": "45b89268-de07-4da3-98e3-953fa0104ecb", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"connectionInfo": "vwbb4lsqmqqejdvenqo7wshysy-ntstq2f6h3ruzc3jimrly7ctsi.datawarehouse.fabric.microsoft.com", + "connectionString": "mock_connection_string", "createdDate": "2026-01-28T13:49:14.0990046", + "lastUpdatedTime": "2026-01-28T13:49:26.694946", "collationType": "Latin1_General_100_BIN2_UTF8", + "creationMode": "New"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '358' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:39 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 544686da-521b-4a78-a5f6-0640ba1b92b0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/45b89268-de07-4da3-98e3-953fa0104ecb/connections + response: + body: + string: '{"requestId": "f6ce232e-9340-40ac-bf8a-65a3ae72bb36", "errorCode": + "OperationNotSupportedForItem", "message": "Operation not supported for requested + item"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:40 GMT + Pragma: + - no-cache + RequestId: + - f6ce232e-9340-40ac-bf8a-65a3ae72bb36 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-public-api-error-code: + - OperationNotSupportedForItem + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:40 GMT + Pragma: + - no-cache + RequestId: + - 93def50e-9d48-4a89-8404-09c566707909 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "45b89268-de07-4da3-98e3-953fa0104ecb", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '240' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:49:42 GMT + Pragma: + - no-cache + RequestId: + - 266b0604-de66-4780-af47-d67b01b11315 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/45b89268-de07-4da3-98e3-953fa0104ecb + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:49:42 GMT + Pragma: + - no-cache + RequestId: + - c2f0e0cb-5f87-4212-ad53-abe7bda6fb55 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[CosmosDBDatabase-True].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[CosmosDBDatabase-True].yaml new file mode 100644 index 00000000..c3ef3a26 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[CosmosDBDatabase-True].yaml @@ -0,0 +1,842 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:41 GMT + Pragma: + - no-cache + RequestId: + - 82a95529-6276-444c-bd5c-961bd7e29528 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '281' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:42 GMT + Pragma: + - no-cache + RequestId: + - 6a5bb5d7-f5d1-4a7c-8dbf-1ecfca187f86 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '281' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:42 GMT + Pragma: + - no-cache + RequestId: + - 1df6aeda-5b92-4c82-ae39-fe0840de29cc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "CosmosDBDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/cosmosDbDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:43 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c0eb671a-bad3-46d5-b417-b02cf91afc62 + Pragma: + - no-cache + RequestId: + - 7900ac3d-b517-46ee-9a4f-0b00a710f480 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - c0eb671a-bad3-46d5-b417-b02cf91afc62 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c0eb671a-bad3-46d5-b417-b02cf91afc62 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:04:43.5047294", + "lastUpdatedTimeUtc": "2026-02-03T09:04:49.9737677", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:05 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c0eb671a-bad3-46d5-b417-b02cf91afc62/result + Pragma: + - no-cache + RequestId: + - 1531be99-a411-4fa7-be8f-9539632bd57a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - c0eb671a-bad3-46d5-b417-b02cf91afc62 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c0eb671a-bad3-46d5-b417-b02cf91afc62/result + response: + body: + string: '{"id": "7b8085ac-745f-4a88-b06e-16a569c40a80", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:05:07 GMT + Pragma: + - no-cache + RequestId: + - ad41a023-e884-4c4e-a66a-b263671df724 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:07 GMT + Pragma: + - no-cache + RequestId: + - f261b1c4-b036-465c-9e42-17085da73990 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "3f94d972-1b5f-4493-b014-a8700b4a3b19", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "7b8085ac-745f-4a88-b06e-16a569c40a80", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '372' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:08 GMT + Pragma: + - no-cache + RequestId: + - 5d69f697-c87c-4c0f-9eb4-1f2a1d7e18bb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/cosmosDbDatabases/7b8085ac-745f-4a88-b06e-16a569c40a80 + response: + body: + string: '{"id": "7b8085ac-745f-4a88-b06e-16a569c40a80", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:09 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b6d58f1e-cf68-4f14-8f1e-d3bf3d7852b6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/7b8085ac-745f-4a88-b06e-16a569c40a80/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:09 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/37cb116c-7931-4620-9f22-7a8855f32936 + Pragma: + - no-cache + RequestId: + - 46fa3e57-2be7-4f92-827c-3790ff9e699b + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 37cb116c-7931-4620-9f22-7a8855f32936 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/37cb116c-7931-4620-9f22-7a8855f32936 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:05:10.589321", + "lastUpdatedTimeUtc": "2026-02-03T09:05:11.3549585", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '129' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:32 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/37cb116c-7931-4620-9f22-7a8855f32936/result + Pragma: + - no-cache + RequestId: + - 94136df1-93db-400d-b250-403edd96103e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 37cb116c-7931-4620-9f22-7a8855f32936 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/37cb116c-7931-4620-9f22-7a8855f32936/result + response: + body: + string: '{"definition": {"parts": [{"path": "definition.json", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9pdGVtL0Nvc21vc0RCL2RlZmluaXRpb24vQ29zbW9zREIvMi4wLjAvc2NoZW1hLmpzb24iLAogICJjb250YWluZXJzIjogW10KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkNvc21vc0RCRGF0YWJhc2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:05:33 GMT + Pragma: + - no-cache + RequestId: + - d52aaf1f-28af-4056-ae66-a932e83fa5c2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/7b8085ac-745f-4a88-b06e-16a569c40a80/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:34 GMT + Pragma: + - no-cache + RequestId: + - 06c9a988-9eda-4dac-82df-3d0b63985421 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:35 GMT + Pragma: + - no-cache + RequestId: + - c286d251-408a-4a54-ac12-c437b832cad6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "3f94d972-1b5f-4493-b014-a8700b4a3b19", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "7b8085ac-745f-4a88-b06e-16a569c40a80", "type": "CosmosDBDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '372' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:05:35 GMT + Pragma: + - no-cache + RequestId: + - 9d92e26a-1a7f-40f7-aed6-16022efbae6f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/7b8085ac-745f-4a88-b06e-16a569c40a80 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:05:37 GMT + Pragma: + - no-cache + RequestId: + - f69af616-65c8-429f-affb-4c9977fcc292 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[DataPipeline-True].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[DataPipeline-True].yaml new file mode 100644 index 00000000..fde2f4d7 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[DataPipeline-True].yaml @@ -0,0 +1,693 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:13 GMT + Pragma: + - no-cache + RequestId: + - d56e69e5-76eb-4caa-922b-16384fa0cd07 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:14 GMT + Pragma: + - no-cache + RequestId: + - 44190705-5137-4e16-bef8-bcb52d90d0e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:15 GMT + Pragma: + - no-cache + RequestId: + - 6352aae9-1413-493b-8719-5b4fef77837c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "DataPipeline", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '110' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/dataPipelines + response: + body: + string: '{"id": "362a1b34-9738-4ccc-b885-2ea61c6f07f9", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:20 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c5611aed-c5f3-43da-9742-f91fc9b1c718 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:20 GMT + Pragma: + - no-cache + RequestId: + - 8d6c7486-c01b-4315-bd7b-abf31cf0020b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "362a1b34-9738-4ccc-b885-2ea61c6f07f9", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '389' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:21 GMT + Pragma: + - no-cache + RequestId: + - d1aec5d0-4767-4543-a13c-385a8aa621bb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/dataPipelines/362a1b34-9738-4ccc-b885-2ea61c6f07f9 + response: + body: + string: '{"id": "362a1b34-9738-4ccc-b885-2ea61c6f07f9", "type": "DataPipeline", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:22 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 1bfd9db5-10bc-4388-9d76-e38c2221ec5d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/362a1b34-9738-4ccc-b885-2ea61c6f07f9/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "pipeline-content.json", "payload": + "ewogICJwcm9wZXJ0aWVzIjogewogICAgImFjdGl2aXRpZXMiOiBbXQogIH0KfQ==", "payloadType": + "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkRhdGFQaXBlbGluZSIsCiAgICAiZGlzcGxheU5hbWUiOiAiZmFiY2xpMDAwMDAxIiwKICAgICJkZXNjcmlwdGlvbiI6ICJDcmVhdGVkIGJ5IGZhYiIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '457' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:22 GMT + Pragma: + - no-cache + RequestId: + - 145082ae-c9f8-4e5f-ac68-3bcc8ae43408 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/362a1b34-9738-4ccc-b885-2ea61c6f07f9/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:24 GMT + Pragma: + - no-cache + RequestId: + - 47c390c6-b0d6-45d6-8eaa-f68985788eec + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/362a1b34-9738-4ccc-b885-2ea61c6f07f9/jobs/Pipeline/schedules + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:25 GMT + Pragma: + - no-cache + RequestId: + - 5b35d3c5-5289-4b9d-badd-90587e65c8c6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:26 GMT + Pragma: + - no-cache + RequestId: + - 1e471542-1311-4dde-8eed-8b55681a1cbb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "362a1b34-9738-4ccc-b885-2ea61c6f07f9", + "type": "DataPipeline", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '389' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:26 GMT + Pragma: + - no-cache + RequestId: + - 2a11be14-e080-4d43-912f-a38ba39a81f7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/362a1b34-9738-4ccc-b885-2ea61c6f07f9 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:52:27 GMT + Pragma: + - no-cache + RequestId: + - 4a414003-3da2-40b0-8cb5-8b791f81aadb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Environment-False].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Environment-False].yaml new file mode 100644 index 00000000..8cf9b196 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Environment-False].yaml @@ -0,0 +1,780 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:40 GMT + Pragma: + - no-cache + RequestId: + - 2969242c-40e7-47d8-8eea-24d2c01cb962 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:42 GMT + Pragma: + - no-cache + RequestId: + - ce51185e-5ccc-4eaf-8cc0-694e107b364b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:42 GMT + Pragma: + - no-cache + RequestId: + - 227f5085-02d9-43fa-8f49-deaf0763168c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Environment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments + response: + body: + string: '{"id": "8b8dce6a-c4cc-4b0c-84d1-21b00b058f21", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:45 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 61a0b768-55c1-4030-8113-e31b91b81d4e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:45 GMT + Pragma: + - no-cache + RequestId: + - 51fbb260-bfaf-4734-8325-813e91aea763 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "8b8dce6a-c4cc-4b0c-84d1-21b00b058f21", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '392' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:46 GMT + Pragma: + - no-cache + RequestId: + - 4558f126-0a12-4f98-ada0-8183844805c5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/8b8dce6a-c4cc-4b0c-84d1-21b00b058f21 + response: + body: + string: '{"id": "8b8dce6a-c4cc-4b0c-84d1-21b00b058f21", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"publishDetails": {"state": + "Success", "targetVersion": "28670d51-8dcf-4cd6-befa-da425c4d429f", "startTime": + "2026-01-28T13:52:45.2743642Z", "endTime": "2026-01-28T13:52:45.2743642Z", + "componentPublishInfo": {"sparkSettings": {"state": "Success"}, "sparkLibraries": + {"state": "Success"}}}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '315' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:47 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7eebe885-601f-4607-bfff-d43fc5c917fc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/8b8dce6a-c4cc-4b0c-84d1-21b00b058f21/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:48 GMT + Pragma: + - no-cache + RequestId: + - d5563d5d-9de5-49fe-9245-fec284c41eab + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/8b8dce6a-c4cc-4b0c-84d1-21b00b058f21/libraries + response: + body: + string: '{"requestId": "e0d6b73e-2875-401b-a6d7-b28031186f2e", "errorCode": + "EnvironmentLibrariesNotFound", "message": "This environment does not have + any published libraries. Please publish libraries."}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '189' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:49 GMT + RequestId: + - e0d6b73e-2875-401b-a6d7-b28031186f2e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-public-api-error-code: + - EnvironmentLibrariesNotFound + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/8b8dce6a-c4cc-4b0c-84d1-21b00b058f21/staging/libraries + response: + body: + string: '{"requestId": "b6dd2f36-9f03-4152-a530-d14e30ad13cd", "errorCode": + "EnvironmentLibrariesNotFound", "message": "This environment does not have + any staged libraries. Please upload libraries."}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:51 GMT + RequestId: + - b6dd2f36-9f03-4152-a530-d14e30ad13cd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-public-api-error-code: + - EnvironmentLibrariesNotFound + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/8b8dce6a-c4cc-4b0c-84d1-21b00b058f21/sparkcompute + response: + body: + string: '{"instancePool": {"name": "Starter Pool", "type": "Workspace", "id": + "00000000-0000-0000-0000-000000000000"}, "driverCores": 8, "driverMemory": + "56g", "executorCores": 8, "executorMemory": "56g", "dynamicExecutorAllocation": + {"enabled": true, "minExecutors": 1, "maxExecutors": 9}, "sparkProperties": + {}, "runtimeVersion": "1.3"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:52 GMT + RequestId: + - 6ecbca7b-0e99-4442-bc78-695aeac7bb7c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/8b8dce6a-c4cc-4b0c-84d1-21b00b058f21/staging/sparkcompute + response: + body: + string: '{"instancePool": {"name": "Starter Pool", "type": "Workspace", "id": + "00000000-0000-0000-0000-000000000000"}, "driverCores": 8, "driverMemory": + "56g", "executorCores": 8, "executorMemory": "56g", "dynamicExecutorAllocation": + {"enabled": true, "minExecutors": 1, "maxExecutors": 9}, "sparkProperties": + {}, "runtimeVersion": "1.3"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:52 GMT + RequestId: + - 7a567cf5-cf3b-430c-95a3-8bde323c1766 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:53 GMT + Pragma: + - no-cache + RequestId: + - 26791ab2-bf7d-4b4a-b928-a73d386d5a31 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "8b8dce6a-c4cc-4b0c-84d1-21b00b058f21", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '392' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:54 GMT + Pragma: + - no-cache + RequestId: + - d74b2951-03cf-47f9-bb81-15b6969f0058 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/8b8dce6a-c4cc-4b0c-84d1-21b00b058f21 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:52:54 GMT + Pragma: + - no-cache + RequestId: + - 5b0fb00f-aa10-49b3-a99e-21349f54d73a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[GraphQuerySet-True].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[GraphQuerySet-True].yaml new file mode 100644 index 00000000..ae6d64c4 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[GraphQuerySet-True].yaml @@ -0,0 +1,737 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:03:31 GMT + Pragma: + - no-cache + RequestId: + - 57b9d557-7919-4bc8-b81f-806518e9a620 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '281' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:03:31 GMT + Pragma: + - no-cache + RequestId: + - af4d2f93-df34-4c1a-b6e4-ec4f8ec3bd14 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '281' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:03:31 GMT + Pragma: + - no-cache + RequestId: + - 0b1a9188-bd44-40be-bd05-a3d1d4a96de1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "GraphQuerySet", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '111' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/GraphQuerySets + response: + body: + string: '{"id": "ed4c3437-1659-40bc-adc6-8b464f38685a", "type": "GraphQuerySet", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:03:36 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b4b14dea-cf09-4baa-8bc2-848c488e5471 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:03:37 GMT + Pragma: + - no-cache + RequestId: + - a6b105d9-158b-459b-84fa-b344e3fdc9d3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "ed4c3437-1659-40bc-adc6-8b464f38685a", "type": "GraphQuerySet", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '344' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:03:37 GMT + Pragma: + - no-cache + RequestId: + - b9a4be6a-a617-424a-89f4-132b1a3c75de + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/GraphQuerySets/ed4c3437-1659-40bc-adc6-8b464f38685a + response: + body: + string: '{"id": "ed4c3437-1659-40bc-adc6-8b464f38685a", "type": "GraphQuerySet", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:03:38 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 39a42f99-6932-4425-8e0b-a74bf50dfa43 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/ed4c3437-1659-40bc-adc6-8b464f38685a/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:03:39 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2b93e0f8-5f0d-43f8-a27a-3d44db26aef5 + Pragma: + - no-cache + RequestId: + - 50dd95c2-aa7a-4b32-8603-c7b9f9cb04a0 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 2b93e0f8-5f0d-43f8-a27a-3d44db26aef5 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2b93e0f8-5f0d-43f8-a27a-3d44db26aef5 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:03:39.6239506", + "lastUpdatedTimeUtc": "2026-02-03T09:03:39.8895727", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '129' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:01 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2b93e0f8-5f0d-43f8-a27a-3d44db26aef5/result + Pragma: + - no-cache + RequestId: + - c7a22e0d-5b07-4678-aa4a-e8cb5750a082 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 2b93e0f8-5f0d-43f8-a27a-3d44db26aef5 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/2b93e0f8-5f0d-43f8-a27a-3d44db26aef5/result + response: + body: + string: '{"definition": {"parts": [{"path": "exportedDefinition.json", "payload": + "eyJkZXBlbmRlbmNpZXMiOltdLCJpbmRpcmVjdERlcGVuZGVuY2llcyI6W10sIkFydGlmYWN0Q29udGVudHMiOltdLCJDb25maWd1cmF0aW9uQ2F0ZWdvcmllcyI6W119", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIkdyYXBoUXVlcnlTZXQiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:04:02 GMT + Pragma: + - no-cache + RequestId: + - e38d9be9-7b3f-4baa-971f-c915dc0a5f3e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/ed4c3437-1659-40bc-adc6-8b464f38685a/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:03 GMT + Pragma: + - no-cache + RequestId: + - 25600694-a300-4ade-8c76-96b6cddf8e5e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:04 GMT + Pragma: + - no-cache + RequestId: + - 501ade88-7fb1-421f-aee3-673d58bfda93 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "ed4c3437-1659-40bc-adc6-8b464f38685a", "type": "GraphQuerySet", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '344' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:04 GMT + Pragma: + - no-cache + RequestId: + - c235cd92-4c48-4051-bf70-de2f0acfe578 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/ed4c3437-1659-40bc-adc6-8b464f38685a + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:04:05 GMT + Pragma: + - no-cache + RequestId: + - fd0e6f23-fb58-4d09-931a-986089a3f92a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Lakehouse-False].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Lakehouse-False].yaml new file mode 100644 index 00000000..cfec4e7c --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Lakehouse-False].yaml @@ -0,0 +1,646 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:28 GMT + Pragma: + - no-cache + RequestId: + - 5b5055ae-2b8d-4e26-86af-05ade8fd79e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:28 GMT + Pragma: + - no-cache + RequestId: + - 04a772ec-2eaf-49cf-8bda-24b20c674dbf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:30 GMT + Pragma: + - no-cache + RequestId: + - 2b46ef21-0e52-4ee9-a490-64aa7dbb41ca + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Lakehouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '107' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/lakehouses + response: + body: + string: '{"id": "7279d4b2-3343-4b52-b49f-4af6dee3883b", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '164' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:34 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0fcdd970-2a5f-4ff3-8ba2-eead5973a481 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:34 GMT + Pragma: + - no-cache + RequestId: + - 9959ef0f-3ed5-400a-bf60-a32e38be28ff + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "7279d4b2-3343-4b52-b49f-4af6dee3883b", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '380' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:35 GMT + Pragma: + - no-cache + RequestId: + - 02250701-0e6a-406d-9b00-db2f2c892618 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/lakehouses/7279d4b2-3343-4b52-b49f-4af6dee3883b + response: + body: + string: '{"id": "7279d4b2-3343-4b52-b49f-4af6dee3883b", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"oneLakeTablesPath": + "https://onelake.dfs.fabric.microsoft.com/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/7279d4b2-3343-4b52-b49f-4af6dee3883b/Tables", + "oneLakeFilesPath": "https://onelake.dfs.fabric.microsoft.com/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/7279d4b2-3343-4b52-b49f-4af6dee3883b/Files", + "sqlEndpointProperties": {"connectionString": null, "id": null, "provisioningStatus": + "InProgress"}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '301' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:36 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - c3b4ba7a-8af2-4b56-b515-429a61b516ed + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/7279d4b2-3343-4b52-b49f-4af6dee3883b/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:37 GMT + Pragma: + - no-cache + RequestId: + - 963e010d-4b36-4e90-ab42-e27d94fae809 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/7279d4b2-3343-4b52-b49f-4af6dee3883b/jobs/TableMaintenance/schedules + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:38 GMT + Pragma: + - no-cache + RequestId: + - db4ca17c-59b1-4d0f-b1fe-4a8acfcad574 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:39 GMT + Pragma: + - no-cache + RequestId: + - 584f4543-a368-40cd-aefe-41d0fbde089b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "89c3a487-3672-4bca-9604-441e42cbeed2", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "7279d4b2-3343-4b52-b49f-4af6dee3883b", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '408' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:39 GMT + Pragma: + - no-cache + RequestId: + - 25977f6f-7542-4572-ac5b-146325492251 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/7279d4b2-3343-4b52-b49f-4af6dee3883b + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:52:40 GMT + Pragma: + - no-cache + RequestId: + - 9b571e42-27d0-4cb4-b6bb-08ad3a823131 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[MirroredDatabase-True].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[MirroredDatabase-True].yaml new file mode 100644 index 00000000..2a0dbf13 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[MirroredDatabase-True].yaml @@ -0,0 +1,723 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:46 GMT + Pragma: + - no-cache + RequestId: + - cb3abfcc-fda7-4af6-ae2d-3ec354da5430 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:47 GMT + Pragma: + - no-cache + RequestId: + - 78659c82-76b6-4085-b75c-46975d134c2d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '248' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:48 GMT + Pragma: + - no-cache + RequestId: + - 17fdc7b2-5785-4551-bfe3-1313325f521b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MirroredDatabase", "folderId": null, "definition": {"parts": [{"path": "mirroring.json", + "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgInNvdXJjZSI6IHsKICAgICAgICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsCiAgICAgICAgICAgICJ0eXBlUHJvcGVydGllcyI6IHt9CiAgICAgICAgfSwKICAgICAgICAidGFyZ2V0IjogewogICAgICAgICAgICAidHlwZSI6ICJNb3VudGVkUmVsYXRpb25hbERhdGFiYXNlIiwKICAgICAgICAgICAgInR5cGVQcm9wZXJ0aWVzIjogewogICAgICAgICAgICAgICAgImZvcm1hdCI6ICJEZWx0YSIKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '603' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases + response: + body: + string: '{"id": "11e84af4-4f56-4487-9641-e682dd53efa2", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '169' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:50 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 88f760eb-d60c-4cb8-91c8-4ccb6fb7f3c1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:51 GMT + Pragma: + - no-cache + RequestId: + - 0b1cca60-721a-439f-81cb-1a199f6a2232 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "11e84af4-4f56-4487-9641-e682dd53efa2", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '311' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:52 GMT + Pragma: + - no-cache + RequestId: + - d4df259d-62dc-4f6c-a3b7-cabd638eb342 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases/11e84af4-4f56-4487-9641-e682dd53efa2 + response: + body: + string: '{"id": "11e84af4-4f56-4487-9641-e682dd53efa2", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"oneLakeTablesPath": + null, "sqlEndpointProperties": {"connectionString": null, "id": null, "provisioningStatus": + "InProgress"}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '256' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:53 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7049042c-af8c-46d3-a808-e5680c70d9e6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/11e84af4-4f56-4487-9641-e682dd53efa2/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "mirroring.json", "payload": "ew0KICAicHJvcGVydGllcyI6IHsNCiAgICAic291cmNlIjogew0KICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsDQogICAgICAidHlwZVByb3BlcnRpZXMiOiB7fQ0KICAgIH0sDQogICAgInRhcmdldCI6IHsNCiAgICAgICJ0eXBlIjogIk1vdW50ZWRSZWxhdGlvbmFsRGF0YWJhc2UiLA0KICAgICAgInR5cGVQcm9wZXJ0aWVzIjogew0KICAgICAgICAiZm9ybWF0IjogIkRlbHRhIg0KICAgICAgfQ0KICAgIH0NCiAgfQ0KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk1pcnJvcmVkRGF0YWJhc2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '562' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:54 GMT + Pragma: + - no-cache + RequestId: + - 6b2e5e7e-3d1e-444b-9a21-64457c57eb5d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/11e84af4-4f56-4487-9641-e682dd53efa2/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:50:55 GMT + Pragma: + - no-cache + RequestId: + - 81138cf7-5ee8-4a10-ae95-ecb6db676bdf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases/11e84af4-4f56-4487-9641-e682dd53efa2/getMirroringStatus + response: + body: + string: '{"status": "Initialized"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '31' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:11 GMT + RequestId: + - 489dee66-2183-4b34-b73b-82b461de3b40 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases/11e84af4-4f56-4487-9641-e682dd53efa2/getTablesMirroringStatus + response: + body: + string: '{"continuationToken": null, "continuationUri": null, "data": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '76' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:12 GMT + RequestId: + - e537268e-cede-431e-968f-52a9fac49a99 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:12 GMT + Pragma: + - no-cache + RequestId: + - 6edf7b31-d31f-4284-91b5-4cd0a86919da + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bf5fbdee-15b5-4e66-b763-59caf191bc11", + "type": "SQLEndpoint", "displayName": "fabcli000001", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "11e84af4-4f56-4487-9641-e682dd53efa2", + "type": "MirroredDatabase", "displayName": "fabcli000001", "description": + "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '421' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:14 GMT + Pragma: + - no-cache + RequestId: + - 7f407dce-dbc2-45ce-a1ac-9e2c673e0d0c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/11e84af4-4f56-4487-9641-e682dd53efa2 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:51:14 GMT + Pragma: + - no-cache + RequestId: + - f8f1b3cb-1a79-414a-a5cd-31e136be38fc + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Notebook-True].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Notebook-True].yaml new file mode 100644 index 00000000..7fa79008 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Notebook-True].yaml @@ -0,0 +1,895 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:15 GMT + Pragma: + - no-cache + RequestId: + - 50a78060-1ab4-489e-a1f0-f0431de0d48f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:16 GMT + Pragma: + - no-cache + RequestId: + - ef1ac7ff-1408-4f29-9feb-c6cd50b31431 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:17 GMT + Pragma: + - no-cache + RequestId: + - 8facf6ad-4129-4845-97af-bd90bc719b3b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Notebook", "folderId": null, "definition": {"parts": [{"path": "notebook-content.py", + "payload": "IyBGYWJyaWMgbm90ZWJvb2sgc291cmNlCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAia2VybmVsX2luZm8iOiB7CiMgTUVUQSAgICAgIm5hbWUiOiAic3luYXBzZV9weXNwYXJrIgojIE1FVEEgICB9LAojIE1FVEEgICAiZGVwZW5kZW5jaWVzIjoge30KIyBNRVRBIH0KCiMgQ0VMTCAqKioqKioqKioqKioqKioqKioqKgoKIyBXZWxjb21lIHRvIHlvdXIgbmV3IG5vdGVib29rCiMgVHlwZSBoZXJlIGluIHRoZSBjZWxsIGVkaXRvciB0byBhZGQgY29kZSEKCgojIE1FVEFEQVRBICoqKioqKioqKioqKioqKioqKioqCgojIE1FVEEgewojIE1FVEEgICAibGFuZ3VhZ2UiOiAicHl0aG9uIiwKIyBNRVRBICAgImxhbmd1YWdlX2dyb3VwIjogInN5bmFwc2VfcHlzcGFyayIKIyBNRVRBIH0K", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '764' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/notebooks + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:18 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/624e0585-8107-4121-94e3-abd5b792c9fd + Pragma: + - no-cache + RequestId: + - 3f8223d8-5636-4e6e-bc64-9b9333d09eb8 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 624e0585-8107-4121-94e3-abd5b792c9fd + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/624e0585-8107-4121-94e3-abd5b792c9fd + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:51:19.0178102", + "lastUpdatedTimeUtc": "2026-01-28T13:51:20.4089795", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:40 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/624e0585-8107-4121-94e3-abd5b792c9fd/result + Pragma: + - no-cache + RequestId: + - 27e94f86-68e0-4afd-9d8e-0fcbfc9b68c5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 624e0585-8107-4121-94e3-abd5b792c9fd + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/624e0585-8107-4121-94e3-abd5b792c9fd/result + response: + body: + string: '{"id": "3f7835ef-a4dd-4008-a0fc-6abec915a217", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:51:42 GMT + Pragma: + - no-cache + RequestId: + - a492319b-bf39-4057-be14-0c8e1785a07b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:42 GMT + Pragma: + - no-cache + RequestId: + - cbde253c-ffdd-462e-9253-9d39a4cf0f0c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "3f7835ef-a4dd-4008-a0fc-6abec915a217", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '385' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:44 GMT + Pragma: + - no-cache + RequestId: + - 43a45e05-5d33-4343-b043-74169adb13fb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/notebooks/3f7835ef-a4dd-4008-a0fc-6abec915a217 + response: + body: + string: '{"id": "3f7835ef-a4dd-4008-a0fc-6abec915a217", "type": "Notebook", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '165' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - ecc1353b-f168-4ba5-8ec0-9717cc4ce3a0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/3f7835ef-a4dd-4008-a0fc-6abec915a217/getDefinition?format=ipynb + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:51:44 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d7b7cea9-fd0c-48e9-bfbc-4ac813dba4ef + Pragma: + - no-cache + RequestId: + - d263bcec-5595-4a25-8c15-a03a8ccbd6e9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - d7b7cea9-fd0c-48e9-bfbc-4ac813dba4ef + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d7b7cea9-fd0c-48e9-bfbc-4ac813dba4ef + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:51:45.7743781", + "lastUpdatedTimeUtc": "2026-01-28T13:51:46.1032032", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:06 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d7b7cea9-fd0c-48e9-bfbc-4ac813dba4ef/result + Pragma: + - no-cache + RequestId: + - 2f13516c-ec93-4d9e-a357-d69c4ca6081e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - d7b7cea9-fd0c-48e9-bfbc-4ac813dba4ef + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/d7b7cea9-fd0c-48e9-bfbc-4ac813dba4ef/result + response: + body: + string: '{"definition": {"parts": [{"path": "notebook-content.ipynb", "payload": + "eyJuYmZvcm1hdCI6NCwibmJmb3JtYXRfbWlub3IiOjUsIm1ldGFkYXRhIjp7Imxhbmd1YWdlX2luZm8iOnsibmFtZSI6InB5dGhvbiJ9LCJrZXJuZWxfaW5mbyI6eyJuYW1lIjoic3luYXBzZV9weXNwYXJrIiwianVweXRlcl9rZXJuZWxfbmFtZSI6bnVsbH0sImEzNjVDb21wdXRlT3B0aW9ucyI6bnVsbCwic2Vzc2lvbktlZXBBbGl2ZVRpbWVvdXQiOjAsImRlcGVuZGVuY2llcyI6eyJsYWtlaG91c2UiOm51bGx9fSwiY2VsbHMiOlt7ImNlbGxfdHlwZSI6ImNvZGUiLCJtZXRhZGF0YSI6eyJtaWNyb3NvZnQiOnsibGFuZ3VhZ2UiOiJweXRob24iLCJsYW5ndWFnZV9ncm91cCI6InN5bmFwc2VfcHlzcGFyayJ9fSwic291cmNlIjpbIiMgV2VsY29tZSB0byB5b3VyIG5ldyBub3RlYm9va1xuIiwiIyBUeXBlIGhlcmUgaW4gdGhlIGNlbGwgZWRpdG9yIHRvIGFkZCBjb2RlIVxuIl0sIm91dHB1dHMiOltdfV19", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk5vdGVib29rIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:52:08 GMT + Pragma: + - no-cache + RequestId: + - 06f2133e-fbc6-4518-9aad-81f20a5815f9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/3f7835ef-a4dd-4008-a0fc-6abec915a217/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:08 GMT + Pragma: + - no-cache + RequestId: + - 9bdc4e63-6a10-4a46-8cbe-038ec46982c9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/3f7835ef-a4dd-4008-a0fc-6abec915a217/jobs/RunNotebook/schedules + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:10 GMT + Pragma: + - no-cache + RequestId: + - ceab7dbb-843a-464d-bf65-6759ecbd0905 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:10 GMT + Pragma: + - no-cache + RequestId: + - 83b52f85-ec3f-4310-a026-b0b916794a36 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "3f7835ef-a4dd-4008-a0fc-6abec915a217", + "type": "Notebook", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '385' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:11 GMT + Pragma: + - no-cache + RequestId: + - 11336272-8f89-4245-9a93-d71f78c58152 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/3f7835ef-a4dd-4008-a0fc-6abec915a217 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:52:12 GMT + Pragma: + - no-cache + RequestId: + - c492f5a2-d688-46f7-8ce0-c0fcb93a5090 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[UserDataFunction-True].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[UserDataFunction-True].yaml new file mode 100644 index 00000000..c2098685 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[UserDataFunction-True].yaml @@ -0,0 +1,738 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:06 GMT + Pragma: + - no-cache + RequestId: + - 66248ddd-0806-44be-93ca-301621b7b6f6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '281' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:07 GMT + Pragma: + - no-cache + RequestId: + - 899abb4f-1f2e-414f-9741-e7cfd1d395e7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '281' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:08 GMT + Pragma: + - no-cache + RequestId: + - 0aed77be-8a53-4267-ace5-3786cade906f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "UserDataFunction", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '114' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/userdatafunctions + response: + body: + string: '{"id": "7459ca48-0664-43f2-96cc-7ad034ffa072", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '173' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:10 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 7b4db80d-271d-47d5-bd27-6e91bafdcee9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:12 GMT + Pragma: + - no-cache + RequestId: + - 3c3c5995-1692-4288-93bc-b736a06bd699 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "7459ca48-0664-43f2-96cc-7ad034ffa072", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '348' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:12 GMT + Pragma: + - no-cache + RequestId: + - a5ce498f-3d68-4234-8ef9-ea33eda51c4e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/userdatafunctions/7459ca48-0664-43f2-96cc-7ad034ffa072 + response: + body: + string: '{"id": "7459ca48-0664-43f2-96cc-7ad034ffa072", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '173' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:13 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b897a014-eecc-4b57-b36f-b66089433ecd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/7459ca48-0664-43f2-96cc-7ad034ffa072/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:14 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/fd3cef1c-506d-4ec9-8e98-a6fd750ab66e + Pragma: + - no-cache + RequestId: + - 9f0a7fef-4462-4ae0-ad34-959c5b9b247f + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - fd3cef1c-506d-4ec9-8e98-a6fd750ab66e + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/fd3cef1c-506d-4ec9-8e98-a6fd750ab66e + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-02-03T09:04:14.8590534", + "lastUpdatedTimeUtc": "2026-02-03T09:04:15.1403052", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:37 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/fd3cef1c-506d-4ec9-8e98-a6fd750ab66e/result + Pragma: + - no-cache + RequestId: + - 639e24cb-67ec-4958-b854-da7969b4ea79 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - fd3cef1c-506d-4ec9-8e98-a6fd750ab66e + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/fd3cef1c-506d-4ec9-8e98-a6fd750ab66e/result + response: + body: + string: '{"definition": {"parts": [{"path": "definition.json", "payload": "ew0KICAiJHNjaGVtYSI6ICJodHRwczovL2RldmVsb3Blci5taWNyb3NvZnQuY29tL2pzb24tc2NoZW1hcy9mYWJyaWMvaXRlbS91c2VyRGF0YUZ1bmN0aW9uL2RlZmluaXRpb24vMS4xLjAvc2NoZW1hLmpzb24iLA0KICAicnVudGltZSI6ICJQWVRIT04iLA0KICAiY29ubmVjdGVkRGF0YVNvdXJjZXMiOiBbXSwNCiAgImZ1bmN0aW9ucyI6IFtdLA0KICAibGlicmFyaWVzIjogew0KICAgICJwdWJsaWMiOiBbXSwNCiAgICAicHJpdmF0ZSI6IFtdDQogIH0NCn0=", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlVzZXJEYXRhRnVuY3Rpb24iLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Tue, 03 Feb 2026 09:04:37 GMT + Pragma: + - no-cache + RequestId: + - 56fc3a55-874a-43a0-b0dc-878b9184222f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/7459ca48-0664-43f2-96cc-7ad034ffa072/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:38 GMT + Pragma: + - no-cache + RequestId: + - a181171f-0971-4713-9275-b9e00b4679fa + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "5b6cb64b-1e77-45f0-9485-db8db4aad44b", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2458' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:39 GMT + Pragma: + - no-cache + RequestId: + - 031c20bd-16d5-4c93-81f0-ef07621476b6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items + response: + body: + string: '{"value": [{"id": "e259adaa-0708-459e-b63b-8702430868c7", "type": "SQLEndpoint", + "displayName": "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "6b8030b8-a720-4ce7-b27c-86921638ece3", "type": "SQLEndpoint", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "07eb9019-ae99-4783-84ec-f2b7962dc21b", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "e4c6a8ad-667c-4cda-ac9f-f1b3796dcbe7", "type": "Lakehouse", "displayName": + "fabcli000001dtdm", "description": "", "workspaceId": "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}, + {"id": "7459ca48-0664-43f2-96cc-7ad034ffa072", "type": "UserDataFunction", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "5b6cb64b-1e77-45f0-9485-db8db4aad44b"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '348' + Content-Type: + - application/json; charset=utf-8 + Date: + - Tue, 03 Feb 2026 09:04:40 GMT + Pragma: + - no-cache + RequestId: + - 990cfd0a-29e9-4c93-aa38-fe64884bbb92 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/5b6cb64b-1e77-45f0-9485-db8db4aad44b/items/7459ca48-0664-43f2-96cc-7ad034ffa072 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Tue, 03 Feb 2026 09:04:40 GMT + Pragma: + - no-cache + RequestId: + - 4586d546-a099-4bd7-b4d7-76bf1bef2b55 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Warehouse-False].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Warehouse-False].yaml new file mode 100644 index 00000000..aa45069d --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_warning_behavior_success[Warehouse-False].yaml @@ -0,0 +1,697 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:55 GMT + Pragma: + - no-cache + RequestId: + - 14cf8315-c9fd-44e9-990a-042db76e92df + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:56 GMT + Pragma: + - no-cache + RequestId: + - f16666b5-6742-4dab-8d10-3d00ea1a9463 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:56 GMT + Pragma: + - no-cache + RequestId: + - 5f02a107-7b95-433d-94a7-c849082f9fd9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Warehouse", "folderId": null, "creationPayload": {"defaultCollation": "Latin1_General_100_BIN2_UTF8"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/warehouses + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:52:57 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/61f33afe-719c-418c-a751-f3694589278c + Pragma: + - no-cache + RequestId: + - d243b91a-9efe-47b1-9c27-9304b5d32a90 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 61f33afe-719c-418c-a751-f3694589278c + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/61f33afe-719c-418c-a751-f3694589278c + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:52:57.8601996", + "lastUpdatedTimeUtc": "2026-01-28T13:53:02.6730957", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:19 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/61f33afe-719c-418c-a751-f3694589278c/result + Pragma: + - no-cache + RequestId: + - ea9a03f1-edb7-4682-97f8-91f02992697c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 61f33afe-719c-418c-a751-f3694589278c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/61f33afe-719c-418c-a751-f3694589278c/result + response: + body: + string: '{"id": "ac53826a-6720-4ce4-a08b-8054ee69c867", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:53:20 GMT + Pragma: + - no-cache + RequestId: + - 0f360f28-9dde-49c6-a104-2e7d82ea4830 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:20 GMT + Pragma: + - no-cache + RequestId: + - c6788a32-9f30-4652-9ffd-b42e58bb201d + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "ac53826a-6720-4ce4-a08b-8054ee69c867", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '380' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:21 GMT + Pragma: + - no-cache + RequestId: + - 0cce14ee-42f5-40a8-b2dd-8162634d811f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/warehouses/ac53826a-6720-4ce4-a08b-8054ee69c867 + response: + body: + string: '{"id": "ac53826a-6720-4ce4-a08b-8054ee69c867", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"connectionInfo": "vwbb4lsqmqqejdvenqo7wshysy-ntstq2f6h3ruzc3jimrly7ctsi.datawarehouse.fabric.microsoft.com", + "connectionString": "mock_connection_string", "createdDate": "2026-01-28T13:52:57.5477016", + "lastUpdatedTime": "2026-01-28T13:53:02.6730957", "collationType": "Latin1_General_100_BIN2_UTF8", + "creationMode": "New"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '358' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:22 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 232526e8-538a-4816-b71f-9db5f708c1e2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/ac53826a-6720-4ce4-a08b-8054ee69c867/connections + response: + body: + string: '{"requestId": "15d94875-3673-4b43-a439-99cef4165270", "errorCode": + "OperationNotSupportedForItem", "message": "Operation not supported for requested + item"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:22 GMT + Pragma: + - no-cache + RequestId: + - 15d94875-3673-4b43-a439-99cef4165270 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-public-api-error-code: + - OperationNotSupportedForItem + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:23 GMT + Pragma: + - no-cache + RequestId: + - 300b5dae-9655-4084-9286-46d882226cb7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "ac53826a-6720-4ce4-a08b-8054ee69c867", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '380' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:24 GMT + Pragma: + - no-cache + RequestId: + - 03cdf467-435c-4de5-8247-7813a62e7ed8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/ac53826a-6720-4ce4-a08b-8054ee69c867 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:53:25 GMT + Pragma: + - no-cache + RequestId: + - bc63cdf6-4e63-4029-95ec-f38e7813c227 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[Environment-expected_properties0].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[Environment-expected_properties0].yaml new file mode 100644 index 00000000..e8294369 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[Environment-expected_properties0].yaml @@ -0,0 +1,780 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:25 GMT + Pragma: + - no-cache + RequestId: + - 4df47610-5d6e-44c3-a836-b134eb168ed5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:25 GMT + Pragma: + - no-cache + RequestId: + - 37094891-ba17-4a35-b423-3a5028fa5bd4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:26 GMT + Pragma: + - no-cache + RequestId: + - 0cb05438-d2bb-449e-b6f9-5a291da07d1b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Environment", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments + response: + body: + string: '{"id": "217153be-4e1d-4ff0-b3af-23a207d012c8", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '168' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:27 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - e9a1bde2-0395-444e-9a6e-0bc5cee7a784 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:29 GMT + Pragma: + - no-cache + RequestId: + - e29d2108-a1a5-4327-9403-8960314fbf26 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "217153be-4e1d-4ff0-b3af-23a207d012c8", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '390' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:29 GMT + Pragma: + - no-cache + RequestId: + - 7dba379a-94a3-4218-a18c-0414d782ab76 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/217153be-4e1d-4ff0-b3af-23a207d012c8 + response: + body: + string: '{"id": "217153be-4e1d-4ff0-b3af-23a207d012c8", "type": "Environment", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"publishDetails": {"state": + "Success", "targetVersion": "cdfdf2c8-c940-499e-a848-3627c2f40cfd", "startTime": + "2026-01-28T13:53:28.6021436Z", "endTime": "2026-01-28T13:53:28.6021436Z", + "componentPublishInfo": {"sparkSettings": {"state": "Success"}, "sparkLibraries": + {"state": "Success"}}}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '314' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:29 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 92b22928-687e-4a8c-9b28-64cc3f78acd4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/217153be-4e1d-4ff0-b3af-23a207d012c8/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:31 GMT + Pragma: + - no-cache + RequestId: + - 3d457545-f79b-4e2c-a7f1-630b5498954c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/217153be-4e1d-4ff0-b3af-23a207d012c8/libraries + response: + body: + string: '{"requestId": "7bc347c7-c86a-4bd5-89b9-b4053024fa45", "errorCode": + "EnvironmentLibrariesNotFound", "message": "This environment does not have + any published libraries. Please publish libraries."}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '189' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:31 GMT + RequestId: + - 7bc347c7-c86a-4bd5-89b9-b4053024fa45 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-public-api-error-code: + - EnvironmentLibrariesNotFound + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/217153be-4e1d-4ff0-b3af-23a207d012c8/staging/libraries + response: + body: + string: '{"requestId": "35373c99-3865-46ac-8ce4-bdbb396d69e9", "errorCode": + "EnvironmentLibrariesNotFound", "message": "This environment does not have + any staged libraries. Please upload libraries."}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:32 GMT + RequestId: + - 35373c99-3865-46ac-8ce4-bdbb396d69e9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-public-api-error-code: + - EnvironmentLibrariesNotFound + status: + code: 404 + message: Not Found +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/217153be-4e1d-4ff0-b3af-23a207d012c8/sparkcompute + response: + body: + string: '{"instancePool": {"name": "Starter Pool", "type": "Workspace", "id": + "00000000-0000-0000-0000-000000000000"}, "driverCores": 8, "driverMemory": + "56g", "executorCores": 8, "executorMemory": "56g", "dynamicExecutorAllocation": + {"enabled": true, "minExecutors": 1, "maxExecutors": 9}, "sparkProperties": + {}, "runtimeVersion": "1.3"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:35 GMT + RequestId: + - 19c86528-aa2f-4727-a571-a016f76192c1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/environments/217153be-4e1d-4ff0-b3af-23a207d012c8/staging/sparkcompute + response: + body: + string: '{"instancePool": {"name": "Starter Pool", "type": "Workspace", "id": + "00000000-0000-0000-0000-000000000000"}, "driverCores": 8, "driverMemory": + "56g", "executorCores": 8, "executorMemory": "56g", "dynamicExecutorAllocation": + {"enabled": true, "minExecutors": 1, "maxExecutors": 9}, "sparkProperties": + {}, "runtimeVersion": "1.3"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '396' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:36 GMT + RequestId: + - 4a9f3c1e-5aee-4cdd-ad15-90b96826bca1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:36 GMT + Pragma: + - no-cache + RequestId: + - 2bfb8cda-fa2e-4072-9fa5-03719c436e54 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "217153be-4e1d-4ff0-b3af-23a207d012c8", + "type": "Environment", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '390' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:37 GMT + Pragma: + - no-cache + RequestId: + - 69075d52-882b-4d5b-8d7f-8290b2e551fe + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/217153be-4e1d-4ff0-b3af-23a207d012c8 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:53:37 GMT + Pragma: + - no-cache + RequestId: + - 48c3fc58-4ab8-4862-ad2f-2fa26315b02c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[KQLDatabase-expected_properties3].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[KQLDatabase-expected_properties3].yaml new file mode 100644 index 00000000..e2ee2977 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[KQLDatabase-expected_properties3].yaml @@ -0,0 +1,914 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:22 GMT + Pragma: + - no-cache + RequestId: + - 096ca278-0acf-4cdd-99f2-88a359be76c0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:23 GMT + Pragma: + - no-cache + RequestId: + - 52b42f93-f267-4b61-b5ae-b388391fee52 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:24 GMT + Pragma: + - no-cache + RequestId: + - f19be602-a9a6-4992-a1db-04039079c74b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001_auto", "type": + "Eventhouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '113' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/eventhouses + response: + body: + string: '{"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", "type": "Eventhouse", + "displayName": "fabcli000001_auto", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '173' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:27 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 22c728e1-dabe-4358-8688-b0380338e1e3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "KQLDatabase", "folderId": null, "creationPayload": {"databaseType": "ReadWrite", + "parentEventhouseItemId": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '225' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/kqlDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:29 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/380d6a66-81ef-4b4b-a85d-06c9c3bf7b1c + Pragma: + - no-cache + RequestId: + - a111aa26-f7c2-4073-9c66-f6d18fe65d8e + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 380d6a66-81ef-4b4b-a85d-06c9c3bf7b1c + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/380d6a66-81ef-4b4b-a85d-06c9c3bf7b1c + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:54:29.6472915", + "lastUpdatedTimeUtc": "2026-01-28T13:54:37.5869216", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:51 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/380d6a66-81ef-4b4b-a85d-06c9c3bf7b1c/result + Pragma: + - no-cache + RequestId: + - 2c9c91c9-7c7c-4e59-917d-057a2a1a9c10 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 380d6a66-81ef-4b4b-a85d-06c9c3bf7b1c + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/380d6a66-81ef-4b4b-a85d-06c9c3bf7b1c/result + response: + body: + string: '{"id": "e2756091-54e7-4c53-b79e-cd4d2a5bcc53", "type": "KQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:54:52 GMT + Pragma: + - no-cache + RequestId: + - a5384630-e481-4009-9eb9-8561fded7823 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:53 GMT + Pragma: + - no-cache + RequestId: + - 5c4e3e9b-29e3-4058-9bd7-ebecc73af937 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", + "type": "Eventhouse", "displayName": "fabcli000001_auto", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "0cb03d6c-bc6b-4b7f-909d-c9db9b39d77d", + "type": "KQLDatabase", "displayName": "fabcli000001_auto", "description": + "fabcli000001_auto", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "e2756091-54e7-4c53-b79e-cd4d2a5bcc53", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '452' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:53 GMT + Pragma: + - no-cache + RequestId: + - a2073cfd-812c-459e-a43b-400b9a50d9f8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/kqlDatabases/e2756091-54e7-4c53-b79e-cd4d2a5bcc53 + response: + body: + string: '{"id": "e2756091-54e7-4c53-b79e-cd4d2a5bcc53", "type": "KQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"parentEventhouseItemId": + "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", "queryServiceUri": "https://trd-gz12fz5ehzw51vjenx.z9.kusto.fabric.microsoft.com", + "ingestionServiceUri": "https://ingest-trd-gz12fz5ehzw51vjenx.z9.kusto.fabric.microsoft.com", + "databaseType": "ReadWrite"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '316' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:54 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b6aff3b8-c4ec-4ec4-bc26-d1712acdaaf4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/e2756091-54e7-4c53-b79e-cd4d2a5bcc53/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:56 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7c28ad76-1b37-4322-9f1f-3aece6477d58 + Pragma: + - no-cache + RequestId: + - 82617ea1-f0e9-4393-be95-26e792f41788 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - 7c28ad76-1b37-4322-9f1f-3aece6477d58 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7c28ad76-1b37-4322-9f1f-3aece6477d58 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:54:56.1235567", + "lastUpdatedTimeUtc": "2026-01-28T13:55:14.9735803", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:17 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7c28ad76-1b37-4322-9f1f-3aece6477d58/result + Pragma: + - no-cache + RequestId: + - 03edc1f4-3524-4a55-8fb6-4dbc5a482ac9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - 7c28ad76-1b37-4322-9f1f-3aece6477d58 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/7c28ad76-1b37-4322-9f1f-3aece6477d58/result + response: + body: + string: '{"definition": {"parts": [{"path": "DatabaseProperties.json", "payload": + "ew0KICAiZGF0YWJhc2VUeXBlIjogIlJlYWRXcml0ZSIsDQogICJwYXJlbnRFdmVudGhvdXNlSXRlbUlkIjogImY4NjcyZmY3LWE5ZWItNGU2Ni1hNmU1LWU0MDA0ZDc2YjZlNSIsDQogICJvbmVMYWtlQ2FjaGluZ1BlcmlvZCI6ICJQMzY1MDAwRCIsDQogICJvbmVMYWtlU3RhbmRhcmRTdG9yYWdlUGVyaW9kIjogIlAzNjUwMDBEIg0KfQ==", + "payloadType": "InlineBase64"}, {"path": "DatabaseSchema.kql", "payload": + "Ly8gS1FMIHNjcmlwdA0KLy8gVXNlIG1hbmFnZW1lbnQgY29tbWFuZHMgaW4gdGhpcyBzY3JpcHQgdG8gY29uZmlndXJlIHlvdXIgZGF0YWJhc2UgaXRlbXMsIHN1Y2ggYXMgdGFibGVzLCBmdW5jdGlvbnMsIG1hdGVyaWFsaXplZCB2aWV3cywgYW5kIG1vcmUuDQoNCg0K", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIktRTERhdGFiYXNlIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:55:18 GMT + Pragma: + - no-cache + RequestId: + - 03149ef0-2876-4074-aaa1-9a56936e6e13 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/e2756091-54e7-4c53-b79e-cd4d2a5bcc53/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:19 GMT + Pragma: + - no-cache + RequestId: + - 465c8f19-10a1-4bdf-8372-a65eaa0f2663 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:19 GMT + Pragma: + - no-cache + RequestId: + - 9efbe560-08d6-43c9-8b40-ab94e9d2762e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", + "type": "Eventhouse", "displayName": "fabcli000001_auto", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "0cb03d6c-bc6b-4b7f-909d-c9db9b39d77d", + "type": "KQLDatabase", "displayName": "fabcli000001_auto", "description": + "fabcli000001_auto", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "e2756091-54e7-4c53-b79e-cd4d2a5bcc53", "type": "KQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '452' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:20 GMT + Pragma: + - no-cache + RequestId: + - 7c9ccbd1-b86a-4e06-87a1-b46e616c1492 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/e2756091-54e7-4c53-b79e-cd4d2a5bcc53 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:55:22 GMT + Pragma: + - no-cache + RequestId: + - 164325eb-fc5e-472e-b1ff-c7cd9c93be19 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[Lakehouse-expected_properties1].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[Lakehouse-expected_properties1].yaml new file mode 100644 index 00000000..bcff5f02 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[Lakehouse-expected_properties1].yaml @@ -0,0 +1,646 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:38 GMT + Pragma: + - no-cache + RequestId: + - cf65c368-7029-4bf4-adef-9aca805941a3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:39 GMT + Pragma: + - no-cache + RequestId: + - 122c9ad4-8bc6-49fe-b3c0-792216675b8b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:40 GMT + Pragma: + - no-cache + RequestId: + - 464cdce3-51da-4d58-887e-647fa5a710c9 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Lakehouse", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '107' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/lakehouses + response: + body: + string: '{"id": "5f8d13c6-abe0-4c7c-a63d-fa0d4b497618", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '167' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:44 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 40756b5d-0eeb-4763-9b39-cb33fcc7ba5f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:45 GMT + Pragma: + - no-cache + RequestId: + - 08e28347-03b9-4423-a245-c3d319755e2a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "5f8d13c6-abe0-4c7c-a63d-fa0d4b497618", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '379' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:45 GMT + Pragma: + - no-cache + RequestId: + - bf0da213-3b3d-4e4f-86f8-10ee569ae042 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/lakehouses/5f8d13c6-abe0-4c7c-a63d-fa0d4b497618 + response: + body: + string: '{"id": "5f8d13c6-abe0-4c7c-a63d-fa0d4b497618", "type": "Lakehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"oneLakeTablesPath": + "https://onelake.dfs.fabric.microsoft.com/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/5f8d13c6-abe0-4c7c-a63d-fa0d4b497618/Tables", + "oneLakeFilesPath": "https://onelake.dfs.fabric.microsoft.com/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/5f8d13c6-abe0-4c7c-a63d-fa0d4b497618/Files", + "sqlEndpointProperties": {"connectionString": null, "id": null, "provisioningStatus": + "InProgress"}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '302' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:47 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - b3426a16-2d5a-4514-b56a-4765d108bc3e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/5f8d13c6-abe0-4c7c-a63d-fa0d4b497618/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:48 GMT + Pragma: + - no-cache + RequestId: + - 2fa62ef9-8210-4066-bff2-212bafa0c4cf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/5f8d13c6-abe0-4c7c-a63d-fa0d4b497618/jobs/TableMaintenance/schedules + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:48 GMT + Pragma: + - no-cache + RequestId: + - f821fc14-1578-4cda-8e3a-ee04a6a10283 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:49 GMT + Pragma: + - no-cache + RequestId: + - 82f972f0-a6ea-4fc9-992f-3593185a6444 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "8abf1a4a-6b74-4050-abca-ddea56dd931a", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "5f8d13c6-abe0-4c7c-a63d-fa0d4b497618", + "type": "Lakehouse", "displayName": "fabcli000001", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '410' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:49 GMT + Pragma: + - no-cache + RequestId: + - 186a4756-fdee-45ff-920e-14a98353423b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/5f8d13c6-abe0-4c7c-a63d-fa0d4b497618 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:53:50 GMT + Pragma: + - no-cache + RequestId: + - 5474756d-e1ac-42a1-95b3-b52bf1d8301f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[MirroredDatabase-expected_properties5].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[MirroredDatabase-expected_properties5].yaml new file mode 100644 index 00000000..28ca5df3 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[MirroredDatabase-expected_properties5].yaml @@ -0,0 +1,756 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:41 GMT + Pragma: + - no-cache + RequestId: + - 8167b10f-3ce8-4906-a0fd-6af0435e9e1c + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", + "type": "Eventhouse", "displayName": "fabcli000001_auto", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "0cb03d6c-bc6b-4b7f-909d-c9db9b39d77d", + "type": "KQLDatabase", "displayName": "fabcli000001_auto", "description": + "fabcli000001_auto", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '427' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:42 GMT + Pragma: + - no-cache + RequestId: + - 6a59dac8-1f14-46e5-a817-33d305a000b7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", + "type": "Eventhouse", "displayName": "fabcli000001_auto", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "0cb03d6c-bc6b-4b7f-909d-c9db9b39d77d", + "type": "KQLDatabase", "displayName": "fabcli000001_auto", "description": + "fabcli000001_auto", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '427' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:43 GMT + Pragma: + - no-cache + RequestId: + - 1790ead3-52b2-4b48-a42d-543cef00d2b4 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "MirroredDatabase", "folderId": null, "definition": {"parts": [{"path": "mirroring.json", + "payload": "ewogICAgInByb3BlcnRpZXMiOiB7CiAgICAgICAgInNvdXJjZSI6IHsKICAgICAgICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsCiAgICAgICAgICAgICJ0eXBlUHJvcGVydGllcyI6IHt9CiAgICAgICAgfSwKICAgICAgICAidGFyZ2V0IjogewogICAgICAgICAgICAidHlwZSI6ICJNb3VudGVkUmVsYXRpb25hbERhdGFiYXNlIiwKICAgICAgICAgICAgInR5cGVQcm9wZXJ0aWVzIjogewogICAgICAgICAgICAgICAgImZvcm1hdCI6ICJEZWx0YSIKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '603' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases + response: + body: + string: '{"id": "76cb7f85-6a1a-479e-b0d4-1f606297ad25", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '170' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:45 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - e6850123-1af5-4d0f-b763-68166a7d2fb1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:46 GMT + Pragma: + - no-cache + RequestId: + - fb26bda7-0557-41d0-9290-2bb90b03c68b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", + "type": "Eventhouse", "displayName": "fabcli000001_auto", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "0cb03d6c-bc6b-4b7f-909d-c9db9b39d77d", + "type": "KQLDatabase", "displayName": "fabcli000001_auto", "description": + "fabcli000001_auto", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "76cb7f85-6a1a-479e-b0d4-1f606297ad25", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '468' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:47 GMT + Pragma: + - no-cache + RequestId: + - 4113309d-bed3-48e7-8f20-83655aba9a51 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases/76cb7f85-6a1a-479e-b0d4-1f606297ad25 + response: + body: + string: '{"id": "76cb7f85-6a1a-479e-b0d4-1f606297ad25", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"oneLakeTablesPath": + null, "sqlEndpointProperties": {"connectionString": null, "id": null, "provisioningStatus": + "InProgress"}}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '257' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:48 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 0edf78df-9500-4969-a380-764ad872c043 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/76cb7f85-6a1a-479e-b0d4-1f606297ad25/getDefinition + response: + body: + string: '{"definition": {"parts": [{"path": "mirroring.json", "payload": "ew0KICAicHJvcGVydGllcyI6IHsNCiAgICAic291cmNlIjogew0KICAgICAgInR5cGUiOiAiR2VuZXJpY01pcnJvciIsDQogICAgICAidHlwZVByb3BlcnRpZXMiOiB7fQ0KICAgIH0sDQogICAgInRhcmdldCI6IHsNCiAgICAgICJ0eXBlIjogIk1vdW50ZWRSZWxhdGlvbmFsRGF0YWJhc2UiLA0KICAgICAgInR5cGVQcm9wZXJ0aWVzIjogew0KICAgICAgICAiZm9ybWF0IjogIkRlbHRhIg0KICAgICAgfQ0KICAgIH0NCiAgfQ0KfQ==", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIk1pcnJvcmVkRGF0YWJhc2UiLAogICAgImRpc3BsYXlOYW1lIjogImZhYmNsaTAwMDAwMSIsCiAgICAiZGVzY3JpcHRpb24iOiAiQ3JlYXRlZCBieSBmYWIiCiAgfSwKICAiY29uZmlnIjogewogICAgInZlcnNpb24iOiAiMi4wIiwKICAgICJsb2dpY2FsSWQiOiAiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIgogIH0KfQ==", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '562' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:49 GMT + Pragma: + - no-cache + RequestId: + - 1c19703e-82c5-4a85-9d3e-30a7d5b92eeb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/76cb7f85-6a1a-479e-b0d4-1f606297ad25/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:49 GMT + Pragma: + - no-cache + RequestId: + - 21a48e59-257f-4b9f-99a5-c95c4f19ccac + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases/76cb7f85-6a1a-479e-b0d4-1f606297ad25/getMirroringStatus + response: + body: + string: '{"status": "Initializing"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:51 GMT + RequestId: + - 9a4d9554-94ab-4cdc-85da-d333a5fa8e85 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/mirroredDatabases/76cb7f85-6a1a-479e-b0d4-1f606297ad25/getTablesMirroringStatus + response: + body: + string: '{"continuationToken": null, "continuationUri": null, "data": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Content-Length: + - '76' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:51 GMT + RequestId: + - 16ee4618-292a-418f-99f8-80ad3d51489b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:53 GMT + Pragma: + - no-cache + RequestId: + - 5d6e109b-56e6-43ea-b00f-02af64577efb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "c0b40df2-72e0-4dc8-88d6-e0e992262d69", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", + "type": "Eventhouse", "displayName": "fabcli000001_auto", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "0cb03d6c-bc6b-4b7f-909d-c9db9b39d77d", + "type": "KQLDatabase", "displayName": "fabcli000001_auto", "description": + "fabcli000001_auto", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "76cb7f85-6a1a-479e-b0d4-1f606297ad25", "type": "MirroredDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '501' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:53 GMT + Pragma: + - no-cache + RequestId: + - f985b5b1-2c59-4d00-9c1e-7c2938c3c9c1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/76cb7f85-6a1a-479e-b0d4-1f606297ad25 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:56:54 GMT + Pragma: + - no-cache + RequestId: + - ab871505-ed64-4ac0-8ad4-fc236d48f687 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[SQLDatabase-expected_properties4].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[SQLDatabase-expected_properties4].yaml new file mode 100644 index 00000000..239f3c86 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[SQLDatabase-expected_properties4].yaml @@ -0,0 +1,923 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:22 GMT + Pragma: + - no-cache + RequestId: + - ef9357e0-0022-4daa-8d29-52dcaa1bb67a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", + "type": "Eventhouse", "displayName": "fabcli000001_auto", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "0cb03d6c-bc6b-4b7f-909d-c9db9b39d77d", + "type": "KQLDatabase", "displayName": "fabcli000001_auto", "description": + "fabcli000001_auto", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '427' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:23 GMT + Pragma: + - no-cache + RequestId: + - 5ea2193d-f5cd-4b16-a988-d3d30b25436e + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", + "type": "Eventhouse", "displayName": "fabcli000001_auto", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "0cb03d6c-bc6b-4b7f-909d-c9db9b39d77d", + "type": "KQLDatabase", "displayName": "fabcli000001_auto", "description": + "fabcli000001_auto", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '427' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:24 GMT + Pragma: + - no-cache + RequestId: + - 75e78014-949d-45f3-9743-40de8c6c7df0 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "SQLDatabase", "folderId": null}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '109' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/sqlDatabases + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:25 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dd01299b-1b93-48c7-884e-437165e53a25 + Pragma: + - no-cache + RequestId: + - 040dc935-15a2-47a7-84fe-5d2fb90f9c5a + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - dd01299b-1b93-48c7-884e-437165e53a25 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dd01299b-1b93-48c7-884e-437165e53a25 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:55:25.1623205", + "lastUpdatedTimeUtc": "2026-01-28T13:55:39.1360215", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '131' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:47 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dd01299b-1b93-48c7-884e-437165e53a25/result + Pragma: + - no-cache + RequestId: + - e0317412-fe4c-4521-9460-66c340eb7767 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - dd01299b-1b93-48c7-884e-437165e53a25 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/dd01299b-1b93-48c7-884e-437165e53a25/result + response: + body: + string: '{"id": "53208e45-18ff-45ae-bb11-7d3b07768b8e", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:55:48 GMT + Pragma: + - no-cache + RequestId: + - f1c0649b-f49c-47c5-b127-e2daa5f0514f + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:49 GMT + Pragma: + - no-cache + RequestId: + - f0818219-04ab-45fa-b8ca-4668b58100d1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "677616ba-fadb-4768-be23-019e1725dd01", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", + "type": "Eventhouse", "displayName": "fabcli000001_auto", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "0cb03d6c-bc6b-4b7f-909d-c9db9b39d77d", + "type": "KQLDatabase", "displayName": "fabcli000001_auto", "description": + "fabcli000001_auto", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "53208e45-18ff-45ae-bb11-7d3b07768b8e", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '502' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:50 GMT + Pragma: + - no-cache + RequestId: + - f9d66adf-294f-4e9c-b719-c96a19779ca8 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/sqlDatabases/53208e45-18ff-45ae-bb11-7d3b07768b8e + response: + body: + string: '{"id": "53208e45-18ff-45ae-bb11-7d3b07768b8e", "type": "SQLDatabase", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"connectionInfo": "Data + Source=vwbb4lsqmqqejdvenqo7wshysy-ntstq2f6h3ruzc3jimrly7ctsi.database.fabric.microsoft.com,1433;Initial + Catalog=fabcli000001-53208e45-18ff-45ae-bb11-7d3b07768b8e;Multiple Active + Result Sets=False;Connect Timeout=30;Encrypt=True;Trust Server Certificate=False", + "connectionString": "mock_connection_string", "databaseName": "fabcli000001-53208e45-18ff-45ae-bb11-7d3b07768b8e", + "serverFqdn": "vwbb4lsqmqqejdvenqo7wshysy-ntstq2f6h3ruzc3jimrly7ctsi.database.fabric.microsoft.com,1433", + "backupRetentionDays": 7, "collation": "SQL_Latin1_General_CP1_CI_AS"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '437' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:51 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - fbda956c-64c4-4007-a5b2-035df97a3f03 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/53208e45-18ff-45ae-bb11-7d3b07768b8e/getDefinition + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:55:52 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c4ba6b70-6c5c-4269-b2c6-ccc49e1d6dbe + Pragma: + - no-cache + RequestId: + - e9f0a5f7-e736-4a66-ae7e-c9121f3c29fd + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - c4ba6b70-6c5c-4269-b2c6-ccc49e1d6dbe + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c4ba6b70-6c5c-4269-b2c6-ccc49e1d6dbe + response: + body: + string: '{"status": "Running", "createdTimeUtc": "2026-01-28T13:55:52.8281392", + "lastUpdatedTimeUtc": "2026-01-28T13:55:52.8281392", "percentComplete": null, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '122' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:14 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c4ba6b70-6c5c-4269-b2c6-ccc49e1d6dbe + Pragma: + - no-cache + RequestId: + - bb803b8a-d0e2-4dc9-9f8d-5591d9cb152e + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - c4ba6b70-6c5c-4269-b2c6-ccc49e1d6dbe + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c4ba6b70-6c5c-4269-b2c6-ccc49e1d6dbe + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:55:52.8281392", + "lastUpdatedTimeUtc": "2026-01-28T13:56:21.7232678", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '132' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:36 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c4ba6b70-6c5c-4269-b2c6-ccc49e1d6dbe/result + Pragma: + - no-cache + RequestId: + - 209eb04d-bd9c-475a-9c0d-3bf2cf9f6a57 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - c4ba6b70-6c5c-4269-b2c6-ccc49e1d6dbe + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/c4ba6b70-6c5c-4269-b2c6-ccc49e1d6dbe/result + response: + body: + string: '{"definition": {"format": "dacpac", "parts": [{"path": "fabcli000001.dacpac", + "payload": "UEsDBBQAAAAIAAhvPFzG6qC/qQIAALwHAAAJAAAAbW9kZWwueG1spVVdb9pAEHxOpf4Hy++1+VCbqjKJIgNNJEhIbKWqqgot9gInne+cu3ME+fXdw2ATCCm0D0jmvDOz7M4cweUi484zKs2k6LhNr+E6KBKZMjHruIWZfvrqXl58/BB0wUCUzDGDoUyRO33GsS9VBuaxBrdcp6ypztreZ9fp6vwWMuy4Q5YoqeXUeJbOi6Xk2isRXvTE7ac76cNEscQWTEBj+Xak5DNLUblOKDkHQ9yDhKWk2Wi3tw5Di0ChmWHPpNcHrtF16CcK3XHnxuTffF+vGLWXVc0kMvP1E5UqGoSfQuJHqBhw9rIi9VuNZstvtFyaw1lwjUCN2MezICy0kZlt1QnB4EyqZce9IvnbgnO9qqeqIRpIbU05hPq98wi8oJNYFdSlX3L6Nek7IveFNJjepCgMmzIazNtae2X/IRnKLKd5TBhnZmlNcEBzv24j2jxvnKj5gFNU5EfiiJc5UZBDSkccELe2tE+VJm3aoPJoqTkkG/U92EDOWAL8H5C9BRUJ4CNQpt7orxL8+yAsKvJcodZDpjVFrYs5CtpSwlD3lJKqplp7+KSx0ZTCLH0EMvGEo94a3tbxmjPwa0cHq2yXxD2OGdmmhm4SeZfbUFTupmjmqMyy2v46itUPiO4H4wEdieb4OwpUwMfhqDkOb8ZXUT2fHZobvYlJF6dQcHMn3vTuO0B9GuQHKEGbOAWlmJlfTaQ6oblQigSMbe8nQ55q+3Q8OpZKjGCG9MJgYqe8hX1llDfAfZKKcWF6wm4/PU7TqtFlzqavk9w+CFivawBiVhC2QvwNsOnueOB9gWoZGakwhNwUCl/fNUfgIgMcV1/jOYVxLnk9lfaX84MMQ1h0ZV6VVpfaXmGMWS7J8NeMQqqWD2jsRSzF7gp2Mr6OXpnOTSQDf+cv+OIPUEsDBBQAAAAIAAhvPFyQ1gLhpQAAAMgAAAAPAAAARGFjTWV0YWRhdGEueG1sNY67DsIgGIV3E9+BsNu/7aIxlC7OLhp3pGBJubSA9fJqDj6SryBWzdlOTr7zvR5PUl+NRqPwQTlb4SLLMRKWu0bZU4XPUS5WuKbzGdkwvr/1AqW5DRVuY+zXAIG3wrCQGcW9C07GjDsDYdBB+ASFhnHYCa+YVncW0wWUeVFCXuLERIhsmRFUsiPX6tItR9k5xwYCUz0NDl8zmsQ+IfAvkhL8nOgbUEsDBBQAAAAIAAhvPFzfnKkPLgIAAF0EAAAKAAAAT3JpZ2luLnhtbKVUy27bMBC8F+g/CLo2IinqRRqSAsdygKJIEyBu7wxFJYQl0SGpIsmv9dBP6i+UsmW7bt1Tj9zd2RnOcvnz+4/88qVrvW9CG6n6wg8B8j3Rc1XL/rHwB9sExL8s37/LK8ZvtXyUvecAvSn8J2s3MwgNfxIdM6CTXCujGgu46qB5bo3Qri2sGYf3QkvWyjdmHQnEKMQQYd919bz8jvE1exR3Wm2EtlKYbdglvu40lRFwogDK4T4w5Reqt0z2ZvmyUdqKumKWlQ1zvDk8m5tw91YL1k3N9mxHPm+X/8w6Ufgjzi/xyP+3gn9hxKZVr53o7ahCy4fBKm38cnuLM/eAZwTl8Lwt+a07bV3coz/Wjkja1zIWCMVxRgOMaBLEpG4CFmdNgJu4qVOUhQ3nOTyUH8xg2pYY4TRAYYDJKoxmSToLIxBFKcFp/AGhGXKid4UTatnXZzAZSB2EErTHjGUTwt2jHrgdHSpvDi9ltBeslGoNuN8+I7BiZu0Oz+2FNxlShNnWN4AuvMXQ2kGLoheD1czV3A0PreSfxOtKrUVfEEripOY1QQRxTkNn42+8p1L2UxjbY5Ak4Fj9x4Cm6E5h+b/P/sAy9duN+3Su+eJJ8LUZusMy7APeFy0LH3aqFi1wi+iX1RWdL+dX8SKekywkWYRSck0rtKBJjMIljhJKs2pBU1qF0fwaoyVZ4mucEJzRZD6v3LJMvScpp9z5zUi103rcyCSHZ+Lul4CHb6L8BVBLAwQUAAAACAAIbzxc7aHT4I8AAACvAAAAEwAAAFtDb250ZW50X1R5cGVzXS54bWwljUsOgjAQhq/SzB4GXRhj2rpQb+AFmjo8IkwbOhg8mwuP5BUssPyf3+/z1ed56NWLxtQFNrArK1DEPjw6bgxMUhdHOFt9f0dKKlc5GWhF4gkx+ZYGl8oQiXNSh3FwkuXYYHT+6RrCfVUd0AcWYilk+QCrr1S7qRd1m7O9YfMc1GXrLSgDQrPgaqPVuOLtH1BLAQIUABQAAAAIAAhvPFzG6qC/qQIAALwHAAAJAAAAAAAAAAAAAAAAAAAAAABtb2RlbC54bWxQSwECFAAUAAAACAAIbzxckNYC4aUAAADIAAAADwAAAAAAAAAAAAAAAADQAgAARGFjTWV0YWRhdGEueG1sUEsBAhQAFAAAAAgACG88XN+cqQ8uAgAAXQQAAAoAAAAAAAAAAAAAAAAAogMAAE9yaWdpbi54bWxQSwECFAAUAAAACAAIbzxc7aHT4I8AAACvAAAAEwAAAAAAAAAAAAAAAAD4BQAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLBQYAAAAABAAEAO0AAAC4BgAAAAA=", + "payloadType": "InlineBase64"}, {"path": ".platform", "payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIlNRTERhdGFiYXNlIiwKICAgICJkaXNwbGF5TmFtZSI6ICJmYWJjbGkwMDAwMDEiLAogICAgImRlc2NyaXB0aW9uIjogIkNyZWF0ZWQgYnkgZmFiIgogIH0sCiAgImNvbmZpZyI6IHsKICAgICJ2ZXJzaW9uIjogIjIuMCIsCiAgICAibG9naWNhbElkIjogIjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIKICB9Cn0=", + "payloadType": "InlineBase64"}]}}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:56:37 GMT + Pragma: + - no-cache + RequestId: + - f62fb1e9-8ff5-4a18-af14-8742313c414b + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/53208e45-18ff-45ae-bb11-7d3b07768b8e/connections + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:38 GMT + Pragma: + - no-cache + RequestId: + - bd625ba1-9f74-41b0-8ff4-9033e9faa2da + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:39 GMT + Pragma: + - no-cache + RequestId: + - 1cde6526-08eb-414d-925c-0507c6fcea36 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "677616ba-fadb-4768-be23-019e1725dd01", "type": "SQLEndpoint", "displayName": + "fabcli000001", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "f8672ff7-a9eb-4e66-a6e5-e4004d76b6e5", + "type": "Eventhouse", "displayName": "fabcli000001_auto", "description": "Created + by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "0cb03d6c-bc6b-4b7f-909d-c9db9b39d77d", + "type": "KQLDatabase", "displayName": "fabcli000001_auto", "description": + "fabcli000001_auto", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "53208e45-18ff-45ae-bb11-7d3b07768b8e", "type": "SQLDatabase", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '502' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:39 GMT + Pragma: + - no-cache + RequestId: + - 67e7cd10-369e-4d74-9384-bfd4515baecf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/53208e45-18ff-45ae-bb11-7d3b07768b8e + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:56:41 GMT + Pragma: + - no-cache + RequestId: + - efb75082-46f1-4358-9525-d994c14cf201 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[Warehouse-expected_properties2].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[Warehouse-expected_properties2].yaml new file mode 100644 index 00000000..185dddfe --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_item_with_properties_success[Warehouse-expected_properties2].yaml @@ -0,0 +1,699 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:50 GMT + Pragma: + - no-cache + RequestId: + - 36d10b9b-97c7-42c5-87a3-02db7a9bf5a7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:50 GMT + Pragma: + - no-cache + RequestId: + - 75ff507c-fe47-47a4-bb11-cbf45df19daf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '329' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:51 GMT + Pragma: + - no-cache + RequestId: + - 2c560733-97c6-4be7-afb5-3ae51b26e95a + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"description": "Created by fab", "displayName": "fabcli000001", "type": + "Warehouse", "folderId": null, "creationPayload": {"defaultCollation": "Latin1_General_100_BIN2_UTF8"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '180' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/warehouses + response: + body: + string: 'null' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,Retry-After,ETag,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '24' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:53:52 GMT + ETag: + - '""' + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b9aae9c5-1dcc-41dc-b820-75285e7a4c32 + Pragma: + - no-cache + RequestId: + - 60e29fdd-d47c-4274-b858-274c6b5a61b9 + Retry-After: + - '20' + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-operation-id: + - b9aae9c5-1dcc-41dc-b820-75285e7a4c32 + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b9aae9c5-1dcc-41dc-b820-75285e7a4c32 + response: + body: + string: '{"status": "Succeeded", "createdTimeUtc": "2026-01-28T13:53:53.0286154", + "lastUpdatedTimeUtc": "2026-01-28T13:53:57.8263862", "percentComplete": 100, + "error": null}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location,x-ms-operation-id + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:14 GMT + Location: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b9aae9c5-1dcc-41dc-b820-75285e7a4c32/result + Pragma: + - no-cache + RequestId: + - 5f36bef3-566f-47bc-b1db-276ea906ffa2 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + x-ms-operation-id: + - b9aae9c5-1dcc-41dc-b820-75285e7a4c32 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://wabi-us-central-b-primary-redirect.analysis.windows.net/v1/operations/b9aae9c5-1dcc-41dc-b820-75285e7a4c32/result + response: + body: + string: '{"id": "185c57ad-c448-4d88-ae44-ec808635e001", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Type: + - application/json + Date: + - Wed, 28 Jan 2026 13:54:15 GMT + Pragma: + - no-cache + RequestId: + - fc24ed95-3a13-4b44-b478-8dd72e06e691 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:16 GMT + Pragma: + - no-cache + RequestId: + - 665dfb21-cd8e-4ada-b837-682616cc78cb + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "185c57ad-c448-4d88-ae44-ec808635e001", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Connection: + - close + Content-Encoding: + - gzip + Content-Length: + - '381' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:17 GMT + Pragma: + - no-cache + RequestId: + - 5739e1ab-5dfb-42a4-8f1a-e2390a1e7787 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/warehouses/185c57ad-c448-4d88-ae44-ec808635e001 + response: + body: + string: '{"id": "185c57ad-c448-4d88-ae44-ec808635e001", "type": "Warehouse", + "displayName": "fabcli000001", "description": "Created by fab", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", "properties": {"connectionInfo": "vwbb4lsqmqqejdvenqo7wshysy-ntstq2f6h3ruzc3jimrly7ctsi.datawarehouse.fabric.microsoft.com", + "connectionString": "mock_connection_string", "createdDate": "2026-01-28T13:53:52.8411135", + "lastUpdatedTime": "2026-01-28T13:53:57.7795168", "collationType": "Latin1_General_100_BIN2_UTF8", + "creationMode": "New"}}' + headers: + Access-Control-Expose-Headers: + - RequestId,ETag + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '357' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:18 GMT + ETag: + - '""' + Pragma: + - no-cache + RequestId: + - 71b1dd01-e026-48be-bb12-1f3a517208a3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/185c57ad-c448-4d88-ae44-ec808635e001/connections + response: + body: + string: '{"requestId": "b6ea6fbc-c3e8-438a-bd9d-20d4c082dbf5", "errorCode": + "OperationNotSupportedForItem", "message": "Operation not supported for requested + item"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:18 GMT + Pragma: + - no-cache + RequestId: + - b6ea6fbc-c3e8-438a-bd9d-20d4c082dbf5 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + Transfer-Encoding: + - chunked + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + x-ms-public-api-error-code: + - OperationNotSupportedForItem + status: + code: 400 + message: Bad Request +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces + response: + body: + string: '{"value": [{"id": "3634a139-2c9e-4205-910b-3b089a31be47", "displayName": + "My workspace", "description": "", "type": "Personal"}, {"id": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392", + "displayName": "fabriccli_WorkspacePerTestclass_000001", "description": "Created + by fab", "type": "Workspace", "capacityId": "00000000-0000-0000-0000-000000000004"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '2304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:20 GMT + Pragma: + - no-cache + RequestId: + - cb7adc15-214b-49b1-b590-f942943ef1f3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items + response: + body: + string: '{"value": [{"id": "4307c500-c838-4ca4-a060-269fa6b39c7d", "type": "SemanticModel", + "displayName": "fabcli000001_auto", "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "4ca66565-458e-479c-8a9c-dde50e3396bc", "type": "SQLEndpoint", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, {"id": "bddf27c3-d893-4273-9035-ff67eeffc533", + "type": "Warehouse", "displayName": "StagingWarehouseForDataflows_20260128135101", + "description": "", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "185c57ad-c448-4d88-ae44-ec808635e001", "type": "Warehouse", "displayName": + "fabcli000001", "description": "Created by fab", "workspaceId": "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}, + {"id": "d2274a21-9781-499c-aadc-5c2080d36cb3", "type": "Lakehouse", "displayName": + "StagingLakehouseForDataflows_20260128135038", "description": "", "workspaceId": + "6838e56c-3ebe-4ce3-8b69-4322bc7c5392"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '381' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:54:20 GMT + Pragma: + - no-cache + RequestId: + - e1fbc218-9406-496e-be49-ef8f70e6bbef + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/workspaces/6838e56c-3ebe-4ce3-8b69-4322bc7c5392/items/185c57ad-c448-4d88-ae44-ec808635e001 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:54:21 GMT + Pragma: + - no-cache + RequestId: + - 7484b849-e77c-4f21-b757-63d1b0353884 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_virtual_workspace_capacity_query_all_success.yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_virtual_workspace_capacity_query_all_success.yaml index a3997902..7194fd45 100644 --- a/tests/test_commands/recordings/test_commands/test_get/test_get_virtual_workspace_capacity_query_all_success.yaml +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_virtual_workspace_capacity_query_all_success.yaml @@ -11,13 +11,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.1.0 + - ms-fabric-cli-test/1.3.1 method: GET uri: https://api.fabric.microsoft.com/v1/capacities response: body: string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": - "mocked_fabriccli_capacity_name", "sku": "F16", "region": "West Europe", "state": + "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "state": "Active"}]}' headers: Access-Control-Expose-Headers: @@ -27,15 +27,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '456' + - '426' Content-Type: - application/json; charset=utf-8 Date: - - Sun, 14 Sep 2025 06:52:59 GMT + - Wed, 28 Jan 2026 14:02:22 GMT Pragma: - no-cache RequestId: - - 6e38a755-d1fd-43d7-950d-f113df2e5763 + - 15936c1e-bc40-417e-95a4-a569f13f9bc8 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -43,7 +43,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -61,13 +61,13 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.1.0 + - ms-fabric-cli-test/1.3.1 method: GET uri: https://api.fabric.microsoft.com/v1/capacities response: body: string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": - "mocked_fabriccli_capacity_name", "sku": "F16", "region": "West Europe", "state": + "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "state": "Active"}]}' headers: Access-Control-Expose-Headers: @@ -77,15 +77,15 @@ interactions: Content-Encoding: - gzip Content-Length: - - '456' + - '425' Content-Type: - application/json; charset=utf-8 Date: - - Sun, 14 Sep 2025 06:53:05 GMT + - Wed, 28 Jan 2026 14:02:26 GMT Pragma: - no-cache RequestId: - - ed73072e-4d8a-46fe-a9ab-b1a05b05a077 + - a3395cf3-66a5-40e5-9d53-797101a34227 Strict-Transport-Security: - max-age=31536000; includeSubDomains X-Content-Type-Options: @@ -93,7 +93,7 @@ interactions: X-Frame-Options: - deny home-cluster-uri: - - https://wabi-west-europe-redirect.analysis.windows.net/ + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ request-redirected: - 'true' status: @@ -111,69 +111,28 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.1.0 + - ms-fabric-cli-test/1.3.1 method: GET - uri: https://management.azure.com/subscriptions?api-version=2022-12-01 - response: - body: - string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000"}], - "count": {"type": "Total", "value": 1}}' - headers: - Cache-Control: - - no-cache - Content-Length: - - '479' - Content-Type: - - application/json; charset=utf-8 - Date: - - Sun, 14 Sep 2025 06:53:06 GMT - Expires: - - '-1' - Pragma: - - no-cache - Strict-Transport-Security: - - max-age=31536000; includeSubDomains - X-Cache: - - CONFIG_NOCACHE - X-Content-Type-Options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Type: - - application/json - User-Agent: - - ms-fabric-cli-test/1.1.0 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Fabric/capacities?api-version=2023-11-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mocked_fabriccli_resource_group/providers/Microsoft.Fabric/capacities/mocked_fabriccli_capacity_name?api-version=2023-11-01 response: body: - string: '{"value": [{"properties": {"provisioningState": "Succeeded", "state": - "Active", "administration": {"members": ["mocked@admin_test_user"]}}, "id": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mocked_fabriccli_resource_group/providers/Microsoft.Fabric/capacities/mocked_fabriccli_capacity_name", + string: '{"properties": {"provisioningState": "Succeeded", "state": "Active", + "administration": {"members": ["mocked@admin_test_user", "4fdd0762-85fe-4f8b-90dc-776e8605e0b9"]}}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mocked_fabriccli_resource_group/providers/Microsoft.Fabric/capacities/mocked_fabriccli_capacity_name", "name": "mocked_fabriccli_capacity_name", "type": "Microsoft.Fabric/capacities", - "location": "West Europe", "sku": {"name": "F16", "tier": "Fabric"}, "tags": - {}}]}' + "location": "Central US", "sku": {"name": "F32", "tier": "Fabric"}, "tags": + {}}' headers: Cache-Control: - no-cache Content-Length: - - '2071' + - '449' Content-Security-Policy: - script-src 'self' Content-Type: - application/json; charset=utf-8 Date: - - Sun, 14 Sep 2025 06:53:06 GMT + - Wed, 28 Jan 2026 14:02:29 GMT Expires: - '-1' Pragma: @@ -203,27 +162,28 @@ interactions: Content-Type: - application/json User-Agent: - - ms-fabric-cli-test/1.1.0 + - ms-fabric-cli-test/1.3.1 method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mocked_fabriccli_resource_group/providers/Microsoft.Fabric/capacities/mocked_fabriccli_capacity_name?api-version=2023-11-01 response: body: string: '{"properties": {"provisioningState": "Succeeded", "state": "Active", - "administration": {"members": ["mocked@admin_test_user"]}}, "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mocked_fabriccli_resource_group/providers/Microsoft.Fabric/capacities/mocked_fabriccli_capacity_name", + "administration": {"members": ["mocked@admin_test_user", "4fdd0762-85fe-4f8b-90dc-776e8605e0b9"]}}, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mocked_fabriccli_resource_group/providers/Microsoft.Fabric/capacities/mocked_fabriccli_capacity_name", "name": "mocked_fabriccli_capacity_name", "type": "Microsoft.Fabric/capacities", - "location": "West Europe", "sku": {"name": "F16", "tier": "Fabric"}, "tags": + "location": "Central US", "sku": {"name": "F32", "tier": "Fabric"}, "tags": {}}' headers: Cache-Control: - no-cache Content-Length: - - '395' + - '449' Content-Security-Policy: - script-src 'self' Content-Type: - application/json; charset=utf-8 Date: - - Sun, 14 Sep 2025 06:53:07 GMT + - Wed, 28 Jan 2026 14:02:29 GMT Expires: - '-1' Pragma: diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_virtual_workspace_success[.domains-expected_properties0].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_virtual_workspace_success[.domains-expected_properties0].yaml new file mode 100644 index 00000000..def71cb4 --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_virtual_workspace_success[.domains-expected_properties0].yaml @@ -0,0 +1,348 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/admin/domains + response: + body: + string: '{"domains": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '185' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:55 GMT + Pragma: + - no-cache + RequestId: + - 30a60b61-fccc-4ead-8471-db67e3fee4a6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001"}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '35' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/admin/domains + response: + body: + string: '{"contributorsScope": "AllTenant", "id": "96dc8e3b-af01-4784-9ab6-7524b37e58f6", + "displayName": "fabcli000001", "description": ""}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:56 GMT + Location: + - https://api.fabric.microsoft.com/v1/admin/domains/96dc8e3b-af01-4784-9ab6-7524b37e58f6 + Pragma: + - no-cache + RequestId: + - a39a3bbe-ba7b-4e09-b248-697ccc5a1792 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/admin/domains + response: + body: + string: '{"domains": [{"contributorsScope": "AllTenant", "id": "96dc8e3b-af01-4784-9ab6-7524b37e58f6", + "displayName": "fabcli000001", "description": ""}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '227' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:57 GMT + Pragma: + - no-cache + RequestId: + - 07921697-b1b7-4d7b-a12d-078d2bf06a58 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/admin/domains/96dc8e3b-af01-4784-9ab6-7524b37e58f6 + response: + body: + string: '{"contributorsScope": "AllTenant", "id": "96dc8e3b-af01-4784-9ab6-7524b37e58f6", + "displayName": "fabcli000001", "description": ""}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '133' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:57 GMT + Pragma: + - no-cache + RequestId: + - 52d70eb7-f036-416a-9e80-5305ee3aeb68 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/admin/domains/96dc8e3b-af01-4784-9ab6-7524b37e58f6/workspaces + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '32' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:56:59 GMT + Pragma: + - no-cache + RequestId: + - 1bd277cb-f81d-4b38-b573-bfb430f27a83 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/admin/domains + response: + body: + string: '{"domains": [{"contributorsScope": "AllTenant", "id": "96dc8e3b-af01-4784-9ab6-7524b37e58f6", + "displayName": "fabcli000001", "description": ""}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '227' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:57:00 GMT + Pragma: + - no-cache + RequestId: + - ae20d93e-6c4c-4f26-a230-5e109ba23257 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/admin/domains/96dc8e3b-af01-4784-9ab6-7524b37e58f6 + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:57:01 GMT + Pragma: + - no-cache + RequestId: + - 046ee971-08f0-48af-9f29-fc8d099395b1 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/recordings/test_commands/test_get/test_get_virtual_workspace_success[.gateways-expected_properties1].yaml b/tests/test_commands/recordings/test_commands/test_get/test_get_virtual_workspace_success[.gateways-expected_properties1].yaml new file mode 100644 index 00000000..9c15d3bf --- /dev/null +++ b/tests/test_commands/recordings/test_commands/test_get/test_get_virtual_workspace_success[.gateways-expected_properties1].yaml @@ -0,0 +1,453 @@ +interactions: +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/gateways + response: + body: + string: '{"value": []}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1262' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:59:12 GMT + Pragma: + - no-cache + RequestId: + - bd5b9233-e004-4f85-ab71-a89eadde3bdf + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/capacities + response: + body: + string: '{"value": [{"id": "00000000-0000-0000-0000-000000000004", "displayName": + "mocked_fabriccli_capacity_name", "sku": "F32", "region": "Central US", "state": + "Active"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '425' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:59:19 GMT + Pragma: + - no-cache + RequestId: + - 089c1ba6-0159-42d3-bd27-86624f272fd7 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://management.azure.com/subscriptions?api-version=2022-12-01 + response: + body: + string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000"}], + "count": {"type": "Total", "value": 1}}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '469' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:59:19 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworks?api-version=2024-05-01 + response: + body: + string: '{"value": [{"name": "mocked_fabriccli_vnet_name", "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mocked_fabriccli_resource_group/providers/Microsoft.Network/virtualNetworks/mocked_fabriccli_vnet_name", + "properties": {"subnets": [{"name": "mocked_fabriccli_vnet_subnet", "id": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mocked_fabriccli_resource_group/providers/Microsoft.Network/virtualNetworks/mocked_fabriccli_vnet_name/subnets/mocked_fabriccli_vnet_subnet"}]}}]}' + headers: + Cache-Control: + - no-cache + Content-Length: + - '2758' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:59:19 GMT + Expires: + - '-1' + Pragma: + - no-cache + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Cache: + - CONFIG_NOCACHE + X-Content-Type-Options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"displayName": "fabcli000001", "capacityId": "00000000-0000-0000-0000-000000000004", + "inactivityMinutesBeforeSleep": 30, "numberOfMemberGateways": 1, "type": "VirtualNetwork", + "virtualNetworkAzureResource": {"subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "mocked_fabriccli_resource_group", "virtualNetworkName": + "mocked_fabriccli_vnet_name", "subnetName": "mocked_fabriccli_vnet_subnet"}}' + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '377' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: POST + uri: https://api.fabric.microsoft.com/v1/gateways + response: + body: + string: '{"displayName": "fabcli000001", "capacityId": "00000000-0000-0000-0000-000000000004", + "virtualNetworkAzureResource": {"virtualNetworkName": "mocked_fabriccli_vnet_name", + "subnetName": "mocked_fabriccli_vnet_subnet", "resourceGroupName": "mocked_fabriccli_resource_group", + "subscriptionId": "00000000-0000-0000-0000-000000000000"}, "inactivityMinutesBeforeSleep": + 30, "numberOfMemberGateways": 1, "id": "e18b7fe1-0f04-47ea-9f1d-2121234edf7d", + "type": "VirtualNetwork"}' + headers: + Access-Control-Expose-Headers: + - RequestId,Location + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '288' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:59:34 GMT + Location: + - https://api.fabric.microsoft.com/v1/gateways/e18b7fe1-0f04-47ea-9f1d-2121234edf7d + Pragma: + - no-cache + RequestId: + - 17774356-462a-4957-a4ca-ef90b84a4b90 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/gateways + response: + body: + string: '{"value": [{"displayName": "fabcli000001", "capacityId": "00000000-0000-0000-0000-000000000004", + "virtualNetworkAzureResource": {"virtualNetworkName": "mocked_fabriccli_vnet_name", + "subnetName": "mocked_fabriccli_vnet_subnet", "resourceGroupName": "mocked_fabriccli_resource_group", + "subscriptionId": "00000000-0000-0000-0000-000000000000"}, "inactivityMinutesBeforeSleep": + 30, "numberOfMemberGateways": 1, "id": "e18b7fe1-0f04-47ea-9f1d-2121234edf7d", + "type": "VirtualNetwork"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:59:35 GMT + Pragma: + - no-cache + RequestId: + - 251580b8-dcab-40c3-82d0-b3b5d47c25b6 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/gateways/e18b7fe1-0f04-47ea-9f1d-2121234edf7d + response: + body: + string: '{"displayName": "fabcli000001", "capacityId": "00000000-0000-0000-0000-000000000004", + "virtualNetworkAzureResource": {"virtualNetworkName": "mocked_fabriccli_vnet_name", + "subnetName": "mocked_fabriccli_vnet_subnet", "resourceGroupName": "mocked_fabriccli_resource_group", + "subscriptionId": "00000000-0000-0000-0000-000000000000"}, "inactivityMinutesBeforeSleep": + 30, "numberOfMemberGateways": 1, "id": "e18b7fe1-0f04-47ea-9f1d-2121234edf7d", + "type": "VirtualNetwork"}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '288' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:59:37 GMT + Pragma: + - no-cache + RequestId: + - 7c68e4f7-38f8-49a3-8daa-72c8050d4ab3 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: GET + uri: https://api.fabric.microsoft.com/v1/gateways + response: + body: + string: '{"value": [{"displayName": "fabcli000001", "capacityId": "00000000-0000-0000-0000-000000000004", + "virtualNetworkAzureResource": {"virtualNetworkName": "mocked_fabriccli_vnet_name", + "subnetName": "mocked_fabriccli_vnet_subnet", "resourceGroupName": "mocked_fabriccli_resource_group", + "subscriptionId": "00000000-0000-0000-0000-000000000000"}, "inactivityMinutesBeforeSleep": + 30, "numberOfMemberGateways": 1, "id": "e18b7fe1-0f04-47ea-9f1d-2121234edf7d", + "type": "VirtualNetwork"}]}' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '1304' + Content-Type: + - application/json; charset=utf-8 + Date: + - Wed, 28 Jan 2026 13:59:38 GMT + Pragma: + - no-cache + RequestId: + - 88911973-b6a2-4ca1-ab09-db29e25bfd58 + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + Content-Type: + - application/json + User-Agent: + - ms-fabric-cli-test/1.3.1 + method: DELETE + uri: https://api.fabric.microsoft.com/v1/gateways/e18b7fe1-0f04-47ea-9f1d-2121234edf7d + response: + body: + string: '' + headers: + Access-Control-Expose-Headers: + - RequestId + Cache-Control: + - no-store, must-revalidate, no-cache + Content-Encoding: + - gzip + Content-Length: + - '0' + Content-Type: + - application/octet-stream + Date: + - Wed, 28 Jan 2026 13:59:40 GMT + Pragma: + - no-cache + RequestId: + - 1afd7155-d65b-465d-bf60-386cbf90c5fd + Strict-Transport-Security: + - max-age=31536000; includeSubDomains + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - deny + home-cluster-uri: + - https://wabi-us-central-b-primary-redirect.analysis.windows.net/ + request-redirected: + - 'true' + status: + code: 200 + message: OK +version: 1 diff --git a/tests/test_commands/test_get.py b/tests/test_commands/test_get.py index 7fbb285b..1a9a5c08 100644 --- a/tests/test_commands/test_get.py +++ b/tests/test_commands/test_get.py @@ -5,6 +5,8 @@ import json import time +import pytest + import fabric_cli.commands.fs.fab_fs_get as fab_get import fabric_cli.commands.fs.fab_fs_ln as fab_ln from fabric_cli.core import fab_constant @@ -19,6 +21,7 @@ from tests.test_commands.conftest import assert_fabric_cli_error from tests.test_commands.data.static_test_data import StaticTestData from tests.test_commands.utils import cli_path_join +from tests.test_commands.conftest import custom_parametrize class TestGet: @@ -75,88 +78,96 @@ def test_get_workspace_query_displayName_success( # endregion # region Item - def test_get_item_lakehouse_query_all_success( - self, item_factory, cli_executor, mock_questionary_print, mock_print_warning + @custom_parametrize + def test_get_item_query_all_success( + self, item_factory, cli_executor, mock_questionary_print, mock_print_warning, item_type ): # Setup - lakehouse = item_factory(ItemType.LAKEHOUSE) + item = item_factory(item_type) # Reset mock mock_questionary_print.reset_mock() mock_print_warning.reset_mock() # Execute command - cli_executor.exec_command( - f"get {lakehouse.full_path} --query . --force") + cli_executor.exec_command(f"get {item.full_path} --query . --force") # Assert mock_questionary_print.assert_called_once() - # lakehouse item is called with get item and not get item with definition - mock_print_warning.assert_not_called() - assert lakehouse.display_name in mock_questionary_print.call_args[0][0] + assert item.display_name in mock_questionary_print.call_args[0][0] - # Assert lakehouse extended properties are returned - assert "properties" in mock_questionary_print.call_args[0][0] - assert "oneLakeTablesPath" in mock_questionary_print.call_args[0][0] - assert "oneLakeFilesPath" in mock_questionary_print.call_args[0][0] - assert "sqlEndpointProperties" in mock_questionary_print.call_args[0][0] - - def test_get_item_environment_success( - self, item_factory, cli_executor, mock_questionary_print, mock_print_warning + # Assert basic item properties are returned + assert "id" in mock_questionary_print.call_args[0][0] + assert "displayName" in mock_questionary_print.call_args[0][0] + assert "type" in mock_questionary_print.call_args[0][0] + + @pytest.mark.parametrize("item_type,expected_properties", [ + (ItemType.ENVIRONMENT, [ + "properties", "publishDetails", "connections", "published", "staging"]), + (ItemType.LAKEHOUSE, ["properties", "oneLakeTablesPath", + "oneLakeFilesPath", "sqlEndpointProperties"]), + (ItemType.WAREHOUSE, ["properties"]), + (ItemType.KQL_DATABASE, ["properties"]), + (ItemType.SQL_DATABASE, ["properties"]), + (ItemType.MIRRORED_DATABASE, [ + "definition", "connections", "status", "tablesStatus"]), + ]) + def test_get_item_with_properties_success( + self, item_factory, cli_executor, mock_questionary_print, mock_print_warning, item_type, expected_properties ): # Setup - environment = item_factory(ItemType.ENVIRONMENT) + item = item_factory(item_type) # Reset mock mock_questionary_print.reset_mock() mock_print_warning.reset_mock() # Execute command - cli_executor.exec_command( - f"get {environment.full_path} --query . --force") + cli_executor.exec_command(f"get {item.full_path} --query . --force") # Assert mock_questionary_print.assert_called_once() - # enironment item is called with get item and not get item with definition - mock_print_warning.assert_not_called() - assert environment.display_name in mock_questionary_print.call_args[0][0] - - # Assert enviroment extended properties are returned - assert "properties" in mock_questionary_print.call_args[0][0] - assert "publishDetails" in mock_questionary_print.call_args[0][0] - - # Assert environment metadata is returned - assert "connections" in mock_questionary_print.call_args[0][0] - assert "published" in mock_questionary_print.call_args[0][0] - assert "staging" in mock_questionary_print.call_args[0][0] - - def test_get_item_mirroreddb_success( - self, item_factory, cli_executor, mock_questionary_print, mock_print_warning + assert item.display_name in mock_questionary_print.call_args[0][0] + + # Assert specific properties for this item type + for prop in expected_properties: + assert prop in mock_questionary_print.call_args[0][0] + + @pytest.mark.parametrize("item_type,expects_warning", [ + (ItemType.MIRRORED_DATABASE, True), + (ItemType.NOTEBOOK, True), + (ItemType.DATA_PIPELINE, True), + (ItemType.LAKEHOUSE, False), + (ItemType.ENVIRONMENT, False), + (ItemType.WAREHOUSE, False), + (ItemType.COSMOS_DB_DATABASE, True), + (ItemType.USER_DATA_FUNCTION, True), + (ItemType.GRAPH_QUERY_SET, True) + ]) + def test_get_item_warning_behavior_success( + self, item_factory, cli_executor, mock_questionary_print, mock_print_warning, item_type, expects_warning ): # Setup - mirroreddb = item_factory(ItemType.MIRRORED_DATABASE) + item = item_factory(item_type) # Reset mock mock_questionary_print.reset_mock() mock_print_warning.reset_mock() # Execute command - cli_executor.exec_command( - f"get {mirroreddb.full_path} --query . --force") + cli_executor.exec_command(f"get {item.full_path} --query . --force") # Assert mock_questionary_print.assert_called_once() - # MIRRORED_DATABASE is called with get item with definition - mock_print_warning.assert_called_once() - assert mirroreddb.display_name in mock_questionary_print.call_args[0][0] - - # Assert mirroreddb definition is returned - assert "definition" in mock_questionary_print.call_args[0][0] + assert item.display_name in mock_questionary_print.call_args[0][0] - # Assert mirroreddb metadata is returned - assert "connections" in mock_questionary_print.call_args[0][0] - assert "status" in mock_questionary_print.call_args[0][0] - assert "tablesStatus" in mock_questionary_print.call_args[0][0] + # Assert warning behavior based on item type + if expects_warning: + # Items with definition trigger warnings + mock_print_warning.assert_called_once() + else: + # Items without definition don't trigger warnings + mock_print_warning.assert_not_called() # endregion @@ -214,7 +225,7 @@ def test_get_onelake_shortcut_success( # region Virtual Workspaces def test_get_virtual_workspace_capacity_query_all_success( - self, cli_executor, mock_questionary_print, test_data: StaticTestData + self, cli_executor, mock_questionary_print, test_data: StaticTestData, setup_config_values_for_capacity, ): # Execute command cli_executor.exec_command( @@ -228,26 +239,38 @@ def test_get_virtual_workspace_capacity_query_all_success( for call in mock_questionary_print.mock_calls ) - def test_get_virtual_workspace_domain_success( - self, virtual_workspace_item_factory, cli_executor, mock_questionary_print + @pytest.mark.parametrize("virtual_workspace_type,expected_properties", [ + (VirtualWorkspaceType.DOMAIN, [ + "contributorsScope", "domainWorkspaces"]), + (VirtualWorkspaceType.GATEWAY, [ + "type", "capacityId", "numberOfMemberGateways"]), + ]) + def test_get_virtual_workspace_success( + self, virtual_workspace_item_factory, cli_executor, mock_questionary_print, + virtual_workspace_type, expected_properties ): # Setup - domain = virtual_workspace_item_factory(VirtualWorkspaceType.DOMAIN) + virtual_workspace = virtual_workspace_item_factory( + virtual_workspace_type) # Reset mock mock_questionary_print.reset_mock() # Execute command - cli_executor.exec_command(f"get {domain.full_path} --query .") + cli_executor.exec_command( + f"get {virtual_workspace.full_path} --query .") # Assert mock_questionary_print.assert_called_once() - assert domain.display_name in mock_questionary_print.call_args[0][0] + assert virtual_workspace.display_name in mock_questionary_print.call_args[0][0] + + # Assert specific properties for this virtual workspace type + for prop in expected_properties: + assert prop in mock_questionary_print.call_args[0][0] - # Assert domain metadata is returned - assert "parentDomainId" not in mock_questionary_print.call_args[0][0] - assert "contributorsScope" in mock_questionary_print.call_args[0][0] - assert "domainWorkspaces" in mock_questionary_print.call_args[0][0] + # Domain-specific assertion (parentDomainId should not be present) + if virtual_workspace_type == VirtualWorkspaceType.DOMAIN: + assert "parentDomainId" not in mock_questionary_print.call_args[0][0] # endregion