From 199422bd69fad9be6663dc439e0625c19946c8d1 Mon Sep 17 00:00:00 2001 From: Lu Chen Date: Tue, 7 Sep 2021 14:48:46 -0700 Subject: [PATCH 1/3] update swagger --- .../chat/_generated/_configuration.py | 2 +- .../chat/_generated/aio/_configuration.py | 2 +- .../aio/operations/_chat_operations.py | 6 +- .../aio/operations/_chat_thread_operations.py | 26 +- .../_generated/operations/_chat_operations.py | 6 +- .../operations/_chat_thread_operations.py | 26 +- .../swagger/SWAGGER.md | 4 +- ...ient_e2e.test_access_token_validation.yaml | 89 +++--- ...at_client_e2e.test_create_chat_thread.yaml | 79 +++--- ..._create_chat_thread_w_no_participants.yaml | 77 ++--- ...hat_thread_w_repeatability_request_id.yaml | 101 +++---- ...at_client_e2e.test_delete_chat_thread.yaml | 89 +++--- ...hat_client_e2e.test_get_thread_client.yaml | 77 ++--- ...hat_client_e2e.test_list_chat_threads.yaml | 91 +++--- ...e_async.test_create_chat_thread_async.yaml | 81 +++--- ...e_chat_thread_w_no_participants_async.yaml | 81 +++--- ...read_w_repeatability_request_id_async.yaml | 105 +++---- ...ent_e2e_async.test_delete_chat_thread.yaml | 95 ++++--- ...ient_e2e_async.test_get_thread_client.yaml | 81 +++--- ...ient_e2e_async.test_list_chat_threads.yaml | 95 ++++--- ...read_client_e2e.test_add_participants.yaml | 134 ++++----- ...thread_client_e2e.test_delete_message.yaml | 146 +++++----- ...at_thread_client_e2e.test_get_message.yaml | 150 +++++----- ...thread_client_e2e.test_get_properties.yaml | 138 ++++----- ..._thread_client_e2e.test_list_messages.yaml | 180 ++++++------ ...ead_client_e2e.test_list_participants.yaml | 144 +++++----- ...ad_client_e2e.test_list_read_receipts.yaml | 240 ++++++++-------- ...ad_client_e2e.test_remove_participant.yaml | 148 +++++----- ...t_thread_client_e2e.test_send_message.yaml | 132 ++++----- ...ead_client_e2e.test_send_read_receipt.yaml | 144 +++++----- ...ent_e2e.test_send_typing_notification.yaml | 141 +++++----- ...thread_client_e2e.test_update_message.yaml | 144 +++++----- ...t_thread_client_e2e.test_update_topic.yaml | 132 ++++----- ...lient_e2e_async.test_add_participants.yaml | 140 +++++----- ..._client_e2e_async.test_delete_message.yaml | 152 +++++----- ...ead_client_e2e_async.test_get_message.yaml | 158 ++++++----- ..._client_e2e_async.test_get_properties.yaml | 144 +++++----- ...d_client_e2e_async.test_list_messages.yaml | 194 ++++++------- ...ient_e2e_async.test_list_participants.yaml | 152 +++++----- ...ent_e2e_async.test_list_read_receipts.yaml | 264 +++++++++--------- ...ent_e2e_async.test_remove_participant.yaml | 156 ++++++----- ...ad_client_e2e_async.test_send_message.yaml | 140 +++++----- ...ient_e2e_async.test_send_read_receipt.yaml | 152 +++++----- ...e_async.test_send_typing_notification.yaml | 145 +++++----- ..._client_e2e_async.test_update_message.yaml | 152 +++++----- ...ad_client_e2e_async.test_update_topic.yaml | 136 ++++----- 46 files changed, 2735 insertions(+), 2536 deletions(-) diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/_configuration.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/_configuration.py index 9ab172fca1ef..5b58f12b9f2e 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/_configuration.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/_configuration.py @@ -38,7 +38,7 @@ def __init__( super(AzureCommunicationChatServiceConfiguration, self).__init__(**kwargs) self.endpoint = endpoint - self.api_version = "2021-04-05-preview6" + self.api_version = "2021-09-07" kwargs.setdefault('sdk_moniker', 'azurecommunicationchatservice/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/_configuration.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/_configuration.py index 5b16d25053d0..00cb6d19b824 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/_configuration.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/_configuration.py @@ -33,7 +33,7 @@ def __init__( super(AzureCommunicationChatServiceConfiguration, self).__init__(**kwargs) self.endpoint = endpoint - self.api_version = "2021-04-05-preview6" + self.api_version = "2021-09-07" kwargs.setdefault('sdk_moniker', 'azurecommunicationchatservice/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_operations.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_operations.py index 54143070f4ee..0295ca765368 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_operations.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_operations.py @@ -75,7 +75,7 @@ async def create_chat_thread( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -146,7 +146,7 @@ def list_chat_threads( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" def prepare_request(next_link=None): @@ -230,7 +230,7 @@ async def delete_chat_thread( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" # Construct URL diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_thread_operations.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_thread_operations.py index 814a44e30add..c045d32f074c 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_thread_operations.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/aio/operations/_chat_thread_operations.py @@ -73,7 +73,7 @@ def list_chat_read_receipts( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" def prepare_request(next_link=None): @@ -162,7 +162,7 @@ async def send_chat_read_receipt( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -228,7 +228,7 @@ async def send_chat_message( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -301,7 +301,7 @@ def list_chat_messages( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" def prepare_request(next_link=None): @@ -390,7 +390,7 @@ async def get_chat_message( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" # Construct URL @@ -458,7 +458,7 @@ async def update_chat_message( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/merge-patch+json") accept = "application/json" @@ -525,7 +525,7 @@ async def delete_chat_message( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" # Construct URL @@ -590,7 +590,7 @@ def list_chat_participants( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" def prepare_request(next_link=None): @@ -680,7 +680,7 @@ async def remove_chat_participant( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -746,7 +746,7 @@ async def add_chat_participants( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -815,7 +815,7 @@ async def update_chat_thread_properties( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/merge-patch+json") accept = "application/json" @@ -878,7 +878,7 @@ async def get_chat_thread_properties( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" # Construct URL @@ -942,7 +942,7 @@ async def send_typing_notification( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_chat_operations.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_chat_operations.py index 2a56d3af58c2..915d1dbfa95a 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_chat_operations.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_chat_operations.py @@ -80,7 +80,7 @@ def create_chat_thread( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -152,7 +152,7 @@ def list_chat_threads( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" def prepare_request(next_link=None): @@ -237,7 +237,7 @@ def delete_chat_thread( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" # Construct URL diff --git a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_chat_thread_operations.py b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_chat_thread_operations.py index 7b77cc0f72fe..a9e049d59f73 100644 --- a/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_chat_thread_operations.py +++ b/sdk/communication/azure-communication-chat/azure/communication/chat/_generated/operations/_chat_thread_operations.py @@ -78,7 +78,7 @@ def list_chat_read_receipts( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" def prepare_request(next_link=None): @@ -168,7 +168,7 @@ def send_chat_read_receipt( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -235,7 +235,7 @@ def send_chat_message( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -309,7 +309,7 @@ def list_chat_messages( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" def prepare_request(next_link=None): @@ -399,7 +399,7 @@ def get_chat_message( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" # Construct URL @@ -468,7 +468,7 @@ def update_chat_message( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/merge-patch+json") accept = "application/json" @@ -536,7 +536,7 @@ def delete_chat_message( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" # Construct URL @@ -602,7 +602,7 @@ def list_chat_participants( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" def prepare_request(next_link=None): @@ -693,7 +693,7 @@ def remove_chat_participant( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -760,7 +760,7 @@ def add_chat_participants( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -830,7 +830,7 @@ def update_chat_thread_properties( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/merge-patch+json") accept = "application/json" @@ -894,7 +894,7 @@ def get_chat_thread_properties( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" accept = "application/json" # Construct URL @@ -959,7 +959,7 @@ def send_typing_notification( 503: lambda response: HttpResponseError(response=response, model=self._deserialize(_models.CommunicationErrorResponse, response)), } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-05-preview6" + api_version = "2021-09-07" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" diff --git a/sdk/communication/azure-communication-chat/swagger/SWAGGER.md b/sdk/communication/azure-communication-chat/swagger/SWAGGER.md index 93bd9b1b1af7..5631017f096c 100644 --- a/sdk/communication/azure-communication-chat/swagger/SWAGGER.md +++ b/sdk/communication/azure-communication-chat/swagger/SWAGGER.md @@ -16,8 +16,8 @@ autorest SWAGGER.md ### Settings ```yaml -tag: package-chat-2021-04-05-preview6 -require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/29e0c9624a8e60138127457f2e863bb4a9ba1419/specification/communication/data-plane/Chat/readme.md +tag: package-chat-2021-09-07 +require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/communication/data-plane/Chat/readme.md output-folder: ../azure/communication/chat/_generated namespace: azure.communication.chat no-namespace-folders: true diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml index fcf7d1f38d4c..b4ffe8225b26 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_access_token_validation.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:50 GMT + - Tue, 07 Sep 2021 21:43:01 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d55f-fdf3-f6c7-593a0d009fe2"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-8504-7bfa-553a0d0010a4"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:50 GMT + - Tue, 07 Sep 2021 21:43:01 GMT ms-cv: - - vSCUJP34TE698k75/G+nGQ.0 + - EEyir0Oeuk2E/SWL6Sy9HA.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 49ms + - 121ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:50 GMT + - Tue, 07 Sep 2021 21:43:01 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:50.0857826+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:02.0016613+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:50 GMT + - Tue, 07 Sep 2021 21:43:01 GMT ms-cv: - - cAHNVCW16kaXydTs9QHoPA.0 + - vI2OnGcapE2ATorqYlmDCQ.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 65ms + - 179ms status: code: 200 message: OK @@ -103,26 +105,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - fa6291de-4be7-4a5d-9269-277457040344 + - 182ad6e5-b600-4134-9e31-5bf8cee9a77c method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:0OpwXD84zHNn-hB5SAUm4xePrMNmulZ33M6QIOQKNdU1@thread.v2", - "topic": "test topic1", "createdOn": "2021-06-22T20:51:51Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d55f-fdf3-f6c7-593a0d009fe2", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d55f-fdf3-f6c7-593a0d009fe2"}}}}' + body: '{"chatThread": {"id": "19:4kfJhmwIOhuI7iZ-xpWn3DmjZjUZdCy58v2gIWanJpU1@thread.v2", + "topic": "test topic1", "createdOn": "2021-09-07T21:43:02Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-8504-7bfa-553a0d0010a4", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-8504-7bfa-553a0d0010a4"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:52 GMT + - Tue, 07 Sep 2021 21:43:02 GMT ms-cv: - - +0LZ8diz9UmrKxeDG80Jnw.0 + - nBycMBOo3EyHkrnEtPJbAQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -130,7 +132,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 958ms + - 926ms status: code: 201 message: Created @@ -144,21 +146,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:52 GMT + - Tue, 07 Sep 2021 21:43:02 GMT ms-cv: - - Ppc2hEf7IE2e1hwxmRJAkg.0 + - Kla+s01Uw0S/lhE//wkvUg.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -166,7 +168,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 83ms + - 228ms status: code: 200 message: OK @@ -182,26 +184,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:51:52 GMT + - Tue, 07 Sep 2021 21:43:03 GMT ms-cv: - - fOJFQH20WkCsu48gFB3gTg.0 + - +lizt9/h4UKdOEKhEl3h0A.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 281ms + - 429ms status: code: 204 message: No Content @@ -217,9 +219,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:53 GMT + - Tue, 07 Sep 2021 21:43:04 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -229,11 +231,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:51:53 GMT + - Tue, 07 Sep 2021 21:43:04 GMT ms-cv: - - yB9hp9ZolUu13FJoHHgR0w.0 + - 2kTyoCrl3k2DeAlxZmxZKw.0 request-context: - appId= strict-transport-security: @@ -241,7 +244,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 497ms + - 560ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml index 1eaf939f6d2b..71cbdd631fa0 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:53 GMT + - Tue, 07 Sep 2021 21:43:04 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-0a75-ceb1-a43a0d00bdeb"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-923c-f3f5-343a0d001717"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:53 GMT + - Tue, 07 Sep 2021 21:43:04 GMT ms-cv: - - f4bZLHwBdECjuyyImBosHQ.0 + - otNiiJv1V06MACEI+YY2Eg.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 69ms + - 26ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:54 GMT + - Tue, 07 Sep 2021 21:43:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:53.3896803+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:05.1238691+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:54 GMT + - Tue, 07 Sep 2021 21:43:04 GMT ms-cv: - - GGUPhGRaNUCkR38QUSVFGA.0 + - FzeDyd7ytU2FBbz75SOjjQ.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 137ms + - 34ms status: code: 200 message: OK @@ -99,30 +101,30 @@ interactions: Connection: - keep-alive Content-Length: - - '349' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - c6bc96ed-cd7d-4809-bb2f-1b9278681d01 + - a220b600-3bdb-42e2-b920-943fc5a1ea39 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:LM_q8olIzgltuHK6uNMVuo4u7FH0NaJO_HPHSFfMuIk1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:51:54Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-0a75-ceb1-a43a0d00bdeb", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-0a75-ceb1-a43a0d00bdeb"}}}}' + body: '{"chatThread": {"id": "19:GMpqsxOPrT4wKh7Xuheu47OzosSzzQkVzHwj9ZKh2rA1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:05Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-923c-f3f5-343a0d001717", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-923c-f3f5-343a0d001717"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:55 GMT + - Tue, 07 Sep 2021 21:43:06 GMT ms-cv: - - ewF6qFpHKEikQywJ1GSbDA.0 + - QfrKCE1CGkuW8crJoqrWtw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -130,7 +132,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 508ms + - 675ms status: code: 201 message: Created @@ -146,26 +148,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:51:55 GMT + - Tue, 07 Sep 2021 21:43:06 GMT ms-cv: - - 1bYLG1U8+UuXKdfWHMC3xQ.0 + - /unInCiv8Uq6tilz+4iNew.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 108ms + - 123ms status: code: 204 message: No Content @@ -181,9 +183,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:55 GMT + - Tue, 07 Sep 2021 21:43:06 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -193,11 +195,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:51:55 GMT + - Tue, 07 Sep 2021 21:43:06 GMT ms-cv: - - 2lggGcjKFEKHSRPaC+Tdtg.0 + - TqvZZD6LH0GF46hmOZOT/A.0 request-context: - appId= strict-transport-security: @@ -205,7 +208,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 685ms + - 825ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml index fa647e635369..c1cda9346964 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_no_participants.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:56 GMT + - Tue, 07 Sep 2021 21:43:07 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-1534-9806-113a0d002a51"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-9c51-d6d4-4448220013c7"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:56 GMT + - Tue, 07 Sep 2021 21:43:07 GMT ms-cv: - - KZYlls6Ju0uv3K93fXVuBA.0 + - 6MbgJyigoUSSq9+Yj55h8Q.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 123ms + - 64ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:57 GMT + - Tue, 07 Sep 2021 21:43:07 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:56.2488809+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:07.8575754+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:57 GMT + - Tue, 07 Sep 2021 21:43:07 GMT ms-cv: - - dPgBczYazEKv4sjiHqB9Gw.0 + - Zah6mwoal0OcJAU236kcEg.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 165ms + - 133ms status: code: 200 message: OK @@ -103,26 +105,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 0587da26-8d1a-4b03-ade7-f702310b3e17 + - ebe93b04-9efa-4e23-bace-fdefdaa94f1a method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:EyT1M86f22dSYWHcXYA5QmKJ-EVOiXZ5TrkGPn0N1HY1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:51:57Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-1534-9806-113a0d002a51", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-1534-9806-113a0d002a51"}}}}' + body: '{"chatThread": {"id": "19:KXkU_O83ZDXigWUXXD9jGalYO4VXCDNUUHWV2p_dzao1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:08Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-9c51-d6d4-4448220013c7", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-9c51-d6d4-4448220013c7"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:57 GMT + - Tue, 07 Sep 2021 21:43:08 GMT ms-cv: - - k0JPeei4/kykVHAe4VoHrQ.0 + - m1g41vyupkOkO/XbU/V4iw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -130,7 +132,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 725ms + - 837ms status: code: 201 message: Created @@ -146,26 +148,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:51:58 GMT + - Tue, 07 Sep 2021 21:43:08 GMT ms-cv: - - L2klub7EVU2txmVdZFb2pw.0 + - FRM3qr1bIE+FTpwveyJulw.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 169ms + - 272ms status: code: 204 message: No Content @@ -181,9 +183,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:58 GMT + - Tue, 07 Sep 2021 21:43:09 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -193,11 +195,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:51:59 GMT + - Tue, 07 Sep 2021 21:43:09 GMT ms-cv: - - KeGcNL0Fh0ebitakfwUzAQ.0 + - ZS3inrsf50GyJOp+/lO6ow.0 request-context: - appId= strict-transport-security: @@ -205,7 +208,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 789ms + - 383ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml index 120f929b1131..123d8df4f080 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_create_chat_thread_w_repeatability_request_id.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:59 GMT + - Tue, 07 Sep 2021 21:43:09 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-a6be-ac00-343a0d000c83"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:59 GMT + - Tue, 07 Sep 2021 21:43:09 GMT ms-cv: - - HZFqLa4hkUyGMVEld3KdVA.0 + - 2ZbnCi2z/UCrT8qAOpRVKw.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 51ms + - 53ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:51:59 GMT + - Tue, 07 Sep 2021 21:43:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:51:59.096303+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:10.4041757+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:51:59 GMT + - Tue, 07 Sep 2021 21:43:09 GMT ms-cv: - - hZ+lbd0rsUmh4681jrgnYg.0 + - nLvqD7MAI0Ss+mnDi6vTYQ.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 65ms + - 68ms status: code: 200 message: OK @@ -99,30 +101,30 @@ interactions: Connection: - keep-alive Content-Length: - - '349' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 9853473b-2e19-48a9-9e01-7213d5a48b17 + - 1ed3c914-fc25-48bd-8030-1e0bc3d06bfd method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:baoPhoV0MBRwCFaTw9B6KTXk9IPD6BdiXpmtgzOiZMU1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:00Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf"}}}}' + body: '{"chatThread": {"id": "19:Kw0hYC58kHK_nXHg8RMl3x0VTIyR3xQaxcBA_xE4vO41@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:10Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-a6be-ac00-343a0d000c83", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-a6be-ac00-343a0d000c83"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:00 GMT + - Tue, 07 Sep 2021 21:43:10 GMT ms-cv: - - kGbFzY/Kk0ytZH55SddRAg.0 + - PyYHvmo9bEuXxqofv1IRpA.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -130,7 +132,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 417ms + - 682ms status: code: 201 message: Created @@ -148,26 +150,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 9853473b-2e19-48a9-9e01-7213d5a48b17 + - 1ed3c914-fc25-48bd-8030-1e0bc3d06bfd method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:baoPhoV0MBRwCFaTw9B6KTXk9IPD6BdiXpmtgzOiZMU1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:00Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2139-28c5-593a0d001bbf"}}}}' + body: '{"chatThread": {"id": "19:Kw0hYC58kHK_nXHg8RMl3x0VTIyR3xQaxcBA_xE4vO41@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:10Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-a6be-ac00-343a0d000c83", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-a6be-ac00-343a0d000c83"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:00 GMT + - Tue, 07 Sep 2021 21:43:15 GMT ms-cv: - - uD0G+0wiIUWTNMOyZ0YwMA.0 + - yJi1GKQE4kWHooIIxg1jvg.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -175,7 +177,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 324ms + - 4850ms status: code: 201 message: Created @@ -191,26 +193,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:52:00 GMT + - Tue, 07 Sep 2021 21:43:15 GMT ms-cv: - - EOkx3+UMpUiLV24IbB04lg.0 + - Jy6MKVhCzUCTUR6GPMqKAA.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 156ms + - 137ms status: code: 204 message: No Content @@ -226,9 +228,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:01 GMT + - Tue, 07 Sep 2021 21:43:16 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -238,11 +240,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:01 GMT + - Tue, 07 Sep 2021 21:43:16 GMT ms-cv: - - 4ibqaJ1kXE29KWKliFiPoQ.0 + - ZAZr0nbff0qf0AXr5CkfmQ.0 request-context: - appId= strict-transport-security: @@ -250,7 +253,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 849ms + - 562ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml index 7e547b20ff4c..6e79b0029475 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_delete_chat_thread.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:02 GMT + - Tue, 07 Sep 2021 21:43:17 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2ca4-ceb1-a43a0d00bdf0"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-c1c1-f3f5-343a0d001718"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:02 GMT + - Tue, 07 Sep 2021 21:43:16 GMT ms-cv: - - LCJeZi2K80KbwaRWe9X53w.0 + - wdC4RYYzm0qXNr2A5c5nPQ.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 69ms + - 26ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:02 GMT + - Tue, 07 Sep 2021 21:43:17 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:02.1225636+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:17.2759219+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:02 GMT + - Tue, 07 Sep 2021 21:43:16 GMT ms-cv: - - k6lr9tU5H0mMyqWL4OzpHg.0 + - LafnLaz3R0+txjT3ixlbJg.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 134ms + - 32ms status: code: 200 message: OK @@ -103,26 +105,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 86c48417-b6bc-4cd0-b961-dea8ef0c8b0f + - de3b1130-d2f1-414a-945d-fcee06a03c94 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:tdfwwXihXDa8rsRse8l9B9hzKwqjOdap_gAcdLfikGI1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:03Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2ca4-ceb1-a43a0d00bdf0", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-2ca4-ceb1-a43a0d00bdf0"}}}}' + body: '{"chatThread": {"id": "19:fprPH94VnygtLgUgGN1GSzH6nn0dcm1G0rnKqy63_WE1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:17Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-c1c1-f3f5-343a0d001718", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-c1c1-f3f5-343a0d001718"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:03 GMT + - Tue, 07 Sep 2021 21:43:17 GMT ms-cv: - - eX/cox2sDEWqdZ2KfjE5ZQ.0 + - 9VwfcMvGw0qaTm9pkXnehQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -130,7 +132,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 644ms + - 691ms status: code: 201 message: Created @@ -146,26 +148,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:52:03 GMT + - Tue, 07 Sep 2021 21:43:18 GMT ms-cv: - - d00+LMTFpUGitUriihYSJQ.0 + - ljKxWAiEP0O9ykHI2Hq7eg.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 194ms + - 466ms status: code: 204 message: No Content @@ -181,26 +183,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:52:04 GMT + - Tue, 07 Sep 2021 21:43:18 GMT ms-cv: - - GPC1/PSvBE2rK0syf8hL6A.0 + - D+pzaTsX20qZ2EJ2vuKouw.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 108ms + - 92ms status: code: 204 message: No Content @@ -216,9 +218,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:04 GMT + - Tue, 07 Sep 2021 21:43:18 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -228,11 +230,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:05 GMT + - Tue, 07 Sep 2021 21:43:18 GMT ms-cv: - - 6H/JZr2bRkCZemzgoxAUwQ.0 + - f2Ty2cJZpUKtvFDlpmc2tQ.0 request-context: - appId= strict-transport-security: @@ -240,7 +243,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 778ms + - 469ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml index fbdd58d17623..a1b9c125381d 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_get_thread_client.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:05 GMT + - Tue, 07 Sep 2021 21:43:19 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-393c-71bf-a43a0d00bb84"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-cb7b-23fd-343a0d002161"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:05 GMT + - Tue, 07 Sep 2021 21:43:19 GMT ms-cv: - - YDWH0ukBjU2aYAUz/jD7Pw.0 + - jtkXi+T//02Ciqvtw/tl7w.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 101ms + - 55ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:06 GMT + - Tue, 07 Sep 2021 21:43:19 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:05.3848576+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:19.7855196+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:05 GMT + - Tue, 07 Sep 2021 21:43:19 GMT ms-cv: - - ZLU/DNyJfUGKjlLVbVIo0Q.0 + - FrMs6N14wUS88PlQtYblCA.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 167ms + - 46ms status: code: 200 message: OK @@ -103,26 +105,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 1f86cf03-f998-4b6a-9d80-eb795b4d78c0 + - fc665ffa-5ca7-4f81-b678-f85310ee81c9 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:V41iISKlCQRg67Jwb7-K1BSJBq-bxYb2dARsXNarYS41@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:06Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-393c-71bf-a43a0d00bb84", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-393c-71bf-a43a0d00bb84"}}}}' + body: '{"chatThread": {"id": "19:Nj27i4RBQX2xWU7Zr1GZnmquzlpaCU5TJEd80cE8hQo1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:20Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-cb7b-23fd-343a0d002161", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-cb7b-23fd-343a0d002161"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:06 GMT + - Tue, 07 Sep 2021 21:43:20 GMT ms-cv: - - AJhAjaimzE2MvIIdIMf3Tg.0 + - F2/lfhmkwEa32nn2kQ6Kvw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -130,7 +132,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 573ms + - 883ms status: code: 201 message: Created @@ -146,26 +148,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:52:06 GMT + - Tue, 07 Sep 2021 21:43:20 GMT ms-cv: - - i+4bX327DEeBUOIFU2jUqg.0 + - ugvXhWAF5UO4QaNhYOOWzQ.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 158ms + - 130ms status: code: 204 message: No Content @@ -181,9 +183,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:07 GMT + - Tue, 07 Sep 2021 21:43:21 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -193,11 +195,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:09 GMT + - Tue, 07 Sep 2021 21:43:21 GMT ms-cv: - - V0Q6d9eupkiPq53LK9K21g.0 + - 9rMpnwYiOUCNx6kLQQkThw.0 request-context: - appId= strict-transport-security: @@ -205,7 +208,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 2023ms + - 640ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml index 3c53831c4e1a..0c81eb07f665 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e.test_list_chat_threads.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:09 GMT + - Tue, 07 Sep 2021 21:43:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-4924-ceb1-a43a0d00bdf1"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-d63e-657a-254822005377"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:09 GMT + - Tue, 07 Sep 2021 21:43:22 GMT ms-cv: - - W70fntTim0iRoBmVnHyZPQ.0 + - 9GU8qSviHEm529wkfnr4oQ.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 62ms + - 105ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:10 GMT + - Tue, 07 Sep 2021 21:43:22 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:09.4380765+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:22.7859682+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:09 GMT + - Tue, 07 Sep 2021 21:43:22 GMT ms-cv: - - jM6nJq4WUUKkpZo9ye/2Hw.0 + - +xWTfHw4l0+LErEgBRWOww.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 130ms + - 153ms status: code: 200 message: OK @@ -99,30 +101,30 @@ interactions: Connection: - keep-alive Content-Length: - - '350' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - a9a8c11d-0ceb-4bd5-9763-a2acad21bf21 + - 26a67d04-e0b3-41fa-94a4-46d5f158b3e1 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:qOEr5Gk8t3D51yo9xhFS77rwmzDD2Mc2qC3tZtag27A1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:10Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-4924-ceb1-a43a0d00bdf1", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-4924-ceb1-a43a0d00bdf1"}}}}' + body: '{"chatThread": {"id": "19:xy0nRJZGiR62xpd5pVw3dSlMnmcQ7IUX1l9Nt8fOzkY1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:23Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-d63e-657a-254822005377", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-d63e-657a-254822005377"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:10 GMT + - Tue, 07 Sep 2021 21:43:23 GMT ms-cv: - - 4+bBwEXHXE2zCya+ryunJA.0 + - FF8l0U4VK0CKgiYKmZI5tg.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -130,7 +132,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 667ms + - 923ms status: code: 201 message: Created @@ -144,21 +146,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads?maxPageSize=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?maxPageSize=1&api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:13 GMT + - Tue, 07 Sep 2021 21:43:25 GMT ms-cv: - - pX4cwuqJe0SJay2Gyaw+zQ.0 + - UHXTw8c9D0WQF1VDdL2PBA.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -166,7 +168,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 105ms + - 100ms status: code: 200 message: OK @@ -182,26 +184,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:52:13 GMT + - Tue, 07 Sep 2021 21:43:25 GMT ms-cv: - - 1ZpLuvKBpEGY+7NhkazJ2w.0 + - qOlTvI1bqEWNKy/pIMUkSQ.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 170ms + - 296ms status: code: 204 message: No Content @@ -217,9 +219,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:14 GMT + - Tue, 07 Sep 2021 21:43:26 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -229,11 +231,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:13 GMT + - Tue, 07 Sep 2021 21:43:26 GMT ms-cv: - - qpnAW7teXUaMzuBaE/HE+w.0 + - YkwGkTgamEiiXKNcbiT35A.0 request-context: - appId= strict-transport-security: @@ -241,7 +244,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 771ms + - 376ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml index 6f40a2a2b53f..3c99b1788610 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_async.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:14 GMT + - Tue, 07 Sep 2021 21:43:26 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-5eba-9806-113a0d002a58"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-e928-5505-4548220010ed"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:15 GMT + - Tue, 07 Sep 2021 21:43:26 GMT ms-cv: - - lrP95kLyUE2RhgWRM0xbaw.0 + - iFzBlBDiqUqsdO7MDUwDqA.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 95ms + - 64ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:15 GMT + - Tue, 07 Sep 2021 21:43:27 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:15.0461768+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:27.7175329+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:15 GMT + - Tue, 07 Sep 2021 21:43:27 GMT ms-cv: - - BBgY2fTxVEy5EhznI9pKEA.0 + - wbA0kTBOnUCtf2B/rrfJ9Q.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 156ms + - 322ms status: code: 200 message: OK @@ -99,54 +101,54 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 9f521261-6c27-45b4-ab58-372720169acb + - 45a204ae-501a-49d6-89fb-b4c54e16b47b method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:5OTItLkfqgNZNbdkZJGi0Tw7Gk3947sX4ushhmOXPCI1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:16Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-5eba-9806-113a0d002a58", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-5eba-9806-113a0d002a58"}}}}' + body: '{"chatThread": {"id": "19:IH2GWYcQbJYKdkqfrHGdDaxsqCZy2eK_c8LmH4qQkNE1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:27Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-e928-5505-4548220010ed", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-e928-5505-4548220010ed"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:52:16 GMT - ms-cv: 4ST5GKZFYk6p3Xtr48//Pg.0 + date: Tue, 07 Sep 2021 21:43:27 GMT + ms-cv: iqWjNQnkqE6jcKR6yNEdwQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 594ms + x-processing-time: 435ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:52:16 GMT - ms-cv: 3wsOIOWPBkuiQC7iTEF5aQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:43:27 GMT + ms-cv: HtkL6Hu7+U2jSJ3MAW0ttw.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 177ms + x-processing-time: 287ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -159,9 +161,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:17 GMT + - Tue, 07 Sep 2021 21:43:28 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -171,11 +173,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:18 GMT + - Tue, 07 Sep 2021 21:43:28 GMT ms-cv: - - u9UPqVKkgEmt/w2caavvGQ.0 + - TujUO84wKkelIbFrM0kpGw.0 request-context: - appId= strict-transport-security: @@ -183,7 +186,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 914ms + - 495ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml index 4ddb3da38fd8..931f949ee4e4 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_no_participants_async.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:18 GMT + - Tue, 07 Sep 2021 21:43:29 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-6ba4-51b9-a43a0d0093f5"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-f2d5-defd-8b3a0d00085e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:18 GMT + - Tue, 07 Sep 2021 21:43:28 GMT ms-cv: - - zjSh6ObOn0Kx8GCRti+iOg.0 + - fsHLA9DArE6hOIcUh7G3vg.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 105ms + - 88ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:19 GMT + - Tue, 07 Sep 2021 21:43:29 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:18.2935729+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:30.1503837+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:18 GMT + - Tue, 07 Sep 2021 21:43:29 GMT ms-cv: - - 4l2QFgYaT06TZVzmMDmgIA.0 + - aC13BDzlcESHy2F/qZOb8g.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 178ms + - 216ms status: code: 200 message: OK @@ -99,54 +101,54 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 8d8b5540-2c6a-4722-8e95-299ec5e4f3cf + - 2bbab032-4bc0-4e24-b076-15bcd6225970 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:0KyXGTSmW4__jXsrXdhuZ11gb50yZh_0LKKhtkVNtbo1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:19Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-6ba4-51b9-a43a0d0093f5", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-6ba4-51b9-a43a0d0093f5"}}}}' + body: '{"chatThread": {"id": "19:ZTVQEE117o2rQ2H4NMO0ujRaV6JKnvfSaXm-eBtIOk41@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:30Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-f2d5-defd-8b3a0d00085e", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-f2d5-defd-8b3a0d00085e"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:52:20 GMT - ms-cv: uIgLKvBgaU2uqOf0xBEZDg.0 + date: Tue, 07 Sep 2021 21:43:30 GMT + ms-cv: kufYfMbafkeiEEngKsU68A.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 529ms + x-processing-time: 592ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:52:20 GMT - ms-cv: Hlu6bmKxBkeFxBtf6pExUA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:43:30 GMT + ms-cv: COklUDujgkem+VQQtFIhkg.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 108ms + x-processing-time: 154ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -159,9 +161,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:20 GMT + - Tue, 07 Sep 2021 21:43:31 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -171,11 +173,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:21 GMT + - Tue, 07 Sep 2021 21:43:30 GMT ms-cv: - - B1y8Zlm4FEeeZ4IGvzVfNA.0 + - 4PJJlJBBNUS/oFrjy48GCw.0 request-context: - appId= strict-transport-security: @@ -183,7 +186,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 825ms + - 551ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml index aa543399db5c..32441abcba91 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_create_chat_thread_w_repeatability_request_id_async.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:21 GMT + - Tue, 07 Sep 2021 21:43:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-fb79-657a-254822005378"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:21 GMT + - Tue, 07 Sep 2021 21:43:31 GMT ms-cv: - - +YwKWQsXzkScD6ust3GIiw.0 + - 5p64Y2+2eUuIA8zrC5pqRw.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 74ms + - 88ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:22 GMT + - Tue, 07 Sep 2021 21:43:32 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:21.2418757+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:32.285219+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:22 GMT + - Tue, 07 Sep 2021 21:43:31 GMT ms-cv: - - Zj9KI87hAUKrZJHga6zfkQ.0 + - dYUaim4a8EqADDvZ6laIDQ.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 37ms + - 150ms status: code: 200 message: OK @@ -99,30 +101,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 472eca96-c164-4ca5-b4db-e9a159504505 + - 27c754ad-8b96-4129-a468-b4d1dd40e5f9 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:z524nkZNk3nmijkg6pYKT3aHFSqaAnjruZ15gorU1Gg1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:22Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9"}}}}' + body: '{"chatThread": {"id": "19:Fd9N4ZUj3m72VQCBeI-3foEl40-mZKBoced88P6e8Ag1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:32Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-fb79-657a-254822005378", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-fb79-657a-254822005378"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:52:22 GMT - ms-cv: 3OFCTqMk5UCSLAdCEMTtrQ.0 + date: Tue, 07 Sep 2021 21:43:33 GMT + ms-cv: /iewCtPh/U+MmxsGy9P/DQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 343ms + x-processing-time: 858ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"topic": "test topic", "participants": "sanitized"}' headers: @@ -133,54 +135,54 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 472eca96-c164-4ca5-b4db-e9a159504505 + - 27c754ad-8b96-4129-a468-b4d1dd40e5f9 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:z524nkZNk3nmijkg6pYKT3aHFSqaAnjruZ15gorU1Gg1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:22Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-77dc-f6c7-593a0d009fe9"}}}}' + body: '{"chatThread": {"id": "19:Fd9N4ZUj3m72VQCBeI-3foEl40-mZKBoced88P6e8Ag1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:32Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-fb79-657a-254822005378", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6218-fb79-657a-254822005378"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:52:22 GMT - ms-cv: ysfM12uJ80a0KsSChilJeg.0 + date: Tue, 07 Sep 2021 21:43:33 GMT + ms-cv: BbzxvDRmLki8D/bRp6CEkQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 223ms + x-processing-time: 408ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:52:23 GMT - ms-cv: IeyURAjdEUeXe8t6++bOUg.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:43:33 GMT + ms-cv: qaqNUQrrZ0mGhXikDvnTig.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 286ms + x-processing-time: 275ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -193,9 +195,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:24 GMT + - Tue, 07 Sep 2021 21:43:34 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -205,11 +207,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:24 GMT + - Tue, 07 Sep 2021 21:43:34 GMT ms-cv: - - wZ0dtedx60qJURutofHpxA.0 + - 3UQQsMBts02ECyD8pTV3RQ.0 request-context: - appId= strict-transport-security: @@ -217,7 +220,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 688ms + - 351ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml index 396965e752de..b3f661ef8c6a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_delete_chat_thread.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:25 GMT + - Tue, 07 Sep 2021 21:43:34 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-8736-9806-113a0d002a5b"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-082c-b271-25482200110b"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:26 GMT + - Tue, 07 Sep 2021 21:43:35 GMT ms-cv: - - pg7/XMlZ6k+ghW3ewBIGww.0 + - lEc3xGEvpUGJV+WCRMGjcw.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 92ms + - 113ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:26 GMT + - Tue, 07 Sep 2021 21:43:35 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:25.4830008+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:35.5570018+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:26 GMT + - Tue, 07 Sep 2021 21:43:35 GMT ms-cv: - - sJbW3M3D7EqBJAyD2O+3rw.0 + - CQeH5TWFpkKh3UJ68PQd9Q.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 167ms + - 163ms status: code: 200 message: OK @@ -99,78 +101,78 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - e3d2cd5a-8940-472f-a4a9-efce0f4d3abb + - de0255c7-43a7-4382-a986-b0a6917e7505 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:43_h7rasMUfHonmcY5qxSv2o0lAK2BfUmPl9E0uUfmU1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:27Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-8736-9806-113a0d002a5b", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-8736-9806-113a0d002a5b"}}}}' + body: '{"chatThread": {"id": "19:SaE0tqTV8XwubGagm8uo1LMedoPEu5Fg7Bz8U5miv6E1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:35Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-082c-b271-25482200110b", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-082c-b271-25482200110b"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:52:27 GMT - ms-cv: WMOPSchIikmmQDHr+9gv4g.0 + date: Tue, 07 Sep 2021 21:43:36 GMT + ms-cv: TSTf8OyQdECvPm2VyEzDeA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 568ms + x-processing-time: 573ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:52:27 GMT - ms-cv: MzbJCCwBj0GUpBzxDXQnAA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:43:36 GMT + ms-cv: /h+0MbIhX0e4GNSByPehDA.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 130ms + x-processing-time: 250ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:52:28 GMT - ms-cv: kkb1Qs2qGESjwci1N+fo+Q.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:43:36 GMT + ms-cv: geA4+xb6DUuYbWQY+wDhnQ.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 177ms + x-processing-time: 141ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -183,9 +185,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:29 GMT + - Tue, 07 Sep 2021 21:43:36 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -195,11 +197,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:30 GMT + - Tue, 07 Sep 2021 21:43:37 GMT ms-cv: - - IiAIRAiNK0mVZYyjIzIRJA.0 + - 5e9IfUV8t0y/Nr6tCC1Q8w.0 request-context: - appId= strict-transport-security: @@ -207,7 +210,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 925ms + - 783ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml index 8e1e9f6188b9..cee29e5d453e 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_get_thread_client.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:30 GMT + - Tue, 07 Sep 2021 21:43:37 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-a2df-edbe-a43a0d00d178"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-129e-b271-25482200110c"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:32 GMT + - Tue, 07 Sep 2021 21:43:37 GMT ms-cv: - - goTz6/Zc8kSWOdRGe7I+vA.0 + - IfRyoSScz0GgjuVkhNvRFA.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 85ms + - 88ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:33 GMT + - Tue, 07 Sep 2021 21:43:38 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:32.9783707+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:38.2180999+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:33 GMT + - Tue, 07 Sep 2021 21:43:37 GMT ms-cv: - - 8YV1Fd9HFkmu3J9JbHja0Q.0 + - AYsKNLDkPk27CS272IKG/Q.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 136ms + - 152ms status: code: 200 message: OK @@ -99,54 +101,54 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 6e1f34d0-972f-4a8f-ad0f-e454e3d90cad + - 6c8e1f37-2c3e-4eeb-b613-09b1a16730d1 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:7LGDmjICcpbNNGmJgqpwIQ6QdF1GSHBbEGDhh9_0w3Q1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:34Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-a2df-edbe-a43a0d00d178", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-a2df-edbe-a43a0d00d178"}}}}' + body: '{"chatThread": {"id": "19:He3LVtzJhGoHqHI7rbJQqJu6fU_7KSuUJsBfK8EHO1w1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:38Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-129e-b271-25482200110c", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-129e-b271-25482200110c"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:52:34 GMT - ms-cv: jMldTRwtpkOwwkFKBoCJNQ.0 + date: Tue, 07 Sep 2021 21:43:37 GMT + ms-cv: Ga6xk+YHakmQ38CsRA8C8w.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 597ms + x-processing-time: 390ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:52:34 GMT - ms-cv: njWVsxdIVU+Zkc0yo+j84Q.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:43:38 GMT + ms-cv: n/DC7gulbUKk9MENxF94/Q.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 169ms + x-processing-time: 151ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -159,9 +161,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:35 GMT + - Tue, 07 Sep 2021 21:43:39 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -171,11 +173,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:35 GMT + - Tue, 07 Sep 2021 21:43:39 GMT ms-cv: - - 8sPeUSKmFEG+7OHyfJR1MQ.0 + - 8Yy4kuVM5EaasEjbnUyxeg.0 request-context: - appId= strict-transport-security: @@ -183,7 +186,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 640ms + - 591ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml index 498026e03c2f..82148d6bbed3 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_client_e2e_async.test_list_chat_threads.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:36 GMT + - Tue, 07 Sep 2021 21:43:39 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-b3fa-ceb1-a43a0d00bdf8"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-1ab3-ac00-343a0d000c84"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:36 GMT + - Tue, 07 Sep 2021 21:43:39 GMT ms-cv: - - pSJ0VwTB20K1kSnqqHi0Nw.0 + - AHQv4BdaoUuapHznAbNk9w.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 60ms + - 52ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:37 GMT + - Tue, 07 Sep 2021 21:43:40 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:36.884581+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:40.0720938+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:37 GMT + - Tue, 07 Sep 2021 21:43:39 GMT ms-cv: - - b6q5W6gNAkW8vVnkBXne3A.0 + - O0khDv4GZUC/8N3b777bvw.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 128ms + - 56ms status: code: 200 message: OK @@ -99,79 +101,79 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 3ad888a5-d7e1-48c7-bff7-7203e0738b4e + - 9f67f5f9-e523-4ada-ad1f-955e436cd581 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:YPYZOu1agJIntrn2lZ-WacPkxyTBSYdJkOlUhiCoOwM1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:38Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-b3fa-ceb1-a43a0d00bdf8", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-b3fa-ceb1-a43a0d00bdf8"}}}}' + body: '{"chatThread": {"id": "19:Js9XxxMFXF7CdT3eEC0UQJ52um1mvOnxlQ2TAyIyJv41@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:40Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-1ab3-ac00-343a0d000c84", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-1ab3-ac00-343a0d000c84"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:52:38 GMT - ms-cv: 4xGkE00hIUmbOhafN06YVg.0 + date: Tue, 07 Sep 2021 21:43:40 GMT + ms-cv: 8TMRWR1PcEafotoL8QeHMg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 590ms + x-processing-time: 535ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads?maxPageSize=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?maxPageSize=1&api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:52:41 GMT - ms-cv: KcAYig+aWkekdksKcPmhuA.0 + date: Tue, 07 Sep 2021 21:43:42 GMT + ms-cv: WgX2WaUGy0qd40MewVbXbw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 81ms + x-processing-time: 123ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads?maxPageSize=1&api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?maxPageSize=1&api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:52:41 GMT - ms-cv: 75liE9Ou006qfrU5tYTf+g.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:43:42 GMT + ms-cv: z+T2ot3Gmk6wpzClXkrRsA.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 125ms + x-processing-time: 249ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -184,9 +186,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:42 GMT + - Tue, 07 Sep 2021 21:43:43 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -196,11 +198,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:42 GMT + - Tue, 07 Sep 2021 21:43:42 GMT ms-cv: - - k1kuT9vr3E2aH1+qo4Ljfg.0 + - RUHM1yxrhkyhEFzRAaz0iw.0 request-context: - appId= strict-transport-security: @@ -208,7 +211,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 887ms + - 312ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml index 43632207c237..0c53b9d08171 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_add_participants.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:44 GMT + - Tue, 07 Sep 2021 21:43:44 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-cf6a-b8ba-a43a0d002ce4"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-2d92-89df-444822001277"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:43 GMT + - Tue, 07 Sep 2021 21:43:44 GMT ms-cv: - - gWrrJWCVOUumh2Oz9BQbtg.0 + - 2ADNhyaXWkql78apERt7wQ.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 84ms + - 61ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:44 GMT + - Tue, 07 Sep 2021 21:43:44 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:44.0742387+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:45.1808194+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:44 GMT + - Tue, 07 Sep 2021 21:43:45 GMT ms-cv: - - lDsgpVAIi029IUCxURZs+w.0 + - r6gbR9bFf0umM7wLlMNmtQ.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 128ms + - 257ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:45 GMT + - Tue, 07 Sep 2021 21:43:45 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-d207-b8ba-a43a0d002ce5"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-2faf-89df-444822001278"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:44 GMT + - Tue, 07 Sep 2021 21:43:45 GMT ms-cv: - - 1mRJWhZTy0yQ3VkF6ZGJOA.0 + - eDv9GdUvaUSUSyuuEjI3iw.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 62ms + - 113ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:45 GMT + - Tue, 07 Sep 2021 21:43:45 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:44.480522+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:45.8863235+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:44 GMT + - Tue, 07 Sep 2021 21:43:45 GMT ms-cv: - - U8K+fnmQl0ultnK/AMI8dQ.0 + - 3AZtZGfXbkyt2Is7D6hnjA.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 136ms + - 312ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Connection: - keep-alive Content-Length: - - '350' + - '347' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 7b84fd83-f8c7-462a-8334-7a374313762f + - c13ade92-7e04-4a63-93be-3d4846ad8a0b method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:ewl3-fapK9Nosd1ilIbwq6vODeuiJWv30vQkNN7D0FQ1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:46Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-cf6a-b8ba-a43a0d002ce4", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-cf6a-b8ba-a43a0d002ce4"}}}}' + body: '{"chatThread": {"id": "19:IsX0C5SRQcduTdYKxuTPPfB9-zIae9xj-eU8UN-h2381@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:46Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-2d92-89df-444822001277", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-2d92-89df-444822001277"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:46 GMT + - Tue, 07 Sep 2021 21:43:45 GMT ms-cv: - - 6Uy157BgzUONPqW442LTHg.0 + - sU/3wYqPAkKGkI/F26I3pA.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 711ms + - 590ms status: code: 201 message: Created @@ -238,21 +242,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-09-07 response: body: '{}' headers: api-supported-versions: - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, - 2021-04-05-preview6 + 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:47 GMT + - Tue, 07 Sep 2021 21:43:47 GMT ms-cv: - - 3k2SkPvs/0+RFMEZ4pkbVw.0 + - jHrhg7YlYUqTaO9GEnIRJw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -260,7 +264,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 369ms + - 535ms status: code: 201 message: Created @@ -276,26 +280,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:52:47 GMT + - Tue, 07 Sep 2021 21:43:46 GMT ms-cv: - - zr9KmXuUrUSU8qf7gOZB6Q.0 + - 5uFvkSDrdkqM8VM2GWFgtg.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 170ms + - 135ms status: code: 204 message: No Content @@ -311,9 +315,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:48 GMT + - Tue, 07 Sep 2021 21:43:47 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -323,11 +327,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:49 GMT + - Tue, 07 Sep 2021 21:43:48 GMT ms-cv: - - 5eO0U4Xl70qmP+O5wxkUvA.0 + - e/tqdO5IgEKJRv1fLAAb7g.0 request-context: - appId= strict-transport-security: @@ -335,7 +340,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 1828ms + - 515ms status: code: 204 message: No Content @@ -351,9 +356,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:50 GMT + - Tue, 07 Sep 2021 21:43:48 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -363,11 +368,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:50 GMT + - Tue, 07 Sep 2021 21:43:48 GMT ms-cv: - - 0jEp3n0/Q0mKoLnwiVc44w.0 + - InBO+3vb90Wmp3IHN1ML/w.0 request-context: - appId= strict-transport-security: @@ -375,7 +381,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 929ms + - 399ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml index 2a9a519101d4..6586c4588d4d 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_delete_message.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:51 GMT + - Tue, 07 Sep 2021 21:43:48 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-ea1a-ceb1-a43a0d00bdfb"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-3db5-f3f5-343a0d00171a"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:51 GMT + - Tue, 07 Sep 2021 21:43:48 GMT ms-cv: - - NmIRlZ9MJUqhnkLfWeA4Jg.0 + - P9TINT5bbkmDjklD+oVyVA.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 91ms + - 29ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:51 GMT + - Tue, 07 Sep 2021 21:43:49 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:50.6187793+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:50.0149348+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:51 GMT + - Tue, 07 Sep 2021 21:43:48 GMT ms-cv: - - R/DEBPl8qEaKhCoerDW0sA.0 + - gyGFLDQei0uXgCshafjjUQ.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 137ms + - 32ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:51 GMT + - Tue, 07 Sep 2021 21:43:49 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-eb90-ceb1-a43a0d00bdfc"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-3e66-f3f5-343a0d00171b"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:51 GMT + - Tue, 07 Sep 2021 21:43:48 GMT ms-cv: - - 0y0XeeKYSE2rBdRQWOkO0g.0 + - gaztuKn93k+ZhlCBVryf8w.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 71ms + - 25ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:51 GMT + - Tue, 07 Sep 2021 21:43:49 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:51.0220441+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:49.3538411+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:51 GMT + - Tue, 07 Sep 2021 21:43:48 GMT ms-cv: - - Opq0xom0WkalaUwGpwIW4A.0 + - QrhIcGBhP0Cy52OB9V7d9Q.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 165ms + - 78ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Connection: - keep-alive Content-Length: - - '350' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 3d6f0447-94e6-49e5-bcce-81b5dbc225a7 + - e9198e79-ca80-4767-96d5-a907a2af3691 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:Lka7ukU8T01s5p_sXicH_14AJWaqaPT64snT9Is6pM01@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:52Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-ea1a-ceb1-a43a0d00bdfb", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-ea1a-ceb1-a43a0d00bdfb"}}}}' + body: '{"chatThread": {"id": "19:flXz_5HJENTjYJMozyAxdl7oBi7jSrSarf48LAN_Bpo1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:49Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-3db5-f3f5-343a0d00171a", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-3db5-f3f5-343a0d00171a"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:52 GMT + - Tue, 07 Sep 2021 21:43:49 GMT ms-cv: - - gI1INlIc9Eq8hJIXY0zx9A.0 + - IySCWeBgCE+8KlRwtTVs5g.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 496ms + - 432ms status: code: 201 message: Created @@ -239,21 +243,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:52 GMT + - Tue, 07 Sep 2021 21:43:50 GMT ms-cv: - - Vep4URYeN0avDBFaJw3YBA.0 + - KFhsL/8B+Uqp0NO7fwB1rw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -261,7 +265,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 210ms + - 196ms status: code: 201 message: Created @@ -277,26 +281,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:52:52 GMT + - Tue, 07 Sep 2021 21:43:50 GMT ms-cv: - - P73t5e6DHE2C+dpc3H8I6g.0 + - /mKgoizwQkGS0ysKCIRRzQ.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 257ms + - 206ms status: code: 204 message: No Content @@ -312,26 +316,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:52:53 GMT + - Tue, 07 Sep 2021 21:43:50 GMT ms-cv: - - uE4gXOvDkkCNfASslmSzQg.0 + - /o7uBP2U4kyifd8patml1w.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 318ms + - 363ms status: code: 204 message: No Content @@ -347,9 +351,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:53 GMT + - Tue, 07 Sep 2021 21:43:51 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -359,11 +363,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:54 GMT + - Tue, 07 Sep 2021 21:43:50 GMT ms-cv: - - we/NjoDv30eZV59VldrtQw.0 + - a2Jr+3G410mEjURnf5tSdw.0 request-context: - appId= strict-transport-security: @@ -371,7 +376,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 620ms + - 341ms status: code: 204 message: No Content @@ -387,9 +392,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:54 GMT + - Tue, 07 Sep 2021 21:43:51 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -399,11 +404,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:55 GMT + - Tue, 07 Sep 2021 21:43:50 GMT ms-cv: - - H5PY1b2hzEyKK2eXRdSnpA.0 + - bx6YUzTVnUWSbms69n7jlw.0 request-context: - appId= strict-transport-security: @@ -411,7 +417,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 732ms + - 224ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml index a22948fc35dd..c0de389437c4 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_message.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:55 GMT + - Tue, 07 Sep 2021 21:43:51 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-4aef-497d-2548220048f3"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:55 GMT + - Tue, 07 Sep 2021 21:43:52 GMT ms-cv: - - aaeABU1Xe06GwZEg1JswmQ.0 + - riaeLEHZMk6WGTw40AbnxQ.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 42ms + - 152ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:55 GMT + - Tue, 07 Sep 2021 21:43:52 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:54.7753604+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:52.6707235+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:55 GMT + - Tue, 07 Sep 2021 21:43:52 GMT ms-cv: - - 0N2X/MP2MESeB3PkXke1Og.0 + - /d2WE8aRdkKp0xRBwjcYPA.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 37ms + - 194ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:55 GMT + - Tue, 07 Sep 2021 21:43:52 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-fbac-e3c7-593a0d001af5"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-4cdb-497d-2548220048f4"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:55 GMT + - Tue, 07 Sep 2021 21:43:52 GMT ms-cv: - - XYeLM4uixEWWWjqTEwRQ8Q.0 + - PRV1bJeiB0aGymFKqNg9Mg.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 24ms + - 143ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:55 GMT + - Tue, 07 Sep 2021 21:43:53 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:54.9505748+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:53.3642856+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:55 GMT + - Tue, 07 Sep 2021 21:43:53 GMT ms-cv: - - 1c6kgzPFVU2Zq3K6kikL4A.0 + - wKB+f6TtDU+BY5DvDp+eNA.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 32ms + - 257ms status: code: 200 message: OK @@ -193,26 +197,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 18c89648-0d4a-4373-8fa3-d52aa41524e2 + - 5d8c8924-2264-41b1-ae77-410cf20e1909 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:DKWVb1_3iQgLjBQn3i_d2saoFSv3GgYXKAwt8tQRD2g1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:52:56Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4"}}}}' + body: '{"chatThread": {"id": "19:em_lUfue23ChshALktR2gtcqgzI4ijPUk_nypP7BCE81@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:53Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-4aef-497d-2548220048f3", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-4aef-497d-2548220048f3"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:56 GMT + - Tue, 07 Sep 2021 21:43:53 GMT ms-cv: - - S5UG0uK3REel82YZV2fUFQ.0 + - LBhz2RTqyUOtQwwh1qbGnw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 648ms + - 344ms status: code: 201 message: Created @@ -239,21 +243,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:56 GMT + - Tue, 07 Sep 2021 21:43:53 GMT ms-cv: - - 5CDv1n3FlUGnK8jVsBpvVQ.0 + - WTpaFN1CVkO8sGQsLOHgNA.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -261,7 +265,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 279ms + - 382ms status: code: 201 message: Created @@ -275,24 +279,24 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-09-07 response: - body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1624395177044", + body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1631051034460", "content": {"message": "hello world"}, "senderDisplayName": "sender name", "createdOn": - "2021-06-22T20:52:57Z", "senderCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d560-faf7-e3c7-593a0d001af4"}}}' + "2021-09-07T21:43:54Z", "senderCommunicationIdentifier": {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-4aef-497d-2548220048f3", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-4aef-497d-2548220048f3"}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:56 GMT + - Tue, 07 Sep 2021 21:43:54 GMT ms-cv: - - pdfPUTV8qEyLn2wHdcpVUQ.0 + - YYVnz+aXKEOeKWDtEDxMeg.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -300,7 +304,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 116ms + - 134ms status: code: 200 message: OK @@ -316,26 +320,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:52:57 GMT + - Tue, 07 Sep 2021 21:43:54 GMT ms-cv: - - Y0Hhg87HE0CWyLi5i2UxZQ.0 + - S9fcD+vuVk658Rd33p993A.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 257ms + - 126ms status: code: 204 message: No Content @@ -351,9 +355,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:57 GMT + - Tue, 07 Sep 2021 21:43:54 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -363,11 +367,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:58 GMT + - Tue, 07 Sep 2021 21:43:55 GMT ms-cv: - - cQZhKYzCikGiqhT3eXhJ4A.0 + - BIOEHi6Jz0CGU5vyihCK2Q.0 request-context: - appId= strict-transport-security: @@ -375,7 +380,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 664ms + - 625ms status: code: 204 message: No Content @@ -391,9 +396,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:58 GMT + - Tue, 07 Sep 2021 21:43:55 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -403,11 +408,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:52:58 GMT + - Tue, 07 Sep 2021 21:43:55 GMT ms-cv: - - EFf8o6CvCk+VlW6ZWZ57ag.0 + - 97lkVopij0OE3/cXKG3GUg.0 request-context: - appId= strict-transport-security: @@ -415,7 +421,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 563ms + - 463ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml index 964de05022f0..61a87e34a8f2 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_get_properties.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:59 GMT + - Tue, 07 Sep 2021 21:43:56 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-5b2e-497d-2548220048f5"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:59 GMT + - Tue, 07 Sep 2021 21:43:56 GMT ms-cv: - - gidDQVUDekaenMwsLroXVg.0 + - NchWgoL+KEy7VGwx6dEXXQ.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 29ms + - 100ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:59 GMT + - Tue, 07 Sep 2021 21:43:56 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:58.6871619+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:56.8076168+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:59 GMT + - Tue, 07 Sep 2021 21:43:56 GMT ms-cv: - - 2phab7zz8U2Av91LApxy4g.0 + - ijwy5gFUvk+ptoMdnmg24w.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 42ms + - 157ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:59 GMT + - Tue, 07 Sep 2021 21:43:56 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0af6-28c5-593a0d001bd0"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-5d05-497d-2548220048f6"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:59 GMT + - Tue, 07 Sep 2021 21:43:56 GMT ms-cv: - - vuehMXX20k+Hv+GvTd/Yjw.0 + - N0OTtxpkc0CLHV/sQveUsA.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 33ms + - 130ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:52:59 GMT + - Tue, 07 Sep 2021 21:43:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:52:58.8764278+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:43:57.3285111+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:59 GMT + - Tue, 07 Sep 2021 21:43:57 GMT ms-cv: - - E7vFE+bEWUmOwwMXVfMnlQ.0 + - vrnFbJKs4EGHp+apoyXCug.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 44ms + - 159ms status: code: 200 message: OK @@ -193,26 +197,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - f4f2f85f-1a8c-49ef-b712-05d30d214b63 + - dacb368f-bbdf-4289-9dba-bee34ac1b1f7 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:cwsBqfi5P16U-E_PwkGgEcQcCg8z74f7OJfDhf2NRh01@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:00Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf"}}}}' + body: '{"chatThread": {"id": "19:4HxOWVifAPN5gxQVhJqP4d-wMrUt2bT5kZXWX3fnNTc1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:43:57Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-5b2e-497d-2548220048f5", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-5b2e-497d-2548220048f5"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:52:59 GMT + - Tue, 07 Sep 2021 21:43:57 GMT ms-cv: - - EqMQTSelQEqNupIBD6T6QQ.0 + - FD29Ak3/9UOpUmXlgoGy9A.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 448ms + - 536ms status: code: 201 message: Created @@ -234,23 +238,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: - body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-06-22T20:53:00Z", - "createdByCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-0a36-28c5-593a0d001bcf"}}}' + body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-09-07T21:43:57Z", + "createdByCommunicationIdentifier": {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-5b2e-497d-2548220048f5", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-5b2e-497d-2548220048f5"}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:00 GMT + - Tue, 07 Sep 2021 21:43:57 GMT ms-cv: - - /bi1FXiao0y/xvLterHScg.0 + - +C8A+GKsHkGcIQQ/4FNjSQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -258,7 +262,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 78ms + - 347ms status: code: 200 message: OK @@ -274,26 +278,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:00 GMT + - Tue, 07 Sep 2021 21:43:58 GMT ms-cv: - - 2IxEFt9ybkG3gNINgY8O+Q.0 + - br50fOuTSEmLkhvChWAMag.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 163ms + - 191ms status: code: 204 message: No Content @@ -309,9 +313,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:01 GMT + - Tue, 07 Sep 2021 21:43:58 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -321,11 +325,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:02 GMT + - Tue, 07 Sep 2021 21:43:59 GMT ms-cv: - - ejBwpkXvCUS+XNnVD8e/EA.0 + - ZR5nDx6c40Oh7hHsZXt5FQ.0 request-context: - appId= strict-transport-security: @@ -333,7 +338,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 822ms + - 427ms status: code: 204 message: No Content @@ -349,9 +354,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:02 GMT + - Tue, 07 Sep 2021 21:43:59 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -361,11 +366,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:02 GMT + - Tue, 07 Sep 2021 21:43:59 GMT ms-cv: - - a33rA3Yc+EWEC30cSKX61Q.0 + - VmJavMligkSM4guevvBWyA.0 request-context: - appId= strict-transport-security: @@ -373,7 +379,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 682ms + - 401ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml index fe112c14506d..c14209b3408a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_messages.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:03 GMT + - Tue, 07 Sep 2021 21:43:59 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1a9b-e3c7-593a0d001af6"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-6975-dc7b-2548220015a8"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:03 GMT + - Tue, 07 Sep 2021 21:43:59 GMT ms-cv: - - XxjSxEXcr0yeB3LwWpKrWw.0 + - QiAO4B7uIkWAFBs223J8QQ.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 33ms + - 91ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:03 GMT + - Tue, 07 Sep 2021 21:44:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:02.8820605+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:00.5005111+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:03 GMT + - Tue, 07 Sep 2021 21:43:59 GMT ms-cv: - - 0Sm8wtmUL06twwBDAIqayQ.0 + - +VlkuK3kAkWUlptuCQdwAg.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 37ms + - 158ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:03 GMT + - Tue, 07 Sep 2021 21:44:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1b65-e3c7-593a0d001af7"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-6b80-dc7b-2548220015a9"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:03 GMT + - Tue, 07 Sep 2021 21:44:00 GMT ms-cv: - - Wip+OVoQHUaijH1SnHH6iQ.0 + - DiO+d1PR90qGxm4qSPeXJw.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 32ms + - 90ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:04 GMT + - Tue, 07 Sep 2021 21:44:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:03.0774892+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:00.9791418+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:03 GMT + - Tue, 07 Sep 2021 21:44:00 GMT ms-cv: - - 0i289LekwEOikg+BVA3UfQ.0 + - BheM+ce4d0y3f89hnJiOlQ.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 38ms + - 156ms status: code: 200 message: OK @@ -193,26 +197,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 8614c7c6-b342-468d-85b1-bfde25b7de9d + - 00d28564-77e2-4811-bd4f-a6522aed5559 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:vraRn114U16p4LbamnaYDiO8aE4qGmzUCh_LwYJa6F81@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:04Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1a9b-e3c7-593a0d001af6", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-1a9b-e3c7-593a0d001af6"}}}}' + body: '{"chatThread": {"id": "19:DYsMY01mmrxQU44y-plqTu7G8oCzFUAr-EBCtQ9m3qU1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:01Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-6975-dc7b-2548220015a8", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-6975-dc7b-2548220015a8"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:04 GMT + - Tue, 07 Sep 2021 21:44:01 GMT ms-cv: - - xJzLs8xs/E+Wd6SUL0s+6g.0 + - qqogZuTDHk+JBPBkpw0z5A.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 473ms + - 519ms status: code: 201 message: Created @@ -239,21 +243,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:05 GMT + - Tue, 07 Sep 2021 21:44:01 GMT ms-cv: - - f8/SrLeJzEudt21Z8SECeA.0 + - dcNTSkKrpkWr7XzQiqR5JA.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -261,7 +265,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 387ms + - 195ms status: code: 201 message: Created @@ -275,21 +279,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?maxPageSize=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?maxPageSize=1&api-version=2021-09-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:05 GMT + - Tue, 07 Sep 2021 21:44:02 GMT ms-cv: - - 9+11J0zs6UStci2lsiiFKA.0 + - hBtA90Clb0Whp2WinsBDrg.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -297,7 +301,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 248ms + - 150ms status: code: 200 message: OK @@ -311,21 +315,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-09-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:06 GMT + - Tue, 07 Sep 2021 21:44:02 GMT ms-cv: - - KEAWOb6oxU6KA9Hz39ZIKw.0 + - LmFCh8OnrkK3QOMxKFhrRg.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -333,7 +337,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 135ms + - 233ms status: code: 200 message: OK @@ -347,21 +351,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-09-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:06 GMT + - Tue, 07 Sep 2021 21:44:02 GMT ms-cv: - - CgimGtMmC06DX6PyMRZSyg.0 + - RwXrhtEfgEKznrHFDyaI5g.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -369,7 +373,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 122ms + - 130ms status: code: 200 message: OK @@ -383,21 +387,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00&maxPageSize=1&api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:06 GMT + - Tue, 07 Sep 2021 21:44:02 GMT ms-cv: - - qkqyBxwun0yjq1h68TFJqw.0 + - yfXoJOYtDE+AKtia/uWQqw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -405,7 +409,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 140ms + - 173ms status: code: 200 message: OK @@ -421,26 +425,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:06 GMT + - Tue, 07 Sep 2021 21:44:02 GMT ms-cv: - - 7HyA7KtuSkKaBUeV+n+PSQ.0 + - +iF5yzt1pEeK0EM3MWRtDw.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 163ms + - 129ms status: code: 204 message: No Content @@ -456,9 +460,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:07 GMT + - Tue, 07 Sep 2021 21:44:03 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -468,11 +472,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:07 GMT + - Tue, 07 Sep 2021 21:44:03 GMT ms-cv: - - XqxzZLOwaESAnTU61BMWKw.0 + - muhtBq+1AUGf7pD9WN+6rw.0 request-context: - appId= strict-transport-security: @@ -480,7 +485,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 653ms + - 556ms status: code: 204 message: No Content @@ -496,9 +501,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:07 GMT + - Tue, 07 Sep 2021 21:44:04 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -508,11 +513,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:07 GMT + - Tue, 07 Sep 2021 21:44:03 GMT ms-cv: - - KrRW27v7vke+bGa6sB1ooQ.0 + - Yqekd7eK10e9MF0OdamT9Q.0 request-context: - appId= strict-transport-security: @@ -520,7 +526,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 495ms + - 410ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml index 34a02528286b..a602101fbb58 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_participants.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:08 GMT + - Tue, 07 Sep 2021 21:44:04 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2d87-e3c7-593a0d001afd"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-7b47-dc7b-2548220015aa"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:08 GMT + - Tue, 07 Sep 2021 21:44:04 GMT ms-cv: - - Rluqi/eOcU6dMQwjIKC6AQ.0 + - i35wMt8XfkO1pUvJifP81w.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 32ms + - 90ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:08 GMT + - Tue, 07 Sep 2021 21:44:04 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:07.9578099+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:05.0042623+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:08 GMT + - Tue, 07 Sep 2021 21:44:04 GMT ms-cv: - - CK5W7uXtdkmqa2Q53s6lYw.0 + - OTF8j+3TFEaUNUQoe0aZ+g.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 32ms + - 156ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:08 GMT + - Tue, 07 Sep 2021 21:44:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2f79-e3c7-593a0d001afe"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-7d05-dc7b-2548220015ab"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:08 GMT + - Tue, 07 Sep 2021 21:44:04 GMT ms-cv: - - fTyl4H0ty0umoTwv7SezUQ.0 + - ia0nkWNDtk2NuKGS1D2pBQ.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 61ms + - 87ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:09 GMT + - Tue, 07 Sep 2021 21:44:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:08.2355618+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:05.4458889+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:08 GMT + - Tue, 07 Sep 2021 21:44:04 GMT ms-cv: - - +2oplxi3EUqr2lusN4ziDw.0 + - 6l603i50ckiOnukLiB7w2w.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 37ms + - 153ms status: code: 200 message: OK @@ -193,26 +197,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 25b72693-946f-409f-88e0-8d6310d2ad82 + - 6a3739f2-315d-475c-a37f-5df72696dd17 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:0br5s3BTIsrwva4YZlbfaabAuOjWyXIbVyNh2PQCiiI1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:09Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2d87-e3c7-593a0d001afd", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-2d87-e3c7-593a0d001afd"}}}}' + body: '{"chatThread": {"id": "19:2w0PdVlhYPyR0zqQMm7dJHVR4y-kyyzig_fSyQdjEhI1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:05Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-7b47-dc7b-2548220015aa", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-7b47-dc7b-2548220015aa"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:09 GMT + - Tue, 07 Sep 2021 21:44:05 GMT ms-cv: - - oeY2bcXYNUibkNW6RjIT5g.0 + - RrGgwkVe0UySgOfhclXR3g.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 388ms + - 342ms status: code: 201 message: Created @@ -238,21 +242,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-09-07 response: body: '{}' headers: api-supported-versions: - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, - 2021-04-05-preview6 + 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:09 GMT + - Tue, 07 Sep 2021 21:44:06 GMT ms-cv: - - Ti4/ZA+BF0W381v8cbyMxQ.0 + - 4iB6teLWRk621oR8648tBw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -260,7 +264,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 232ms + - 471ms status: code: 201 message: Created @@ -274,21 +278,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants?maxPageSize=1&skip=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants?maxPageSize=1&skip=1&api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, - 2021-04-05-preview6 + 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:10 GMT + - Tue, 07 Sep 2021 21:44:06 GMT ms-cv: - - jtJiO+vgSkKgprINEk5YVQ.0 + - 1Vgnn+vNd0SjS3kDjmwlpA.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -296,7 +300,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 90ms + - 112ms status: code: 200 message: OK @@ -312,26 +316,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:10 GMT + - Tue, 07 Sep 2021 21:44:06 GMT ms-cv: - - p2SuPL7P40eykdmcjjT3UQ.0 + - pkAIw/AoWkqLjJKoijV8tA.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 133ms + - 127ms status: code: 204 message: No Content @@ -347,9 +351,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:11 GMT + - Tue, 07 Sep 2021 21:44:06 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -359,11 +363,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:11 GMT + - Tue, 07 Sep 2021 21:44:06 GMT ms-cv: - - baMV3AnyNky8tPeBX5lw2A.0 + - 1XjIXFYdkku+wGddrXDkoA.0 request-context: - appId= strict-transport-security: @@ -371,7 +376,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 496ms + - 553ms status: code: 204 message: No Content @@ -387,9 +392,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:11 GMT + - Tue, 07 Sep 2021 21:44:07 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -399,11 +404,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:11 GMT + - Tue, 07 Sep 2021 21:44:07 GMT ms-cv: - - fe9iKwA87UasA/GHtUU+RQ.0 + - Kb/STxPSfUWbikxo/DsO9Q.0 request-context: - appId= strict-transport-security: @@ -411,7 +417,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 780ms + - 488ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml index da10316d9e76..ae43c5206378 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_list_read_receipts.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:12 GMT + - Tue, 07 Sep 2021 21:44:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3e21-b8ba-a43a0d002cea"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-89b0-ac00-343a0d000c86"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:12 GMT + - Tue, 07 Sep 2021 21:44:07 GMT ms-cv: - - fHf029up8kuT+ODkZAmEeg.0 + - hID6s1iAREuXWPAGpSOZ2A.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 60ms + - 56ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:12 GMT + - Tue, 07 Sep 2021 21:44:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:12.1709642+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:08.5206984+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:13 GMT + - Tue, 07 Sep 2021 21:44:07 GMT ms-cv: - - mlOYNkC/ZEiqZQCYum+K+Q.0 + - WMg/dw9sRUylCrTVLH+gqQ.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 139ms + - 33ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:13 GMT + - Tue, 07 Sep 2021 21:44:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3ff1-b8ba-a43a0d002ceb"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-8a84-c6f3-343a0d001585"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:13 GMT + - Tue, 07 Sep 2021 21:44:07 GMT ms-cv: - - FVBq2qpqVEehAl4WMVZX/A.0 + - fUtxzOY4SkCo9jfgISIZVw.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 62ms + - 25ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:13 GMT + - Tue, 07 Sep 2021 21:44:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:12.6692365+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:08.6658613+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:13 GMT + - Tue, 07 Sep 2021 21:44:07 GMT ms-cv: - - VjZ1o+IGI0WTECW7C5fO7Q.0 + - R/OR3L0co0yjq3hTrPRV9A.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 137ms + - 32ms status: code: 200 message: OK @@ -193,26 +197,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 7d46b5b6-7a25-4d7d-8aee-ad8407169ea1 + - e48420a0-d08a-406f-8951-51db6db18567 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:wpJTRn5aSw3d4G3M1Lx45w56nPcIvSR7HiyTG-a0Q4Y1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:14Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3e21-b8ba-a43a0d002cea", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-3e21-b8ba-a43a0d002cea"}}}}' + body: '{"chatThread": {"id": "19:bheEcsrnjFg-QGgcB95oAJJAa4Rp4k7jzc2ZCpN9WUI1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:08Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-89b0-ac00-343a0d000c86", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-89b0-ac00-343a0d000c86"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:14 GMT + - Tue, 07 Sep 2021 21:44:09 GMT ms-cv: - - WMIPcRV1DE2QymDdVSubTw.0 + - PTSY11ZeTUimCuu/h5Hmdw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 627ms + - 464ms status: code: 201 message: Created @@ -239,21 +243,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:15 GMT + - Tue, 07 Sep 2021 21:44:09 GMT ms-cv: - - CfjVEQ4yK0ikYCBocZpwDg.0 + - mcgnT+Sz/kGXQ/dy9KPfNQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -261,7 +265,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 300ms + - 210ms status: code: 201 message: Created @@ -279,28 +283,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-length: - '0' date: - - Tue, 22 Jun 2021 20:53:15 GMT + - Tue, 07 Sep 2021 21:44:09 GMT ms-cv: - - 0ApUVuUYQ0yCxpTCzbz1MA.0 + - gTGJTEfaH0Os1UBUblCmAQ.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 105ms + - 354ms status: code: 200 message: OK @@ -314,21 +318,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:15 GMT + - Tue, 07 Sep 2021 21:44:10 GMT ms-cv: - - 2swZZP/ScU+cOSS4pD6mww.0 + - JWXZuJgh9UmnMPzXTidrig.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -336,7 +340,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 352ms + - 141ms status: code: 200 message: OK @@ -355,21 +359,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:16 GMT + - Tue, 07 Sep 2021 21:44:10 GMT ms-cv: - - WdxhwXJo1kefM2D8x3ikOQ.0 + - cna9O0XZ/0CzMBxvt63viQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -377,7 +381,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 327ms + - 210ms status: code: 201 message: Created @@ -395,28 +399,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-length: - '0' date: - - Tue, 22 Jun 2021 20:53:16 GMT + - Tue, 07 Sep 2021 21:44:10 GMT ms-cv: - - ylsoKw+1lEaJukci67zgpQ.0 + - 16KkZCpN3k+Xg+uHXrdCpg.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 106ms + - 214ms status: code: 200 message: OK @@ -430,21 +434,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:17 GMT + - Tue, 07 Sep 2021 21:44:10 GMT ms-cv: - - M4KP5msYP0KUXXatKodjQQ.0 + - 13BfXWVhrUqW/2SiAr5SLQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -452,7 +456,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 292ms + - 166ms status: code: 200 message: OK @@ -471,21 +475,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:17 GMT + - Tue, 07 Sep 2021 21:44:11 GMT ms-cv: - - JWc/YZqq1Eu8BSezJgDfPQ.0 + - QKaapJefwEu98OYM++lOyw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -493,7 +497,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 346ms + - 202ms status: code: 201 message: Created @@ -511,28 +515,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-length: - '0' date: - - Tue, 22 Jun 2021 20:53:17 GMT + - Tue, 07 Sep 2021 21:44:11 GMT ms-cv: - - j9Sdx/cSN0Kb1dKlsnhUpQ.0 + - iJmY8LF7m02h3ZRejUNKyA.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 124ms + - 542ms status: code: 200 message: OK @@ -546,21 +550,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:18 GMT + - Tue, 07 Sep 2021 21:44:12 GMT ms-cv: - - 9Dh5KNDkjEiDSEzRUvSuzg.0 + - GqWjXOx+oUioH1mwmFiihg.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -568,7 +572,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 153ms + - 107ms status: code: 200 message: OK @@ -582,21 +586,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?maxPageSize=2&skip=0&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?maxPageSize=2&skip=0&api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:18 GMT + - Tue, 07 Sep 2021 21:44:12 GMT ms-cv: - - 1VPnxLIpgUOkkHYRxHFIDQ.0 + - 7DnTg+zE2kSV+bcnq2mhzQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -604,7 +608,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 242ms + - 134ms status: code: 200 message: OK @@ -620,26 +624,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:18 GMT + - Tue, 07 Sep 2021 21:44:12 GMT ms-cv: - - 3vrdi7D8jU+7gEbplWdTrA.0 + - qzayVFA6QkyQ8+OzQiRZIQ.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 244ms + - 131ms status: code: 204 message: No Content @@ -655,9 +659,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:19 GMT + - Tue, 07 Sep 2021 21:44:12 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -667,11 +671,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:19 GMT + - Tue, 07 Sep 2021 21:44:12 GMT ms-cv: - - FtE9hcMmuUC5kWzmNcUzig.0 + - 4q6S1++VmEiyQBFBCnw5pQ.0 request-context: - appId= strict-transport-security: @@ -679,7 +684,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 627ms + - 419ms status: code: 204 message: No Content @@ -695,9 +700,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:20 GMT + - Tue, 07 Sep 2021 21:44:13 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -707,11 +712,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:20 GMT + - Tue, 07 Sep 2021 21:44:12 GMT ms-cv: - - nzxtfmFkKkay+Hls9rdYOA.0 + - JiVOuvpVBE2d2lKh+Tv2iw.0 request-context: - appId= strict-transport-security: @@ -719,7 +725,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 718ms + - 470ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml index 9c65800d5ca5..c995351ffecf 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_remove_participant.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:20 GMT + - Tue, 07 Sep 2021 21:44:13 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-5fb4-7f07-113a0d003339"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-9f30-5505-4548220010ef"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:21 GMT + - Tue, 07 Sep 2021 21:44:13 GMT ms-cv: - - GuyGzQIX8E+Qz3rFYdDezQ.0 + - VF+fHehiX06vVuu+nRl2Zw.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 93ms + - 71ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:21 GMT + - Tue, 07 Sep 2021 21:44:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:20.8161891+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:14.1500095+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:21 GMT + - Tue, 07 Sep 2021 21:44:13 GMT ms-cv: - - HV8G2cJnUUWV33uDFoLVsw.0 + - HuqIZnBOF0S2w91fZaL9bA.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 164ms + - 151ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:21 GMT + - Tue, 07 Sep 2021 21:44:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-6194-7f07-113a0d00333a"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-a10e-5505-4548220010f0"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:21 GMT + - Tue, 07 Sep 2021 21:44:13 GMT ms-cv: - - UUiH97VEAU2pplPeeZ+0TA.0 + - wbXFKE2klEKMA6hHLaIW8g.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 89ms + - 125ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:22 GMT + - Tue, 07 Sep 2021 21:44:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:21.2749423+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:14.8289899+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:22 GMT + - Tue, 07 Sep 2021 21:44:13 GMT ms-cv: - - xh9jGvTPbkSa5hIT/eouTQ.0 + - Ls7YC7XyRUiInYFsNoUpaA.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 162ms + - 231ms status: code: 200 message: OK @@ -193,26 +197,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 64288911-987d-4cdb-93fb-f10417537668 + - 19a87920-4186-4b8f-9df9-7335900d164a method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:0oyHLO0Q80qnPax4RVGXdoRRVE5Z8SaMetegO5WtUkQ1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:22Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-5fb4-7f07-113a0d003339", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-5fb4-7f07-113a0d003339"}}}}' + body: '{"chatThread": {"id": "19:ZTiS9evehERrMAL6c64Fyya5Lm6dahqNsEbrDzO3wuk1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:15Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-9f30-5505-4548220010ef", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-9f30-5505-4548220010ef"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:22 GMT + - Tue, 07 Sep 2021 21:44:15 GMT ms-cv: - - jzmK3rvGtkicAR1lgdsflQ.0 + - eUwP75UUcUChYYkWCHBLRw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 700ms + - 634ms status: code: 201 message: Created @@ -238,21 +242,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-09-07 response: body: '{}' headers: api-supported-versions: - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, - 2021-04-05-preview6 + 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:23 GMT + - Tue, 07 Sep 2021 21:44:15 GMT ms-cv: - - 7KcGmsNMwkW1HNSbQ0qDiQ.0 + - TRGvz+F5kUe4meXXBH+7FQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -260,13 +264,13 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 321ms + - 376ms status: code: 201 message: Created - request: - body: '{"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-6194-7f07-113a0d00333a", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-6194-7f07-113a0d00333a"}}' + body: '{"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-a10e-5505-4548220010f0", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-a10e-5505-4548220010f0"}}' headers: Accept: - application/json @@ -279,26 +283,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:remove?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:remove?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, 2021-03-07, - 2021-04-05-preview6 + 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:24 GMT + - Tue, 07 Sep 2021 21:44:16 GMT ms-cv: - - xQefzArrQU+jLAFhP0ti6Q.0 + - Lkc1sR/dWEe742u4HyfLUw.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 350ms + - 425ms status: code: 204 message: No Content @@ -314,26 +318,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:24 GMT + - Tue, 07 Sep 2021 21:44:16 GMT ms-cv: - - cg7UC/jYEEW0wGr5kqQQgA.0 + - SX2bOPOzbUG2NOLKjlJFRg.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 302ms + - 208ms status: code: 204 message: No Content @@ -349,9 +353,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:24 GMT + - Tue, 07 Sep 2021 21:44:17 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -361,11 +365,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:25 GMT + - Tue, 07 Sep 2021 21:44:16 GMT ms-cv: - - gsxrvN956kGuqQBhnS0Xzw.0 + - 0DMzVDvgWUSMvG4Ni/Ul2A.0 request-context: - appId= strict-transport-security: @@ -373,7 +378,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 627ms + - 356ms status: code: 204 message: No Content @@ -389,9 +394,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:25 GMT + - Tue, 07 Sep 2021 21:44:17 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -401,11 +406,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:26 GMT + - Tue, 07 Sep 2021 21:44:16 GMT ms-cv: - - +5ImzKkfo0OBkmeyYZ2FXg.0 + - dQC44mIRTkaA9LZv42/3Yw.0 request-context: - appId= strict-transport-security: @@ -413,7 +419,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 683ms + - 262ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml index 5a3d66d634a0..fa6910725454 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_message.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:26 GMT + - Tue, 07 Sep 2021 21:44:17 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-75b0-7f07-113a0d00333e"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-b026-a808-454822001712"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:26 GMT + - Tue, 07 Sep 2021 21:44:17 GMT ms-cv: - - e/M9zbkgvk+2x+PPER/ykA.0 + - ZwGoOSPSsEu26uteS2TzmA.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 92ms + - 110ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:27 GMT + - Tue, 07 Sep 2021 21:44:18 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:26.5023506+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:18.5799863+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:27 GMT + - Tue, 07 Sep 2021 21:44:18 GMT ms-cv: - - LDLFPZYQx0yhDeveIi2fXA.0 + - Z/x4eQ6QukCE92T9shq5+Q.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 183ms + - 241ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:27 GMT + - Tue, 07 Sep 2021 21:44:18 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-78f0-7f07-113a0d003340"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-b1ef-a808-454822001713"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:27 GMT + - Tue, 07 Sep 2021 21:44:18 GMT ms-cv: - - U+soSJC8mUSz5/jQ8D5wpg.0 + - Lo11tlDWZEqRO/FYQ9KfHg.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 120ms + - 62ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:28 GMT + - Tue, 07 Sep 2021 21:44:18 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:27.3067682+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:18.9146958+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:28 GMT + - Tue, 07 Sep 2021 21:44:18 GMT ms-cv: - - XIEOkE0fqk2VEB3lwaRJ7Q.0 + - 02RBBjogCE26afGx1ncNXg.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 157ms + - 126ms status: code: 200 message: OK @@ -193,26 +197,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - a35c8257-5af7-427d-8357-5c6047318e3e + - 2ac3cf12-2045-4a10-8719-ef5a6688a666 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:vR7qiRNiD_0wWQfsiPL_8WwUsUQPBsr8NPvYTq5d4jo1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:28Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-75b0-7f07-113a0d00333e", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-75b0-7f07-113a0d00333e"}}}}' + body: '{"chatThread": {"id": "19:jed61K4TYNwH2_nLxPDLW_ViHq71mymh2-ImrBl3dkQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:19Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-b026-a808-454822001712", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-b026-a808-454822001712"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:28 GMT + - Tue, 07 Sep 2021 21:44:19 GMT ms-cv: - - DnJbWwBN5ESfxpTNIGqhUA.0 + - w59cw/PPkEKxIxq2eFynGg.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 409ms + - 590ms status: code: 201 message: Created @@ -239,21 +243,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:29 GMT + - Tue, 07 Sep 2021 21:44:19 GMT ms-cv: - - +5/VKxVfwUOhIHMP70xKEw.0 + - XnqomjbJXkC5blD0nPcEnw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -261,7 +265,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 276ms + - 205ms status: code: 201 message: Created @@ -277,26 +281,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:29 GMT + - Tue, 07 Sep 2021 21:44:19 GMT ms-cv: - - 8C9BadazikSaZeAgH1bBCw.0 + - 5UBQXeUNI0CtK1PMnhWXiw.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 196ms + - 108ms status: code: 204 message: No Content @@ -312,9 +316,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:30 GMT + - Tue, 07 Sep 2021 21:44:20 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -324,11 +328,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:31 GMT + - Tue, 07 Sep 2021 21:44:20 GMT ms-cv: - - 1FBeqW1Noku1KBz9CZJn0g.0 + - REfAoh27+k2ABre1beWhjw.0 request-context: - appId= strict-transport-security: @@ -336,7 +341,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 854ms + - 497ms status: code: 204 message: No Content @@ -352,9 +357,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:31 GMT + - Tue, 07 Sep 2021 21:44:20 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -364,11 +369,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:31 GMT + - Tue, 07 Sep 2021 21:44:20 GMT ms-cv: - - WJc4DNtM+U2H8YNFhmt6Vw.0 + - v+fM7qT22kimt3q6ziwaZw.0 request-context: - appId= strict-transport-security: @@ -376,7 +382,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 656ms + - 327ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml index e56eabf5ce26..1db6cb17814a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_read_receipt.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:32 GMT + - Tue, 07 Sep 2021 21:44:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-8e91-7f07-113a0d003343"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-bc48-497d-2548220048f7"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:33 GMT + - Tue, 07 Sep 2021 21:44:20 GMT ms-cv: - - YC+hyU3EtUmhOQUN+25Qtg.0 + - e62aiBTQZ0mQLs4o6f24wQ.0 request-context: - appId= strict-transport-security: @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:33 GMT + - Tue, 07 Sep 2021 21:44:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:32.8408559+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:21.7156815+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:33 GMT + - Tue, 07 Sep 2021 21:44:21 GMT ms-cv: - - +teTKivEfEOwOp4uWzVmBQ.0 + - Q9GqY5l360CFoYMf9PgDVg.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 161ms + - 216ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:33 GMT + - Tue, 07 Sep 2021 21:44:21 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-90c1-7f07-113a0d003346"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-be58-497d-2548220048f8"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:33 GMT + - Tue, 07 Sep 2021 21:44:21 GMT ms-cv: - - GC72mNEmjUmsyJnKAiDK1w.0 + - FpZHLHTCfEewy9+nXuzTcg.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 93ms + - 187ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:34 GMT + - Tue, 07 Sep 2021 21:44:22 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:33.4678143+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:22.4669323+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:34 GMT + - Tue, 07 Sep 2021 21:44:22 GMT ms-cv: - - wYvKyI1UxEK5UJ/KSkGsMw.0 + - rPw22qLN7k6032e5DyzQzA.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 209ms + - 324ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Connection: - keep-alive Content-Length: - - '350' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - a3b50289-8979-4fd0-89f2-3b68176f405b + - 4bf40443-8f9b-48d7-8a1a-06417e125c6e method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:Ve2ZfT4zjCTsHMSPSmkK9mpLlrnk5VALkpg27IViYRk1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:35Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-8e91-7f07-113a0d003343", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-8e91-7f07-113a0d003343"}}}}' + body: '{"chatThread": {"id": "19:7u_DIahvhtmqlZSm7W6Ewgbz-Tk7JgfEjZ1goLgNjxc1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:22Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-bc48-497d-2548220048f7", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-bc48-497d-2548220048f7"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:35 GMT + - Tue, 07 Sep 2021 21:44:22 GMT ms-cv: - - Bs6T1mw5o0+45P7eDf9qpA.0 + - 14/dY30jK0CCEbtEVdhilA.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 929ms + - 795ms status: code: 201 message: Created @@ -239,21 +243,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:36 GMT + - Tue, 07 Sep 2021 21:44:23 GMT ms-cv: - - Cm9q9MFS7U6D56hDuwrgbw.0 + - 8y2yn1YpaEO6/y7qasQtqg.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -261,7 +265,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 320ms + - 251ms status: code: 201 message: Created @@ -279,28 +283,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-length: - '0' date: - - Tue, 22 Jun 2021 20:53:36 GMT + - Tue, 07 Sep 2021 21:44:23 GMT ms-cv: - - WZxNrQle/kW9xGuJYvkL8w.0 + - XpXSI48Ke06+gHZKzTCa/Q.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 264ms + - 159ms status: code: 200 message: OK @@ -316,26 +320,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:37 GMT + - Tue, 07 Sep 2021 21:44:23 GMT ms-cv: - - NzMmuphMHUWHzO5sFXFejA.0 + - EPfPkE2CUEmXn/kEhscg5g.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 248ms + - 290ms status: code: 204 message: No Content @@ -351,9 +355,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:37 GMT + - Tue, 07 Sep 2021 21:44:24 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -363,11 +367,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:39 GMT + - Tue, 07 Sep 2021 21:44:24 GMT ms-cv: - - vLztvNFxk0S8xVp/AC0eBA.0 + - 4wbIekqsHEaZXxbDiBL+gg.0 request-context: - appId= strict-transport-security: @@ -375,7 +380,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 2151ms + - 410ms status: code: 204 message: No Content @@ -391,9 +396,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:40 GMT + - Tue, 07 Sep 2021 21:44:24 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -403,11 +408,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:40 GMT + - Tue, 07 Sep 2021 21:44:24 GMT ms-cv: - - iT0wSdBgoEq1lO7X6CY3ow.0 + - n//w1Zo7JUSP+WPD7Pfwyw.0 request-context: - appId= strict-transport-security: @@ -415,7 +421,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 921ms + - 391ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml index 7e1404bd16bd..c06e31c4e3c2 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:41 GMT + - Tue, 07 Sep 2021 21:44:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-ae62-b8ba-a43a0d002cf2"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-cd09-c6f3-343a0d001586"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:41 GMT + - Tue, 07 Sep 2021 21:44:24 GMT ms-cv: - - RLUpnCbVSUyNo5DyhQil8g.0 + - 7nLuvT2XCUyXChaIcvOstg.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 59ms + - 28ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:41 GMT + - Tue, 07 Sep 2021 21:44:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:40.9266298+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:25.6929138+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:41 GMT + - Tue, 07 Sep 2021 21:44:24 GMT ms-cv: - - sCbKx6FXeEivBwzCm7XK0A.0 + - pR2d84Tv30Ou3A6juGTetw.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 141ms + - 30ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:41 GMT + - Tue, 07 Sep 2021 21:44:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-b029-b8ba-a43a0d002cf3"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-cda0-c6f3-343a0d001587"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:41 GMT + - Tue, 07 Sep 2021 21:44:25 GMT ms-cv: - - kTDVqz4cpkSzy9XhBzOnmQ.0 + - r1957M70XE2a+CnGKMocIA.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 62ms + - 26ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:42 GMT + - Tue, 07 Sep 2021 21:44:25 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:41.364192+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:25.9536062+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:41 GMT + - Tue, 07 Sep 2021 21:44:25 GMT ms-cv: - - WaYQ6vTaOEOuTjIF5NIfDA.0 + - cp2ZlAHHGk+1dZmUkan84A.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 136ms + - 78ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Connection: - keep-alive Content-Length: - - '349' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 9773afa0-5c20-4ddb-a745-237b7e600dc0 + - 57af6c7d-3761-4098-846b-2442e00cbea1 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:-t5q3MxOu7oWbKcEplCsZp-MpcHQ14TKECCMkGJKBIs1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:42Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-ae62-b8ba-a43a0d002cf2", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-ae62-b8ba-a43a0d002cf2"}}}}' + body: '{"chatThread": {"id": "19:41nrUqqyzLVg7POeYVGhv8B7rSc1WtR065MsW9K3dPU1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:26Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-cd09-c6f3-343a0d001586", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-cd09-c6f3-343a0d001586"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:43 GMT + - Tue, 07 Sep 2021 21:44:26 GMT ms-cv: - - Mc6WCDj8AUmbWzXAfv/87Q.0 + - RhhMkRceXkugMV0BvdCEYQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,12 +224,12 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 570ms + - 349ms status: code: 201 message: Created - request: - body: null + body: '{}' headers: Accept: - application/json @@ -234,30 +238,31 @@ interactions: Connection: - keep-alive Content-Length: - - '0' + - '2' + Content-Type: + - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + - 2021-04-05-preview6, 2021-09-07 content-length: - '0' date: - - Tue, 22 Jun 2021 20:53:43 GMT + - Tue, 07 Sep 2021 21:44:26 GMT ms-cv: - - TOnwlAwHJE+eV9qDeWFrxg.0 + - gczLZsU4SUynbbJUsFP3+g.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 457ms + - 232ms status: code: 200 message: OK @@ -273,26 +278,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:44 GMT + - Tue, 07 Sep 2021 21:44:26 GMT ms-cv: - - TzEabzIkPUa3B1DyMBQ9bw.0 + - lpVmU4xd5U+I7iHeJs+TMA.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 264ms + - 122ms status: code: 204 message: No Content @@ -308,9 +313,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:44 GMT + - Tue, 07 Sep 2021 21:44:27 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -320,11 +325,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:44 GMT + - Tue, 07 Sep 2021 21:44:26 GMT ms-cv: - - sGMjak7Sg0CruPJuKaAqIg.0 + - 40tcN+jLf0qIW6LEHnkP5g.0 request-context: - appId= strict-transport-security: @@ -332,7 +338,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 742ms + - 256ms status: code: 204 message: No Content @@ -348,9 +354,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:45 GMT + - Tue, 07 Sep 2021 21:44:27 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -360,11 +366,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:45 GMT + - Tue, 07 Sep 2021 21:44:26 GMT ms-cv: - - pX5ETG4m80GrTEu8PfXGRw.0 + - 07NFqwcw1E6Z3hQTozjqHA.0 request-context: - appId= strict-transport-security: @@ -372,7 +379,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 754ms + - 334ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml index 2011116c76ac..5b5f52201918 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_message.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:46 GMT + - Tue, 07 Sep 2021 21:44:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c119-ceb1-a43a0d00be1b"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-e492-89df-444822001279"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:45 GMT + - Tue, 07 Sep 2021 21:44:31 GMT ms-cv: - - 36o/csKzK0iKljvfjxaZXA.0 + - NXr3YQy0/kS8nXO3qKB6jQ.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 70ms + - 115ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:46 GMT + - Tue, 07 Sep 2021 21:44:31 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:45.6679125+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:31.9755225+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:45 GMT + - Tue, 07 Sep 2021 21:44:31 GMT ms-cv: - - KY9aFZiwVk27Bc46g7gqJw.0 + - PCQeqIfzZ0KbdxOWB8fZvg.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 133ms + - 221ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:46 GMT + - Tue, 07 Sep 2021 21:44:32 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c2cb-ceb1-a43a0d00be1e"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-e6a6-89df-44482200127a"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:46 GMT + - Tue, 07 Sep 2021 21:44:32 GMT ms-cv: - - 1hbDPoOCpUqNwm14IATLCA.0 + - fRTFOGtEB0eMadmQowS2EA.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 111ms + - 188ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:46 GMT + - Tue, 07 Sep 2021 21:44:32 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:46.1039276+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:32.6554649+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:46 GMT + - Tue, 07 Sep 2021 21:44:32 GMT ms-cv: - - M0dFUiEhjkCWJTm3auM3QA.0 + - OMUxMH6FCUOTIJTjtrx63g.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 136ms + - 242ms status: code: 200 message: OK @@ -193,26 +197,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 68c54c2b-00e7-4ad4-9bee-be8d2218097c + - 58313e22-fc19-4165-bcf0-c66363d2748e method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:-BvngluhydL8F1gmUbbeNquC-NDG13ZZd8nJAbC_7iU1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:47Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c119-ceb1-a43a0d00be1b", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-c119-ceb1-a43a0d00be1b"}}}}' + body: '{"chatThread": {"id": "19:RYKdQPIYdtLI3odvtfhGRBeeT9erVUNIGExUBFqbdUE1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:32Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-e492-89df-444822001279", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-e492-89df-444822001279"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:47 GMT + - Tue, 07 Sep 2021 21:44:33 GMT ms-cv: - - Ci3MYsyp9kubNDY48OD1IQ.0 + - stOFX8zQ6k6yWTz8I5C4Hw.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 997ms + - 586ms status: code: 201 message: Created @@ -239,21 +243,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:48 GMT + - Tue, 07 Sep 2021 21:44:32 GMT ms-cv: - - a3NAsV7dWEmn/CoK4W57LA.0 + - VkdXKQwva0O++z5xnWKoeA.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -261,7 +265,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 219ms + - 294ms status: code: 201 message: Created @@ -279,26 +283,26 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: PATCH - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:48 GMT + - Tue, 07 Sep 2021 21:44:33 GMT ms-cv: - - s78p5y6DlUqF3zHgw/4LwA.0 + - bvFYMJhmsk22L+Re13MUng.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 262ms + - 461ms status: code: 204 message: No Content @@ -314,26 +318,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:48 GMT + - Tue, 07 Sep 2021 21:44:34 GMT ms-cv: - - M7CacyQ7tkS5+OEvhTWJjQ.0 + - SoBexTR4U0KArf7+w5IjJQ.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 246ms + - 169ms status: code: 204 message: No Content @@ -349,9 +353,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:49 GMT + - Tue, 07 Sep 2021 21:44:34 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -361,11 +365,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:49 GMT + - Tue, 07 Sep 2021 21:44:34 GMT ms-cv: - - KM5Se/cnKk2EAdGA+26Wlg.0 + - CXmmqqJuqEahiF+N56dzsQ.0 request-context: - appId= strict-transport-security: @@ -373,7 +378,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 809ms + - 361ms status: code: 204 message: No Content @@ -389,9 +394,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:50 GMT + - Tue, 07 Sep 2021 21:44:35 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -401,11 +406,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:50 GMT + - Tue, 07 Sep 2021 21:44:35 GMT ms-cv: - - EZfrJ0Jq1kWOAzh/8YuZfw.0 + - JCK4uZVP+U6Lf4cqF/uAWQ.0 request-context: - appId= strict-transport-security: @@ -413,7 +419,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 592ms + - 246ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml index eed2bbae1c44..e1400d2abdc5 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_update_topic.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:51 GMT + - Tue, 07 Sep 2021 21:44:35 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d525-f6c7-593a0d00a003"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-f3c8-89df-44482200127b"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:51 GMT + - Tue, 07 Sep 2021 21:44:35 GMT ms-cv: - - C1qoiNl7IkCnqP1Oqe0IYg.0 + - BtcXJ24iF0WTvU/CsQVhdA.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 56ms + - 62ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:51 GMT + - Tue, 07 Sep 2021 21:44:35 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:50.6495859+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:35.7870949+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:51 GMT + - Tue, 07 Sep 2021 21:44:35 GMT ms-cv: - - kDzPKMb+RU2zihyd2uvt9A.0 + - oce0ZFY+H0mBhg/tCNoxZg.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 37ms + - 131ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:51 GMT + - Tue, 07 Sep 2021 21:44:35 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d5ff-f6c7-593a0d00a004"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-f53c-89df-44482200127c"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:51 GMT + - Tue, 07 Sep 2021 21:44:35 GMT ms-cv: - - FRzjdflDFkKar4pPIyo0/g.0 + - VXxrZSzo9k2DXLkOPaC60A.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 31ms + - 62ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:51 GMT + - Tue, 07 Sep 2021 21:44:36 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:50.8597505+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:36.2399684+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:51 GMT + - Tue, 07 Sep 2021 21:44:35 GMT ms-cv: - - 3Yc9mI+xq02hlX/S8YC4hg.0 + - QnB/jOhcGkWIlAzXLuA9yQ.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 39ms + - 212ms status: code: 200 message: OK @@ -193,26 +197,26 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - fce812e6-bc11-48a0-a1c2-2470f66d1b6f + - 06b922b3-b81a-47ba-8d77-ecfe10037493 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:hrY9cyB7ZgErqa0D6SAjE_-qOhLJoVAFLMloLt7xs681@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:52Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d525-f6c7-593a0d00a003", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-d525-f6c7-593a0d00a003"}}}}' + body: '{"chatThread": {"id": "19:esmty7HywuiHpeH2t2Dhjyxba2FE5ZL1bxDR-lQxuzQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:36Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-f3c8-89df-44482200127b", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-f3c8-89df-44482200127b"}}}}' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:52 GMT + - Tue, 07 Sep 2021 21:44:36 GMT ms-cv: - - GZIEKl0lO0ulGWefkkTkRg.0 + - ZVBSUoLZdk6CgroDXLgYfQ.0 strict-transport-security: - max-age=2592000 transfer-encoding: @@ -220,7 +224,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 913ms + - 515ms status: code: 201 message: Created @@ -238,26 +242,26 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: PATCH - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:53 GMT + - Tue, 07 Sep 2021 21:44:36 GMT ms-cv: - - 7Wwzh2D3s0yJ9N3q9wElYw.0 + - 8AHkQ/5wekmxsgi8WoJI3A.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 266ms + - 229ms status: code: 204 message: No Content @@ -273,26 +277,26 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 date: - - Tue, 22 Jun 2021 20:53:52 GMT + - Tue, 07 Sep 2021 21:44:36 GMT ms-cv: - - zrGvZuWGVkG5h0wDR8EHTg.0 + - 13EAfN0oY0CBDBf/i+McLA.0 strict-transport-security: - max-age=2592000 x-cache: - CONFIG_NOCACHE x-processing-time: - - 346ms + - 211ms status: code: 204 message: No Content @@ -308,9 +312,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:53 GMT + - Tue, 07 Sep 2021 21:44:37 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -320,11 +324,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:54 GMT + - Tue, 07 Sep 2021 21:44:37 GMT ms-cv: - - q9uOqr0GTUSKe/ir/ryyNA.0 + - 2oYMnv4fHkOpvJ6Dyckhcw.0 request-context: - appId= strict-transport-security: @@ -332,7 +337,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 824ms + - 537ms status: code: 204 message: No Content @@ -348,9 +353,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:54 GMT + - Tue, 07 Sep 2021 21:44:38 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -360,11 +365,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:55 GMT + - Tue, 07 Sep 2021 21:44:38 GMT ms-cv: - - iCVroY422E6rGrsUYenAUA.0 + - LKOleFzc+EeZeTWwVxz1yw.0 request-context: - appId= strict-transport-security: @@ -372,7 +378,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 721ms + - 235ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml index 2e51e2a474c0..d835ad991b47 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_add_participants.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:55 GMT + - Tue, 07 Sep 2021 21:44:38 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e5e6-28c5-593a0d001c0d"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-01c1-8e0e-454822001a7d"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:55 GMT + - Tue, 07 Sep 2021 21:44:38 GMT ms-cv: - - XWpww3stDUyqbMmJ+1yJEw.0 + - wACYVrG+m0G1ncJyPkabQg.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 30ms + - 63ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:55 GMT + - Tue, 07 Sep 2021 21:44:39 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:54.9284912+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:39.3530327+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:55 GMT + - Tue, 07 Sep 2021 21:44:38 GMT ms-cv: - - mpm66b7OekSep7ZzPU5FPg.0 + - C2dXqhsXXkyK33LOtVRWVg.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 40ms + - 130ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:55 GMT + - Tue, 07 Sep 2021 21:44:39 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e6cb-28c5-593a0d001c0e"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-0314-8e0e-454822001a7e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:55 GMT + - Tue, 07 Sep 2021 21:44:39 GMT ms-cv: - - uBKTX6L61UCeqboOoOWdVw.0 + - si9HSQebAUqrVdX/CkL4Mg.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 56ms + - 66ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:56 GMT + - Tue, 07 Sep 2021 21:44:39 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:55.1582054+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:39.6930128+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:53:55 GMT + - Tue, 07 Sep 2021 21:44:39 GMT ms-cv: - - ZZH5HFJsw0WR+NDwglwoag.0 + - L1qV8JK7EU2WAol9XtvSQA.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 37ms + - 132ms status: code: 200 message: OK @@ -185,34 +189,34 @@ interactions: Accept: - application/json Content-Length: - - '350' + - '349' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - c3f7b5a1-e256-4e60-a5ea-53aca37e7483 + - 83577246-5ff3-498b-ac82-aa7f02bc3bc1 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:WUog7EmOuu8P05BLA7E9Ppvm30CDd5UxWWojjT26rzM1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:53:56Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e5e6-28c5-593a0d001c0d", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-e5e6-28c5-593a0d001c0d"}}}}' + body: '{"chatThread": {"id": "19:kE78Vipo98iC0ALMwoZDz7PVtLqENKcCoHU0u9sSz8s1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:39Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-01c1-8e0e-454822001a7d", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-01c1-8e0e-454822001a7d"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:53:57 GMT - ms-cv: jxUIv3+9a0u0fx4mg0Q/Eg.0 + date: Tue, 07 Sep 2021 21:44:40 GMT + ms-cv: VSsoMu8FTEWZvVF7VK7VVw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 1022ms + x-processing-time: 698ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"participants": "sanitized"}' headers: @@ -223,49 +227,49 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-09-07 response: body: '{}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:53:57 GMT - ms-cv: cKjdzV9BgUqbKIyZSjwVdg.0 + date: Tue, 07 Sep 2021 21:44:40 GMT + ms-cv: DarlxWmyAEKpcNBzxTt5cw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 152ms + x-processing-time: 542ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:53:58 GMT - ms-cv: xGzw7HdbhkSAf0HtoZivGQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:44:41 GMT + ms-cv: 7U+VIkCG+UCxeuBbNftD8g.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 281ms + x-processing-time: 327ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -278,9 +282,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:58 GMT + - Tue, 07 Sep 2021 21:44:41 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -290,11 +294,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:58 GMT + - Tue, 07 Sep 2021 21:44:41 GMT ms-cv: - - P5+gBHsU7EOBwcN+yCtd8Q.0 + - b3GTm6rUDUe7bgH1ZNVnxA.0 request-context: - appId= strict-transport-security: @@ -302,7 +307,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 768ms + - 391ms status: code: 204 message: No Content @@ -318,9 +323,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:53:59 GMT + - Tue, 07 Sep 2021 21:44:42 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -330,11 +335,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:53:59 GMT + - Tue, 07 Sep 2021 21:44:42 GMT ms-cv: - - oKtZ9hnGZUSdsxiZNevOcw.0 + - La843JMV3U2X58UCZWysew.0 request-context: - appId= strict-transport-security: @@ -342,7 +348,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 888ms + - 566ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml index 4b11017a7ab8..d88736fd7c14 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_delete_message.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:00 GMT + - Tue, 07 Sep 2021 21:44:42 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-f8bc-570c-113a0d001776"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-1055-497d-2548220048f9"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:00 GMT + - Tue, 07 Sep 2021 21:44:42 GMT ms-cv: - - HAc+6a6fU0yftNm+UhGG/A.0 + - NkoT5Hanq06CJdLJS43HYg.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 107ms + - 91ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:00 GMT + - Tue, 07 Sep 2021 21:44:43 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:53:59.9986836+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:43.2380949+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:00 GMT + - Tue, 07 Sep 2021 21:44:42 GMT ms-cv: - - sqQKW1qslkaFHrvfE4Z4zw.0 + - drXMEB0UU0CdV/Mmeqk6WQ.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 163ms + - 224ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:01 GMT + - Tue, 07 Sep 2021 21:44:43 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-faad-570c-113a0d001777"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-1262-497d-2548220048fa"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:00 GMT + - Tue, 07 Sep 2021 21:44:42 GMT ms-cv: - - aitQoG1bV0Smf3M7CbIAbg.0 + - q93rvG9N6USVLDTV6ce3yA.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 87ms + - 150ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:01 GMT + - Tue, 07 Sep 2021 21:44:43 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:00.5218274+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:43.9414102+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:01 GMT + - Tue, 07 Sep 2021 21:44:43 GMT ms-cv: - - mBUPBK/5e0Cv/0LsuHuwtA.0 + - pPzummD3qEGUw+cskHOyrg.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 186ms + - 276ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 499169b3-89c3-4d79-8081-09329c9258ba + - 439b6e88-6a70-4314-8aa5-b5d089e4adb6 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:2bfBBjFX-LF28V9kWUmHvOdoa9NM5hLZDnl824nt2kc1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:02Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-f8bc-570c-113a0d001776", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d561-f8bc-570c-113a0d001776"}}}}' + body: '{"chatThread": {"id": "19:0kGA1MiJ-qWlp0D8JVJtzFiv2Qbo-mXd6Vl1wGmIK081@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:44Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-1055-497d-2548220048f9", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-1055-497d-2548220048f9"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:01 GMT - ms-cv: wiXbQ9z9hkCmXQ1WX6FLaA.0 + date: Tue, 07 Sep 2021 21:44:44 GMT + ms-cv: EA97LMkwFUGkgg8isSciWw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 1070ms + x-processing-time: 502ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"content": "hello world", "senderDisplayName": "sender name", "type": "text"}' @@ -224,73 +228,73 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:02 GMT - ms-cv: HB4yT9fRYECvn1dkxaxrVw.0 + date: Tue, 07 Sep 2021 21:44:44 GMT + ms-cv: Vo2BiJUyukGok0m60ZW9zw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 137ms + x-processing-time: 150ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:02 GMT - ms-cv: 25Yp2PAvPkCjy6AEBdreNw.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:44:45 GMT + ms-cv: IVV3yxa0n0G2XVQ+nLyjtQ.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 194ms + x-processing-time: 205ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:02 GMT - ms-cv: WdtqWb/hUk+TGfE+3yshCQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:44:45 GMT + ms-cv: gt1ofcbgsUSv5cPwncTh6g.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 117ms + x-processing-time: 286ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -303,9 +307,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:03 GMT + - Tue, 07 Sep 2021 21:44:45 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -315,11 +319,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:04 GMT + - Tue, 07 Sep 2021 21:44:45 GMT ms-cv: - - K2sAnihUKkCAGdItrSxxHg.0 + - T6wvaviBJ0KSJO6nLjDG1g.0 request-context: - appId= strict-transport-security: @@ -327,7 +332,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 876ms + - 460ms status: code: 204 message: No Content @@ -343,9 +348,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:04 GMT + - Tue, 07 Sep 2021 21:44:46 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -355,11 +360,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:05 GMT + - Tue, 07 Sep 2021 21:44:45 GMT ms-cv: - - Rk7bc2s7AU+LDjhYSpveNA.0 + - BXiwiPYr3Uy5/cQMFS4vBg.0 request-context: - appId= strict-transport-security: @@ -367,7 +373,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 776ms + - 406ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml index 97ac02fac809..268bfff93d91 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_message.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:05 GMT + - Tue, 07 Sep 2021 21:44:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-1f2b-23fd-343a0d002162"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:05 GMT + - Tue, 07 Sep 2021 21:44:46 GMT ms-cv: - - RLZBQT8YPUWAzD7bo/efSQ.0 + - dinyKqeGj0Sz1x9JaPH42g.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 60ms + - 26ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:05 GMT + - Tue, 07 Sep 2021 21:44:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:05.0254301+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:46.7221279+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:05 GMT + - Tue, 07 Sep 2021 21:44:46 GMT ms-cv: - - KIzItmhL+06VBiLxdETVrg.0 + - S/9prwupfUOtfpESbXdj8A.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 135ms + - 33ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:06 GMT + - Tue, 07 Sep 2021 21:44:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0e62-b8ba-a43a0d002d00"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-1fca-23fd-343a0d002163"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:06 GMT + - Tue, 07 Sep 2021 21:44:46 GMT ms-cv: - - aSh00vLNLEizqRtjXeik2Q.0 + - J7EqqwK9BUGPZCTlfu+b/g.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 96ms + - 26ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:06 GMT + - Tue, 07 Sep 2021 21:44:46 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:05.4591877+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:46.8895062+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:06 GMT + - Tue, 07 Sep 2021 21:44:46 GMT ms-cv: - - r2KAkS0Wq02/qCN0Nu8D4Q.0 + - a8DxlPFeNECOavrf6NxZwA.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 146ms + - 33ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - a70f4e5d-a202-447f-bbb6-39fe30a751e8 + - 241580b5-57d8-4b6a-904c-3ea35c4273e0 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:OqsBKH78B-ASbL8lopnL7TfzS5oPZecTgP9h2bbOZ381@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:06Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff"}}}}' + body: '{"chatThread": {"id": "19:TaS97aGS6Yk0EEVi27SCDJjUHy85Xzo5UvRftObf6UY1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:47Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-1f2b-23fd-343a0d002162", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-1f2b-23fd-343a0d002162"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:07 GMT - ms-cv: dQKbZZTsvUqMSRDWJqXJeg.0 + date: Tue, 07 Sep 2021 21:44:46 GMT + ms-cv: OoqSPiIoF0SnBz9cPc6SYQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 463ms + x-processing-time: 492ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"content": "hello world", "senderDisplayName": "sender name", "type": "text"}' @@ -224,77 +228,77 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:07 GMT - ms-cv: mh4QuWAPn0qvfXZa61e9zg.0 + date: Tue, 07 Sep 2021 21:44:47 GMT + ms-cv: 5z0BtQUSvEuDna/gSfFVag.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 281ms + x-processing-time: 199ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-09-07 response: - body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1624395247382", + body: '{"id": "sanitized", "type": "text", "sequenceId": "3", "version": "1631051087755", "content": {"message": "hello world"}, "senderDisplayName": "sender name", "createdOn": - "2021-06-22T20:54:07Z", "senderCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-0cbe-b8ba-a43a0d002cff"}}}' + "2021-09-07T21:44:47Z", "senderCommunicationIdentifier": {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-1f2b-23fd-343a0d002162", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-1f2b-23fd-343a0d002162"}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:07 GMT - ms-cv: I++SMZGu7EyK3kv0WzQFDg.0 + date: Tue, 07 Sep 2021 21:44:47 GMT + ms-cv: s2KZgFNxukW2XUDetE9xTQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 109ms + x-processing-time: 259ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:07 GMT - ms-cv: mVgN23PaGEyiGgo5V40rBA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:44:47 GMT + ms-cv: 8+HpvyFpF06HaUOTbEp3zg.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 270ms + x-processing-time: 116ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -307,9 +311,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:08 GMT + - Tue, 07 Sep 2021 21:44:48 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -319,11 +323,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:08 GMT + - Tue, 07 Sep 2021 21:44:48 GMT ms-cv: - - PL/oc9cZC0qxaGACMwSDag.0 + - KXOaWUm1h025DtV7BF/AXg.0 request-context: - appId= strict-transport-security: @@ -331,7 +336,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 803ms + - 431ms status: code: 204 message: No Content @@ -347,9 +352,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:08 GMT + - Tue, 07 Sep 2021 21:44:48 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -359,11 +364,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:09 GMT + - Tue, 07 Sep 2021 21:44:48 GMT ms-cv: - - LpWYNIv5T06G4XDUnPyKvw.0 + - OAZTjqJL00O6kasR1xOlJA.0 request-context: - appId= strict-transport-security: @@ -371,7 +377,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 488ms + - 416ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml index 31005e16ca6d..b33d92affe6a 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_get_properties.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:09 GMT + - Tue, 07 Sep 2021 21:44:49 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-2a09-95f1-343a0d001a43"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:10 GMT + - Tue, 07 Sep 2021 21:44:48 GMT ms-cv: - - ZAAM4UZTJkii6HZy6TlB3g.0 + - KBkmZHan5UmSbA8Ad9W0WA.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 69ms + - 27ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:10 GMT + - Tue, 07 Sep 2021 21:44:49 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:09.490438+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:49.5049128+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:10 GMT + - Tue, 07 Sep 2021 21:44:48 GMT ms-cv: - - csbtpOA6nUmNIwpsfqdnfg.0 + - wG0b5Llq1kOrnhXje20L9w.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 184ms + - 35ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:10 GMT + - Tue, 07 Sep 2021 21:44:49 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1fc9-51b9-a43a0d00941a"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-2aa6-95f1-343a0d001a44"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:10 GMT + - Tue, 07 Sep 2021 21:44:48 GMT ms-cv: - - Sf27eaCSXECGtSbQ3xVNgA.0 + - REnju7C2xkquE4UgL3RgrQ.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 98ms + - 26ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:10 GMT + - Tue, 07 Sep 2021 21:44:49 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:09.9658129+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:49.804738+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:10 GMT + - Tue, 07 Sep 2021 21:44:48 GMT ms-cv: - - 2pvk2x1rSEC49KodxUMVwA.0 + - Mu4We5ltm0q5wMUUXCCbmw.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 155ms + - 33ms status: code: 200 message: OK @@ -189,81 +193,81 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 688c08f7-d916-485c-b32e-dc2de45bbab0 + - f0013ebb-0af2-47e3-a232-4f083945af6a method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:6LDSbOCXBWWvZnFFxPmDLC3x5_3oXqyaCG6OC28K2nQ1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:11Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419"}}}}' + body: '{"chatThread": {"id": "19:sGTCiUxXKC17NeVW5tPqq4XKafoB-V71V6acT69rD6o1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:50Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-2a09-95f1-343a0d001a43", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-2a09-95f1-343a0d001a43"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:11 GMT - ms-cv: PjLujZB+ZEqERW3yVaQW2Q.0 + date: Tue, 07 Sep 2021 21:44:50 GMT + ms-cv: CuA407Gta06ExsZ4t68JNA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 708ms + x-processing-time: 897ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: - body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-06-22T20:54:11Z", - "createdByCommunicationIdentifier": {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-1df7-51b9-a43a0d009419"}}}' + body: '{"id": "sanitized", "topic": "test topic", "createdOn": "2021-09-07T21:44:50Z", + "createdByCommunicationIdentifier": {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-2a09-95f1-343a0d001a43", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-2a09-95f1-343a0d001a43"}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:12 GMT - ms-cv: t8aAZGqQREy2lRPb2tLSFw.0 + date: Tue, 07 Sep 2021 21:44:50 GMT + ms-cv: dDDfSbi3NEWvAv72YtXfOw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 90ms + x-processing-time: 279ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:12 GMT - ms-cv: l1NFCKT1802RymnMQEMGUA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:44:51 GMT + ms-cv: LVSu8mPeU065YcrW37OaRA.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 124ms + x-processing-time: 403ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -276,9 +280,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:12 GMT + - Tue, 07 Sep 2021 21:44:51 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -288,11 +292,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:13 GMT + - Tue, 07 Sep 2021 21:44:51 GMT ms-cv: - - tksE94u4g0mOaIPraXGUWw.0 + - PSQPz3h5pka/9H+6EIljWw.0 request-context: - appId= strict-transport-security: @@ -300,7 +305,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 679ms + - 229ms status: code: 204 message: No Content @@ -316,9 +321,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:13 GMT + - Tue, 07 Sep 2021 21:44:51 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -328,11 +333,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:14 GMT + - Tue, 07 Sep 2021 21:44:51 GMT ms-cv: - - XdL6QvFe3U+iwuyR4jQWXQ.0 + - UdsQMdV5XUqPrZ6ZmPgzmQ.0 request-context: - appId= strict-transport-security: @@ -340,7 +346,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 752ms + - 194ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml index 3ce050a67048..c659aaf84b45 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_messages.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:14 GMT + - Tue, 07 Sep 2021 21:44:52 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-2f94-ceb1-a43a0d00be3d"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-3586-b271-25482200110f"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:14 GMT + - Tue, 07 Sep 2021 21:44:51 GMT ms-cv: - - qno+WgjR1kijEOzaDWVRmw.0 + - niDxXuZxSEG2D2zDWkywZw.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 59ms + - 92ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:14 GMT + - Tue, 07 Sep 2021 21:44:52 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:13.9575394+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:52.697843+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:14 GMT + - Tue, 07 Sep 2021 21:44:52 GMT ms-cv: - - WxZVPzHY0EScFh1JhfdnSA.0 + - L2WVrJu2o0yqM4ZpU/ZD7w.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 136ms + - 163ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:15 GMT + - Tue, 07 Sep 2021 21:44:52 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-313b-ceb1-a43a0d00be3e"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-3763-b271-254822001110"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:14 GMT + - Tue, 07 Sep 2021 21:44:52 GMT ms-cv: - - GdmHh306W0qKqXYosKng5A.0 + - DtCdHEd8ukKClQcJk3OXzA.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 60ms + - 156ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:15 GMT + - Tue, 07 Sep 2021 21:44:53 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:14.3763+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:53.3289064+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:14 GMT + - Tue, 07 Sep 2021 21:44:52 GMT ms-cv: - - yapNkafm2UKFPdGE2kNABw.0 + - L4apj4P7YkixOFFUQv5A0Q.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 135ms + - 200ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 2ec1eab4-67e2-419c-a8c3-ad007e02e535 + - 24f8205c-a9d5-43bc-93e9-44c5bab710ce method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:-BvCnUQkh7-NosK2rCWxqE1TIlbPcrdeUpvGI_aw0WA1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:15Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-2f94-ceb1-a43a0d00be3d", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-2f94-ceb1-a43a0d00be3d"}}}}' + body: '{"chatThread": {"id": "19:WXxNa9vqZ52MaEuMBiaZug4oyabQmXt41lWVyH7W9WU1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:53Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-3586-b271-25482200110f", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-3586-b271-25482200110f"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:16 GMT - ms-cv: vOkIhlOJwEaDcWUwMwwEHg.0 + date: Tue, 07 Sep 2021 21:44:53 GMT + ms-cv: tN0tSv+YUUeiAZkQE4OCjw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 1098ms + x-processing-time: 482ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"content": "hello world", "senderDisplayName": "sender name", "type": "text"}' @@ -224,149 +228,149 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:16 GMT - ms-cv: veT6Y7DBQEC2PGwqguj6Og.0 + date: Tue, 07 Sep 2021 21:44:54 GMT + ms-cv: tv7yqp0tjUWPpFezNwFpSA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 255ms + x-processing-time: 326ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?maxPageSize=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?maxPageSize=1&api-version=2021-09-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:16 GMT - ms-cv: zLsxENg1+EOnd1sRdwstVg.0 + date: Tue, 07 Sep 2021 21:44:54 GMT + ms-cv: 9oto8nu1IUWvJVtjY+TBCA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 153ms + x-processing-time: 130ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?maxPageSize=1&api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?maxPageSize=1&api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-09-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:16 GMT - ms-cv: m8FKnXWBHUunjtpVcUn2xQ.0 + date: Tue, 07 Sep 2021 21:44:54 GMT + ms-cv: JzntGVq4Cke8xa1FEG/mbg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 216ms + x-processing-time: 126ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-09-07 response: body: '{"value": "sanitized", "nextLink": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:17 GMT - ms-cv: zTVMe32EGUCXcZzcbkK93w.0 + date: Tue, 07 Sep 2021 21:44:54 GMT + ms-cv: zXJz4SWKLkOqhU7nsvobdg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 216ms + x-processing-time: 127ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:17 GMT - ms-cv: 50u/dVa2xkWKvfEtj8Hu1A.0 + date: Tue, 07 Sep 2021 21:44:55 GMT + ms-cv: r6wiQev7kkOj/al9VTzkkw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 293ms + x-processing-time: 128ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?syncState=sanitized&startTime=1/1/1970%2012:00:00%20AM%20%2B00:00&maxPageSize=1&api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:17 GMT - ms-cv: tyrZYzqAQk+y2NE0EGSyTA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:44:54 GMT + ms-cv: xMSuFtz4k0uQOjljqOKRWw.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 298ms + x-processing-time: 256ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -379,9 +383,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:18 GMT + - Tue, 07 Sep 2021 21:44:55 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -391,11 +395,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:18 GMT + - Tue, 07 Sep 2021 21:44:55 GMT ms-cv: - - YYzFUh/Oq0GwQVQoy7DGEw.0 + - ZRU7fGCInUGgysxEcrdYLA.0 request-context: - appId= strict-transport-security: @@ -403,7 +408,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 588ms + - 647ms status: code: 204 message: No Content @@ -419,9 +424,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:19 GMT + - Tue, 07 Sep 2021 21:44:56 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -431,11 +436,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:19 GMT + - Tue, 07 Sep 2021 21:44:56 GMT ms-cv: - - D8kNdWJcFkSl65osT65WTg.0 + - 7jaX+PgjfUGhXimDu9GF5Q.0 request-context: - appId= strict-transport-security: @@ -443,7 +449,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 599ms + - 502ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml index 1262bc561b98..c165c9b302d7 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_participants.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:20 GMT + - Tue, 07 Sep 2021 21:44:56 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-47e0-ceb1-a43a0d00be45"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-4746-5505-4548220010f2"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:20 GMT + - Tue, 07 Sep 2021 21:44:56 GMT ms-cv: - - 4cdXxvLfn0yzJOe/FkqhEw.0 + - 9yDE9R4mPEO6JMGXenFzZw.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 65ms + - 61ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:21 GMT + - Tue, 07 Sep 2021 21:44:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:20.2206621+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:57.1834418+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:20 GMT + - Tue, 07 Sep 2021 21:44:57 GMT ms-cv: - - pXvVqjoZXESzKPWpK0nvbg.0 + - Ku25V/WbPUKrm1F5z3mRSA.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 131ms + - 164ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:21 GMT + - Tue, 07 Sep 2021 21:44:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-49d5-ceb1-a43a0d00be46"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-491e-5505-4548220010f3"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:20 GMT + - Tue, 07 Sep 2021 21:44:57 GMT ms-cv: - - J/GDmkv77kavo6bM1c+myQ.0 + - ETjii/fd00mJL1NIYxUGew.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 63ms + - 125ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:21 GMT + - Tue, 07 Sep 2021 21:44:57 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:20.6923263+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:57.7481403+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:20 GMT + - Tue, 07 Sep 2021 21:44:57 GMT ms-cv: - - i1fclV1Qskmh5v8J5pUukA.0 + - JjtmHNRBikmwUxJCkX3iZg.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 130ms + - 127ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 54313c93-9823-44c3-84e9-8b1d7e31cc53 + - 5336780d-0490-4e24-a361-7229339e60cc method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:vVHmsbRsyNUbAUFVwcFYrsJ970aWOClkvnZxG16V5TU1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:21Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-47e0-ceb1-a43a0d00be45", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-47e0-ceb1-a43a0d00be45"}}}}' + body: '{"chatThread": {"id": "19:_wkExGuPJELz-udrzZ2E292HEajdtYybjfNM2mkZ4SE1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:57Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-4746-5505-4548220010f2", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-4746-5505-4548220010f2"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:21 GMT - ms-cv: KR1oIRziQEKbK8OWcP2b0w.0 + date: Tue, 07 Sep 2021 21:44:57 GMT + ms-cv: 3ziGdCYb+E2Stzd1GzJdHA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 696ms + x-processing-time: 607ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"participants": "sanitized"}' headers: @@ -223,74 +227,74 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-09-07 response: body: '{}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:22 GMT - ms-cv: Abns45iUlEa8RmnjmVgaqQ.0 + date: Tue, 07 Sep 2021 21:44:58 GMT + ms-cv: A9UMKKHYS0CpCKAPwcTxIA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 255ms + x-processing-time: 190ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants?maxPageSize=1&skip=1&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants?maxPageSize=1&skip=1&api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:22 GMT - ms-cv: 2Zr8WiuwTkeceKfN9+DAXA.0 + date: Tue, 07 Sep 2021 21:44:58 GMT + ms-cv: rPTH+xWgnUayx6llbtfD6Q.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 103ms + x-processing-time: 95ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants?maxPageSize=1&skip=1&api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants?maxPageSize=1&skip=1&api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:22 GMT - ms-cv: w1qWZgHqW0uHzw3N7K6x4Q.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:44:58 GMT + ms-cv: QQCoSf+Rb0OPJTFqjrZ3kg.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 126ms + x-processing-time: 239ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -303,9 +307,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:23 GMT + - Tue, 07 Sep 2021 21:44:59 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -315,11 +319,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:23 GMT + - Tue, 07 Sep 2021 21:44:59 GMT ms-cv: - - xbR2O1ZgsEuOFAZdOzSong.0 + - jVxb7h0q80mNBiuUPgDjVA.0 request-context: - appId= strict-transport-security: @@ -327,7 +332,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 671ms + - 326ms status: code: 204 message: No Content @@ -343,9 +348,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:24 GMT + - Tue, 07 Sep 2021 21:44:59 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -355,11 +360,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:24 GMT + - Tue, 07 Sep 2021 21:44:59 GMT ms-cv: - - I0MqS8Bp2kKNl/GtQRVL4w.0 + - yQUTcljTnU2K3AbAyukYOw.0 request-context: - appId= strict-transport-security: @@ -367,7 +373,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 711ms + - 260ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml index edd49792d88a..56cf68b02bd3 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_list_read_receipts.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:25 GMT + - Tue, 07 Sep 2021 21:45:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-596b-b8ba-a43a0d002d11"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-53e5-89df-44482200127d"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:24 GMT + - Tue, 07 Sep 2021 21:44:59 GMT ms-cv: - - +M/pYbd5ekaEb+MikDW9Lg.0 + - hQlDNagHr0+40hsphzXKww.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 62ms + - 63ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:25 GMT + - Tue, 07 Sep 2021 21:45:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:24.6795353+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:00.4891763+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:24 GMT + - Tue, 07 Sep 2021 21:45:00 GMT ms-cv: - - 1Um9nUSh2EGxsDfUizh3Eg.0 + - UiXKrWpWyUqzGK4EB88gPA.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 140ms + - 238ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:25 GMT + - Tue, 07 Sep 2021 21:45:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-5afc-b8ba-a43a0d002d12"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-5618-89df-44482200127e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:25 GMT + - Tue, 07 Sep 2021 21:45:00 GMT ms-cv: - - kApVSJfIj0SFaJ11GqWIQA.0 + - auCR2GSBwUqZLLZjZuAzQA.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 60ms + - 62ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:25 GMT + - Tue, 07 Sep 2021 21:45:00 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:24.0726322+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:01.1589607+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:25 GMT + - Tue, 07 Sep 2021 21:45:00 GMT ms-cv: - - b0jfkb4u3EicByRfv6TwJA.0 + - pyrEpCJGjECukzKBJhmOzA.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 138ms + - 295ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 6f60d9df-0261-4d6f-9df5-5d7dc4e020f5 + - 241bf0fc-79e9-427d-a80e-00481dc938b5 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:e7oDYrKtGUNpCbdNh2sL0LFls3C25lvhfeEtoZlkRtM1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:26Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-596b-b8ba-a43a0d002d11", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-596b-b8ba-a43a0d002d11"}}}}' + body: '{"chatThread": {"id": "19:dO_stDpbWrWsk4OuKPlcx7EyFkkcZGljtDGL-_AV5do1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:45:01Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-53e5-89df-44482200127d", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-53e5-89df-44482200127d"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:26 GMT - ms-cv: G/hz8rX8jk27tlZG0No7TQ.0 + date: Tue, 07 Sep 2021 21:45:00 GMT + ms-cv: drEh+s+A9kq7OwJmabRCkg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 450ms + x-processing-time: 547ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"content": "hello world", "senderDisplayName": "sender name", "type": "text"}' @@ -224,25 +228,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:26 GMT - ms-cv: TBzEYBVOp0ezRotk6g+oQQ.0 + date: Tue, 07 Sep 2021 21:45:01 GMT + ms-cv: +PAff+enIEihvY0rkYT0eA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 198ms + x-processing-time: 232ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 - request: body: '{"chatMessageId": "sanitized"}' headers: @@ -253,50 +257,50 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-length: '0' - date: Tue, 22 Jun 2021 20:54:26 GMT - ms-cv: ZQvBdcoiikKJuyqRUePN9A.0 + date: Tue, 07 Sep 2021 21:45:01 GMT + ms-cv: Vq4YOSxjFkOC0QdIq1aLlA.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 116ms + x-processing-time: 169ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:26 GMT - ms-cv: Il3dgS029UWsvq4r6vhkuw.0 + date: Tue, 07 Sep 2021 21:45:02 GMT + ms-cv: 28SMUeOvqkeQjXbJhIrVvA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 148ms + x-processing-time: 376ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 - request: body: '{"content": "hello world", "senderDisplayName": "sender name", "type": "text"}' @@ -308,25 +312,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:27 GMT - ms-cv: JBbVET7fwEOyN448LVR7Ng.0 + date: Tue, 07 Sep 2021 21:45:02 GMT + ms-cv: XGqt/Sbi/0WP04xECmPPhA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 212ms + x-processing-time: 181ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 - request: body: '{"chatMessageId": "sanitized"}' headers: @@ -337,50 +341,50 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-length: '0' - date: Tue, 22 Jun 2021 20:54:27 GMT - ms-cv: u5owL29DjkeGm+ywVNR4NA.0 + date: Tue, 07 Sep 2021 21:45:02 GMT + ms-cv: 3BKnc14wrUO6zmSe6G9FKw.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 141ms + x-processing-time: 168ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:28 GMT - ms-cv: D2vXx2TFZ0e8er0BZm9pCw.0 + date: Tue, 07 Sep 2021 21:45:02 GMT + ms-cv: CAKDAi26wE+vndJLqqdjbg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 108ms + x-processing-time: 106ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 - request: body: '{"content": "content", "senderDisplayName": "sender_display_name", "type": "text"}' @@ -392,25 +396,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:27 GMT - ms-cv: 6oJtVbwoWk+Lz5OTTmMpeg.0 + date: Tue, 07 Sep 2021 21:45:03 GMT + ms-cv: hmEZ4dqDlUudcnFRYWLvcA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 174ms + x-processing-time: 210ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 - request: body: '{"chatMessageId": "sanitized"}' headers: @@ -421,99 +425,99 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-length: '0' - date: Tue, 22 Jun 2021 20:54:28 GMT - ms-cv: RHxHXip2W0OP+wiA9aCwqg.0 + date: Tue, 07 Sep 2021 21:45:03 GMT + ms-cv: aBFM+UokIk2Xj1DeZKY12g.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 97ms + x-processing-time: 253ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:28 GMT - ms-cv: ndpKimPpNUy6KW4PW+QyIg.0 + date: Tue, 07 Sep 2021 21:45:03 GMT + ms-cv: v9wZrbcbY0mzSoQX7ltzdQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 118ms + x-processing-time: 103ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: GET - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?maxPageSize=2&skip=0&api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?maxPageSize=2&skip=0&api-version=2021-09-07 response: body: '{"value": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:29 GMT - ms-cv: QTu1bX322EaphP3bGtdmig.0 + date: Tue, 07 Sep 2021 21:45:04 GMT + ms-cv: 4qvQ9Mj5Xki2XiV02tpZnw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 129ms + x-processing-time: 85ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?maxPageSize=2&skip=0&api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?maxPageSize=2&skip=0&api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:29 GMT - ms-cv: cipnldZBs0qong6eweHJcQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:03 GMT + ms-cv: +tR15y9KvEimI5dLd8gYNw.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 178ms + x-processing-time: 236ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -526,9 +530,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:29 GMT + - Tue, 07 Sep 2021 21:45:04 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -538,11 +542,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:29 GMT + - Tue, 07 Sep 2021 21:45:04 GMT ms-cv: - - I9UVp+7RGky9WYz7K4svVA.0 + - NApEgi8dx0awc+ghdcbW4g.0 request-context: - appId= strict-transport-security: @@ -550,7 +555,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 657ms + - 268ms status: code: 204 message: No Content @@ -566,9 +571,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:30 GMT + - Tue, 07 Sep 2021 21:45:05 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -578,11 +583,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:30 GMT + - Tue, 07 Sep 2021 21:45:05 GMT ms-cv: - - X5aCNTC/lU+ik1HggqYISA.0 + - Jwnb1ja1iEOa0vzQNdYaIA.0 request-context: - appId= strict-transport-security: @@ -590,7 +596,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 618ms + - 322ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml index f7f644ef3546..849ca93646cd 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_remove_participant.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:31 GMT + - Tue, 07 Sep 2021 21:45:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-717f-f6c7-593a0d00a00d"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-69a2-f3f5-343a0d00171c"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:31 GMT + - Tue, 07 Sep 2021 21:45:05 GMT ms-cv: - - IqvWsJuyq0WoSkExSYrgNg.0 + - kxpMp32TSEuoSO9oeOTCtA.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 44ms + - 30ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:31 GMT + - Tue, 07 Sep 2021 21:45:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:30.6578675+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:05.7781732+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:31 GMT + - Tue, 07 Sep 2021 21:45:05 GMT ms-cv: - - 2IcCcwd2v0CCS1Sjh8aCKg.0 + - L5GNcnbd1kmpo5WKBt28Ig.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 26ms + - 32ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:31 GMT + - Tue, 07 Sep 2021 21:45:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-7247-f6c7-593a0d00a00e"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-6a2d-f3f5-343a0d00171d"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:31 GMT + - Tue, 07 Sep 2021 21:45:05 GMT ms-cv: - - +ARJdn1gbUSv+VunSIQZ3A.0 + - txdvO/02f0CxviYHDKRDKg.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 35ms + - 25ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:31 GMT + - Tue, 07 Sep 2021 21:45:05 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:30.89207+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:06.0090653+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:31 GMT + - Tue, 07 Sep 2021 21:45:05 GMT ms-cv: - - P3/7emU+i0y5qG4b0Nkeew.0 + - 6e2kyI1wN0ywE4pXt+pzSg.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 62ms + - 84ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 1e069a50-3c63-4a4e-b49d-618ddebd4414 + - 377b718c-bacb-4a97-bec3-65b3867d3653 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:1ungQFx5v99KM_cZK_UXp0A5vy822oO__BjqoQmIm0c1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:32Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-717f-f6c7-593a0d00a00d", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-717f-f6c7-593a0d00a00d"}}}}' + body: '{"chatThread": {"id": "19:bYn5kDnCZ4uXYYycph5ut-Zw2a67z2KlK06WdNPR_Ko1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:45:06Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-69a2-f3f5-343a0d00171c", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-69a2-f3f5-343a0d00171c"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:32 GMT - ms-cv: h7NhsyYQlEGj7XTNgWx4DQ.0 + date: Tue, 07 Sep 2021 21:45:06 GMT + ms-cv: 4KMQgB0V1EqAlsQG+Ec/sQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 742ms + x-processing-time: 614ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"participants": "sanitized"}' headers: @@ -223,28 +227,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-09-07 response: body: '{}' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:33 GMT - ms-cv: 792I65gM3UmT7bUDVx/xSQ.0 + date: Tue, 07 Sep 2021 21:45:06 GMT + ms-cv: PPz86090k0SL+zpdsZO/Gg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 331ms + x-processing-time: 367ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:add?api-version=2021-09-07 - request: - body: '{"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-7247-f6c7-593a0d00a00e", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-7247-f6c7-593a0d00a00e"}}' + body: '{"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-6a2d-f3f5-343a0d00171d", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-6a2d-f3f5-343a0d00171d"}}' headers: Accept: - application/json @@ -253,48 +257,48 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:remove?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:remove?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, - 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:33 GMT - ms-cv: NBLyJEFAmkWBrQTBIF3J+g.0 + 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:07 GMT + ms-cv: 6+CWkg8xJkCNgcr0FLuEEQ.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 323ms + x-processing-time: 367ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:remove?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/participants/:remove?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:33 GMT - ms-cv: nd4N1IhVPEyzqWJkVYSTMg.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:07 GMT + ms-cv: p7Y5xdCszEa4ExV3ex52ng.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 125ms + x-processing-time: 247ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -307,9 +311,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:33 GMT + - Tue, 07 Sep 2021 21:45:07 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -319,11 +323,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:34 GMT + - Tue, 07 Sep 2021 21:45:08 GMT ms-cv: - - 29WY8NNhWUmQ9AeHdq/rNA.0 + - vnN/W1VkIkitb6V53CVsNg.0 request-context: - appId= strict-transport-security: @@ -331,7 +336,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 745ms + - 464ms status: code: 204 message: No Content @@ -347,9 +352,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:34 GMT + - Tue, 07 Sep 2021 21:45:08 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -359,11 +364,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:34 GMT + - Tue, 07 Sep 2021 21:45:08 GMT ms-cv: - - qPVyqimsdkmzcHUi+xuMUQ.0 + - xt8hporBskWIka8QsY0i2g.0 request-context: - appId= strict-transport-security: @@ -371,7 +377,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 778ms + - 366ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml index f14608061d6a..a2f4741c9311 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_message.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:35 GMT + - Tue, 07 Sep 2021 21:45:08 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8304-f6c7-593a0d00a00f"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-769e-7a77-254822004d7c"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:35 GMT + - Tue, 07 Sep 2021 21:45:08 GMT ms-cv: - - ALwGnKk//0OaT9X1Ntk95g.0 + - XVfj8/A/P0OtiBXL/Irdxg.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 69ms + - 91ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:36 GMT + - Tue, 07 Sep 2021 21:45:09 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:35.201396+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:09.8943178+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:35 GMT + - Tue, 07 Sep 2021 21:45:09 GMT ms-cv: - - osvRLdA+PEOeofdOK3gk1Q.0 + - KaHXsZroGEyhizKIW04vXg.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 65ms + - 562ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:36 GMT + - Tue, 07 Sep 2021 21:45:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8412-f6c7-593a0d00a010"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-7a96-7a77-254822004d7e"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:35 GMT + - Tue, 07 Sep 2021 21:45:10 GMT ms-cv: - - OmV87kLnRkOjfAdvFuLr0A.0 + - vaOJTxkMEkmwdY7g3FAThg.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 32ms + - 187ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:36 GMT + - Tue, 07 Sep 2021 21:45:10 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:35.4291858+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:10.7099825+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:35 GMT + - Tue, 07 Sep 2021 21:45:10 GMT ms-cv: - - Kf7cM2EqkEamCtp1T/oThA.0 + - Q2Ansl/vDEy/ar3BEu7Czg.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 40ms + - 316ms status: code: 200 message: OK @@ -185,34 +189,34 @@ interactions: Accept: - application/json Content-Length: - - '349' + - '350' Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - be5b3ad2-e26e-431b-b848-2296fde84ed7 + - e330a6ef-4162-4bf6-a6f5-c7112107d810 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:JwuKSQ17ePPSgIzlmMfT65-itpaosjoTTyeYTBu0DF01@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:36Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8304-f6c7-593a0d00a00f", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-8304-f6c7-593a0d00a00f"}}}}' + body: '{"chatThread": {"id": "19:nPvYI6AbWROkP9PuRYAgagxOqL1ms7UUvJQ5T4cWzeM1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:45:10Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-769e-7a77-254822004d7c", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-769e-7a77-254822004d7c"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:37 GMT - ms-cv: 8jJyi3KKOEqvs+XA+SEenA.0 + date: Tue, 07 Sep 2021 21:45:10 GMT + ms-cv: c49wTK85akW4KVlDmbPAhA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 669ms + x-processing-time: 525ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"content": "hello world", "senderDisplayName": "sender name", "type": "text"}' @@ -224,49 +228,49 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:37 GMT - ms-cv: 5/f7LH34Ek+OLfGSOkJkNA.0 + date: Tue, 07 Sep 2021 21:45:10 GMT + ms-cv: LCdO3kyPzEWxfavnwuo0ow.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 187ms + x-processing-time: 242ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:37 GMT - ms-cv: +2tY6Wy0a0imxcK2aqE87w.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:11 GMT + ms-cv: wOFTtOZNxUymyDK2F9CiNw.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 121ms + x-processing-time: 531ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -279,9 +283,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:37 GMT + - Tue, 07 Sep 2021 21:45:12 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -291,11 +295,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:38 GMT + - Tue, 07 Sep 2021 21:45:12 GMT ms-cv: - - c82Dkxy8ikGWkihaylhR7w.0 + - ekbXYedqe06UpJokPBHWZg.0 request-context: - appId= strict-transport-security: @@ -303,7 +308,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 833ms + - 517ms status: code: 204 message: No Content @@ -319,9 +324,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:38 GMT + - Tue, 07 Sep 2021 21:45:12 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -331,11 +336,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:38 GMT + - Tue, 07 Sep 2021 21:45:13 GMT ms-cv: - - WC7lx3t0FUqf0K/5XiJeaQ.0 + - zdc2RpX7oUmoyQqQsaSrgQ.0 request-context: - appId= strict-transport-security: @@ -343,7 +349,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 510ms + - 434ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml index ae2a14ae8545..4a6ccdb4fe84 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_read_receipt.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:39 GMT + - Tue, 07 Sep 2021 21:45:13 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-92ad-28c5-593a0d001c47"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-88b6-5505-4548220010f4"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:39 GMT + - Tue, 07 Sep 2021 21:45:13 GMT ms-cv: - - ZHWslVpngE6RjQ8qQR/2dw.0 + - La4yF2CdAkycWFtSdor47Q.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 22ms + - 70ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:40 GMT + - Tue, 07 Sep 2021 21:45:13 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:39.4154833+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:14.0003819+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:40 GMT + - Tue, 07 Sep 2021 21:45:13 GMT ms-cv: - - PzTxP5OSHkCBUT8iWGlpMg.0 + - 0Ka99W4zXkqBz75yRERndw.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 42ms + - 213ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:40 GMT + - Tue, 07 Sep 2021 21:45:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-957e-28c5-593a0d001c48"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-8aa2-5505-4548220010f5"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:40 GMT + - Tue, 07 Sep 2021 21:45:14 GMT ms-cv: - - hiTQSi757kSbcJn+6St8pQ.0 + - V+R/EPUkwkmaM0lUsDIyIw.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 31ms + - 67ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:40 GMT + - Tue, 07 Sep 2021 21:45:14 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:39.9305944+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:14.7511396+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:40 GMT + - Tue, 07 Sep 2021 21:45:14 GMT ms-cv: - - wGhXJm2eJ023sI2mKEDU8Q.0 + - 6xXo6hL06k6d19SBwNCyTw.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 40ms + - 313ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - f11ba3f8-8d25-4853-a43b-60769bf0d247 + - e769ab00-b9a3-464c-9c45-af107c70d7b0 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:-x6L3gHUNtF6P2wflnLjbCkW2cL6oS4UVpExU0XYUTQ1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:41Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-92ad-28c5-593a0d001c47", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-92ad-28c5-593a0d001c47"}}}}' + body: '{"chatThread": {"id": "19:CvP3LPWwHwCrEB9QvgzPSln_PvsHsXese8mE0DxrRLg1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:45:14Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-88b6-5505-4548220010f4", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-88b6-5505-4548220010f4"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:41 GMT - ms-cv: oKqWEz+oOkOp8R/UzkPrXQ.0 + date: Tue, 07 Sep 2021 21:45:14 GMT + ms-cv: 0Pfa+qKWU0SU24GwJbKEnA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 697ms + x-processing-time: 352ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"content": "hello world", "senderDisplayName": "sender name", "type": "text"}' @@ -224,25 +228,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:41 GMT - ms-cv: RlHGvShOCUS3lAk7MtmZWA.0 + date: Tue, 07 Sep 2021 21:45:14 GMT + ms-cv: ALnnYLlSB0a7wpZamsFpGw.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 250ms + x-processing-time: 153ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 - request: body: '{"chatMessageId": "sanitized"}' headers: @@ -253,49 +257,49 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-length: '0' - date: Tue, 22 Jun 2021 20:54:42 GMT - ms-cv: GsHLUVJxsU2h/j2Aj/qbcg.0 + date: Tue, 07 Sep 2021 21:45:14 GMT + ms-cv: 5RiVmAbD4UuPvop4WLJ+ew.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 241ms + x-processing-time: 171ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/readReceipts?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:42 GMT - ms-cv: IjQ1s1MxpUWcw/T7RwqvNA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:15 GMT + ms-cv: pb7AE4km/EOb1I3kde6wTw.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 299ms + x-processing-time: 114ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -308,9 +312,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:43 GMT + - Tue, 07 Sep 2021 21:45:15 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -320,11 +324,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:44 GMT + - Tue, 07 Sep 2021 21:45:16 GMT ms-cv: - - bFwZIKESmEi2kvlmluxhog.0 + - R9eBIXzmQkCBKj/6MgylTw.0 request-context: - appId= strict-transport-security: @@ -332,7 +337,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 822ms + - 255ms status: code: 204 message: No Content @@ -348,9 +353,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:45 GMT + - Tue, 07 Sep 2021 21:45:16 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -360,11 +365,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:45 GMT + - Tue, 07 Sep 2021 21:45:16 GMT ms-cv: - - EkWWHVPidk6GBzuv40xZtQ.0 + - Tz+F4wUgB0OGnHW4pb5jvg.0 request-context: - appId= strict-transport-security: @@ -372,7 +378,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 550ms + - 244ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml index c956210778c8..a5f254d517ed 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:45 GMT + - Tue, 07 Sep 2021 21:45:16 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-abef-b8ba-a43a0d002d22"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-9480-7a77-254822004d7f"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:46 GMT + - Tue, 07 Sep 2021 21:45:16 GMT ms-cv: - - uNPycoiaHkSeEWdwYPGPHg.0 + - S7E2g5RDtkiYu5ihUc6cPw.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 93ms + - 89ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:46 GMT + - Tue, 07 Sep 2021 21:45:16 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:45.8106545+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:17.0062197+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:46 GMT + - Tue, 07 Sep 2021 21:45:16 GMT ms-cv: - - 2dxUqyMv0UyngcN5b3tnTw.0 + - Pkj03EQ7EkCnGnRH8p9zWw.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 139ms + - 158ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:46 GMT + - Tue, 07 Sep 2021 21:45:17 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-ada2-b8ba-a43a0d002d23"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-9646-7a77-254822004d80"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:46 GMT + - Tue, 07 Sep 2021 21:45:16 GMT ms-cv: - - FcZnCnf6rkGbxOWEuXKUfg.0 + - qNIskik+SUyJ8llsmIYScA.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 87ms + - 90ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:47 GMT + - Tue, 07 Sep 2021 21:45:17 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:46.2564276+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:17.4578215+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:46 GMT + - Tue, 07 Sep 2021 21:45:17 GMT ms-cv: - - yBJPkAejjkOgDtogXYfvwQ.0 + - jZswVc1aw0qUTqyUrZ4peA.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 168ms + - 154ms status: code: 200 message: OK @@ -189,79 +193,82 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 28e6d964-77bd-42cd-a8e5-107268111a92 + - a299c8cd-dc84-4961-8727-be8dab9b7e15 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:-Vtmg8MynfXaSL4-snZhqIM_F349EJKadyT2kmivCiQ1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:47Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-abef-b8ba-a43a0d002d22", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-abef-b8ba-a43a0d002d22"}}}}' + body: '{"chatThread": {"id": "19:N4gOJcdXrWreeCiGDNdYUj8Xx9S6TW0FEJlv9_7IUtI1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:45:17Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-9480-7a77-254822004d7f", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-9480-7a77-254822004d7f"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:47 GMT - ms-cv: kf0yrBRoL0a2Km5uJ/5ksw.0 + date: Tue, 07 Sep 2021 21:45:18 GMT + ms-cv: /lk4wawQ3U25RTLMPTi+CA.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 736ms + x-processing-time: 603ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: - body: null + body: '{}' headers: Accept: - application/json + Content-Length: + - '2' + Content-Type: + - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-09-07 response: body: string: '' headers: - api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + api-supported-versions: 2021-04-05-preview6, 2021-09-07 content-length: '0' - date: Tue, 22 Jun 2021 20:54:47 GMT - ms-cv: UU5D+Mzz/EaLBOQo4tn+wA.0 + date: Tue, 07 Sep 2021 21:45:17 GMT + ms-cv: sWT31CJXEEyAy/oT/0Fujw.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 258ms + x-processing-time: 212ms status: code: 200 message: OK - url: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:48 GMT - ms-cv: Du6a5WU5+UiJIeDc8DDVzQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:18 GMT + ms-cv: XZiCn6ALVEuDeMTliC6poA.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 238ms + x-processing-time: 182ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -274,9 +281,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:48 GMT + - Tue, 07 Sep 2021 21:45:18 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -286,11 +293,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:49 GMT + - Tue, 07 Sep 2021 21:45:19 GMT ms-cv: - - /azBFW05bEGPuwTM4DeEVg.0 + - 205lGbjKSkOYvMLCmIlCog.0 request-context: - appId= strict-transport-security: @@ -298,7 +306,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 776ms + - 513ms status: code: 204 message: No Content @@ -314,9 +322,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:49 GMT + - Tue, 07 Sep 2021 21:45:19 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -326,11 +334,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:49 GMT + - Tue, 07 Sep 2021 21:45:19 GMT ms-cv: - - JjPmNNWASkCXMRnH9U6JoQ.0 + - mkw1tlQK7EW8cE7eDXidMQ.0 request-context: - appId= strict-transport-security: @@ -338,7 +347,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 640ms + - 428ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml index ff67dc4c7751..39df945ed6ea 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_message.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:50 GMT + - Tue, 07 Sep 2021 21:45:23 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-be09-51b9-a43a0d009445"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-aed6-e6f5-343a0d0019b2"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:50 GMT + - Tue, 07 Sep 2021 21:45:22 GMT ms-cv: - - /Ub5zZaghkaLwcdZOFVNrQ.0 + - ScBjZZ7wVkS+87kXviZdIw.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 70ms + - 51ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:51 GMT + - Tue, 07 Sep 2021 21:45:23 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:50.484132+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:23.5327257+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:50 GMT + - Tue, 07 Sep 2021 21:45:23 GMT ms-cv: - - iv3zmQ6ekUOcE3i6Sovp4Q.0 + - sS0aVxMj/UGWPB58EWPcdg.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 171ms + - 60ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:51 GMT + - Tue, 07 Sep 2021 21:45:23 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-c010-51b9-a43a0d009446"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-afea-e6f5-343a0d0019b3"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:50 GMT + - Tue, 07 Sep 2021 21:45:23 GMT ms-cv: - - NEhQUCZwjU2XlFeTkB632Q.0 + - fWk/noSuWk+IhXsClf7K1Q.0 request-context: - appId= strict-transport-security: @@ -130,7 +133,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 96ms + - 36ms status: code: 201 message: Created @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:51 GMT + - Tue, 07 Sep 2021 21:45:23 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:51.03718+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:23.7889531+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:52 GMT + - Tue, 07 Sep 2021 21:45:23 GMT ms-cv: - - uQGkYyW2NEOewW448sR/rQ.0 + - bTxgS6c4F0qFMj/b+pRspA.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 147ms + - 33ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 7cadd68e-5e6f-4a33-8862-fc8769ece727 + - 90499003-61cd-4a66-8b78-41037f133ff8 method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:h5Qj9fgSx2isMThWhsaE5_Jll8G0a163GcIoNmmFnIg1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:52Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-be09-51b9-a43a0d009445", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-be09-51b9-a43a0d009445"}}}}' + body: '{"chatThread": {"id": "19:sOUsXcLHWLR7BuNls0eNI-2_VVbuwo38JfROmHiL_dQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:45:23Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-aed6-e6f5-343a0d0019b2", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-aed6-e6f5-343a0d0019b2"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:52 GMT - ms-cv: c9gEYpnO8k+cpKoGdwsW+w.0 + date: Tue, 07 Sep 2021 21:45:23 GMT + ms-cv: OlamVAN330ic9SzS2L7UuQ.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 431ms + x-processing-time: 537ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"content": "hello world", "senderDisplayName": "sender name", "type": "text"}' @@ -224,25 +228,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: POST - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 response: body: '{"id": "sanitized"}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:53 GMT - ms-cv: QWI0euuxD0i0svu061fdXw.0 + date: Tue, 07 Sep 2021 21:45:24 GMT + ms-cv: wlPmI/BbVESqbO3rDhvDQg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 185ms + x-processing-time: 222ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages?api-version=2021-09-07 - request: body: '{"content": "updated message content"}' headers: @@ -253,48 +257,48 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: PATCH - uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:53 GMT - ms-cv: Fcb4SdBa7EiwyKgPMltfWQ.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:25 GMT + ms-cv: Wrrw0lnIbUym0XUdBEIhfA.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 245ms + x-processing-time: 271ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized/messages/sanitized?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:54:53 GMT - ms-cv: AeZmKWdjskK4lhb+mpHV8A.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:24 GMT + ms-cv: fJxPKTazF0qyzaZBrHMCYQ.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 179ms + x-processing-time: 250ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -307,9 +311,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:54 GMT + - Tue, 07 Sep 2021 21:45:25 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -319,11 +323,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:54 GMT + - Tue, 07 Sep 2021 21:45:25 GMT ms-cv: - - Sf5Or/RWBEGpB2hKq0oo5w.0 + - CsEvbPEteEq1Sln3hrgteg.0 request-context: - appId= strict-transport-security: @@ -331,7 +336,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 588ms + - 814ms status: code: 204 message: No Content @@ -347,9 +352,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:54 GMT + - Tue, 07 Sep 2021 21:45:26 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -359,11 +364,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:54:55 GMT + - Tue, 07 Sep 2021 21:45:26 GMT ms-cv: - - w92WNoXjZEeYpHIgqWMXfw.0 + - gOFeG8vLBk6juo/C4J9t1g.0 request-context: - appId= strict-transport-security: @@ -371,7 +377,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 708ms + - 434ms status: code: 204 message: No Content diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml index 7dcd8b626c8e..63205494db9f 100644 --- a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_update_topic.yaml @@ -13,24 +13,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:55 GMT + - Tue, 07 Sep 2021 21:45:26 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d5cb-570c-113a0d00178f"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-bc72-b271-254822001112"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:57 GMT + - Tue, 07 Sep 2021 21:45:26 GMT ms-cv: - - d7cDl24Vn0iuYgLfRNVBoA.0 + - xkiw1wBHAU6EiLqjM40q2Q.0 request-context: - appId= strict-transport-security: @@ -40,7 +41,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 83ms + - 87ms status: code: 201 message: Created @@ -58,24 +59,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:57 GMT + - Tue, 07 Sep 2021 21:45:27 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:56.6651919+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:27.2236807+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:57 GMT + - Tue, 07 Sep 2021 21:45:26 GMT ms-cv: - - TF1wdnaLl0imD9GGQ0rsKw.0 + - B1vx+93pZk28SKmVdagJVg.0 request-context: - appId= strict-transport-security: @@ -85,7 +87,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 162ms + - 154ms status: code: 200 message: OK @@ -103,24 +105,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:57 GMT + - Tue, 07 Sep 2021 21:45:27 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 response: - body: '{"identity": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d8d4-570c-113a0d001791"}}' + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-be32-b271-254822001113"}}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:57 GMT + - Tue, 07 Sep 2021 21:45:26 GMT ms-cv: - - VAWDijDsqU+M2PbTCZ6gFw.0 + - pJl0c4hTlEOdzw6qni3++Q.0 request-context: - appId= strict-transport-security: @@ -148,24 +151,25 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:54:58 GMT + - Tue, 07 Sep 2021 21:45:27 GMT x-ms-return-client-request-id: - 'true' method: POST uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 response: - body: '{"token": "sanitized", "expiresOn": "2021-06-23T20:54:57.7524043+00:00"}' + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:27.7610074+00:00"}' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview content-type: - application/json; charset=utf-8 date: - - Tue, 22 Jun 2021 20:54:58 GMT + - Tue, 07 Sep 2021 21:45:27 GMT ms-cv: - - 2/nGLYVsdEWTBNEVFvw8wg.0 + - j8p//39/UUqVHIg61ZvTdQ.0 request-context: - appId= strict-transport-security: @@ -175,7 +179,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 217ms + - 239ms status: code: 200 message: OK @@ -189,30 +193,30 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) repeatability-request-id: - - 1e455e28-a94f-4cd1-ae4b-30f60276ec0a + - 61f794d6-b80c-4bca-8d6b-7a4e786856da method: POST - uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 response: - body: '{"chatThread": {"id": "19:CaKyZFIDA9YYOhv2UkyImFQ5A0NJI133NHLUGcD7ypE1@thread.v2", - "topic": "test topic", "createdOn": "2021-06-22T20:54:59Z", "createdByCommunicationIdentifier": - {"rawId": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d5cb-570c-113a0d00178f", - "communicationUser": {"id": "8:acs:ac80d96a-85de-48b1-995d-a3a3fa3627c8_0000000a-d562-d5cb-570c-113a0d00178f"}}}}' + body: '{"chatThread": {"id": "19:clOhFYEo_r-HtrRKIlggxVS6TZbOsEQBZidWPeruvos1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:45:28Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-bc72-b271-254822001112", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-bc72-b271-254822001112"}}}}' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 content-type: application/json; charset=utf-8 - date: Tue, 22 Jun 2021 20:54:59 GMT - ms-cv: 10CBOcI3Sk+cD7apl2KD4w.0 + date: Tue, 07 Sep 2021 21:45:28 GMT + ms-cv: K33ot+D28UaUyQVMfO3+lg.0 strict-transport-security: max-age=2592000 transfer-encoding: chunked x-cache: CONFIG_NOCACHE - x-processing-time: 453ms + x-processing-time: 859ms status: code: 201 message: Created - url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 - request: body: '{"topic": "update topic"}' headers: @@ -223,48 +227,48 @@ interactions: Content-Type: - application/merge-patch+json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: PATCH - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:55:01 GMT - ms-cv: b7xy7EWFgE6lTlT3Ek1vag.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:28 GMT + ms-cv: glEUVcWE7kifpYUcSGCd5A.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 275ms + x-processing-time: 298ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-communication-chat/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 response: body: string: '' headers: api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, - 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6 - date: Tue, 22 Jun 2021 20:55:01 GMT - ms-cv: 9nW1AUfRAUCQqESp3XiTbA.0 + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:28 GMT + ms-cv: De3Nk+S+8ku/GfOUkz38jA.0 strict-transport-security: max-age=2592000 x-cache: CONFIG_NOCACHE - x-processing-time: 244ms + x-processing-time: 199ms status: code: 204 message: No Content - url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-03-07 + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 - request: body: null headers: @@ -277,9 +281,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:55:02 GMT + - Tue, 07 Sep 2021 21:45:29 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -289,11 +293,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:55:03 GMT + - Tue, 07 Sep 2021 21:45:29 GMT ms-cv: - - UISdDH9xH0mSFJcmdo8nbw.0 + - kp8UzPKJi0Sx9SI27G5viw.0 request-context: - appId= strict-transport-security: @@ -301,7 +306,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 1046ms + - 518ms status: code: 204 message: No Content @@ -317,9 +322,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-communication-identity/1.0.1 Python/3.8.6rc1 (Windows-10-10.0.19041-SP0) + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) x-ms-date: - - Tue, 22 Jun 2021 20:55:03 GMT + - Tue, 07 Sep 2021 21:45:30 GMT x-ms-return-client-request-id: - 'true' method: DELETE @@ -329,11 +334,12 @@ interactions: string: '' headers: api-supported-versions: - - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1 + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview date: - - Tue, 22 Jun 2021 20:55:04 GMT + - Tue, 07 Sep 2021 21:45:29 GMT ms-cv: - - QqT2UWjvQE655NpiLEzjEg.0 + - cIqybrhW8EeIGrsTTr05Dg.0 request-context: - appId= strict-transport-security: @@ -341,7 +347,7 @@ interactions: x-cache: - CONFIG_NOCACHE x-processing-time: - - 861ms + - 400ms status: code: 204 message: No Content From 7eb1272f284f6c9197050c6e63f2a8bc2904482e Mon Sep 17 00:00:00 2001 From: Lu Chen Date: Tue, 7 Sep 2021 14:48:52 -0700 Subject: [PATCH 2/3] update swagger --- ...typing_notification_with_display_name.yaml | 386 ++++++++++++++++++ ...notification_with_sender_display_name.yaml | 354 ++++++++++++++++ 2 files changed, 740 insertions(+) create mode 100644 sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification_with_display_name.yaml create mode 100644 sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification_with_sender_display_name.yaml diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification_with_display_name.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification_with_display_name.yaml new file mode 100644 index 000000000000..6e99b8cb2adf --- /dev/null +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e.test_send_typing_notification_with_display_name.yaml @@ -0,0 +1,386 @@ +interactions: +- request: + body: '{}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:44:27 GMT + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 + response: + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-d5c0-dc7b-2548220015ad"}}' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Sep 2021 21:44:27 GMT + ms-cv: + - FjlWfZekcEaMJDj6BO0EMw.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 88ms + status: + code: 201 + message: Created +- request: + body: '{"scopes": ["chat"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:44:28 GMT + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + response: + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:28.1695173+00:00"}' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Sep 2021 21:44:27 GMT + ms-cv: + - aZX9KFAAbU+uj8wzJpFlXg.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 154ms + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:44:28 GMT + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 + response: + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-d791-dc7b-2548220015ae"}}' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Sep 2021 21:44:27 GMT + ms-cv: + - xQ3ApGPad0+BUPTGpshvJg.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 90ms + status: + code: 201 + message: Created +- request: + body: '{"scopes": ["chat"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:44:28 GMT + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + response: + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:44:28.6363166+00:00"}' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Sep 2021 21:44:27 GMT + ms-cv: + - 6h4ZfW8zb0KZpSgiG0fNNg.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 156ms + status: + code: 200 + message: OK +- request: + body: '{"topic": "test topic", "participants": "sanitized"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '350' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + repeatability-request-id: + - bd9dae00-a75d-49a9-a557-a8168d7cfedd + method: POST + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 + response: + body: '{"chatThread": {"id": "19:1P_S6sf7gPL6nhG69Us09Gn4qtsVv0F9c9XWQ29AWZo1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:44:29Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-d5c0-dc7b-2548220015ad", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-6219-d5c0-dc7b-2548220015ad"}}}}' + headers: + api-supported-versions: + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6, 2021-09-07 + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Sep 2021 21:44:29 GMT + ms-cv: + - bgutoPKXCUih5RBJglmVdQ.0 + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 734ms + status: + code: 201 + message: Created +- request: + body: '{"senderDisplayName": "John"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '29' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + method: POST + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-09-07 + response: + body: + string: '' + headers: + api-supported-versions: + - 2021-04-05-preview6, 2021-09-07 + content-length: + - '0' + date: + - Tue, 07 Sep 2021 21:44:29 GMT + ms-cv: + - Gnoa43kciUal9FOqu2N4Pg.0 + strict-transport-security: + - max-age=2592000 + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 189ms + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + method: DELETE + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 + response: + body: + string: '' + headers: + api-supported-versions: + - 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, 2021-03-01-preview5, + 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: + - Tue, 07 Sep 2021 21:44:29 GMT + ms-cv: + - 8LiURxfDR0Ce8qshgFStUA.0 + strict-transport-security: + - max-age=2592000 + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 202ms + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:44:30 GMT + x-ms-return-client-request-id: + - 'true' + method: DELETE + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + response: + body: + string: '' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + date: + - Tue, 07 Sep 2021 21:44:29 GMT + ms-cv: + - jrTQ1oRggEGnygLVM8EFbw.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 555ms + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:44:30 GMT + x-ms-return-client-request-id: + - 'true' + method: DELETE + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + response: + body: + string: '' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + date: + - Tue, 07 Sep 2021 21:44:30 GMT + ms-cv: + - 7fxNZqnMTEqNE/D2Dswwlg.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 418ms + status: + code: 204 + message: No Content +version: 1 diff --git a/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification_with_sender_display_name.yaml b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification_with_sender_display_name.yaml new file mode 100644 index 000000000000..1071da26ec95 --- /dev/null +++ b/sdk/communication/azure-communication-chat/tests/recordings/test_chat_thread_client_e2e_async.test_send_typing_notification_with_sender_display_name.yaml @@ -0,0 +1,354 @@ +interactions: +- request: + body: '{}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:45:19 GMT + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 + response: + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-a1b0-89df-44482200127f"}}' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Sep 2021 21:45:19 GMT + ms-cv: + - 8socINns5ke86wYHo68YLQ.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 62ms + status: + code: 201 + message: Created +- request: + body: '{"scopes": ["chat"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:45:20 GMT + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + response: + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:20.3297629+00:00"}' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Sep 2021 21:45:19 GMT + ms-cv: + - 1CvCoBM0T0W+g/wv0oOM1Q.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 166ms + status: + code: 200 + message: OK +- request: + body: '{}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '2' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:45:20 GMT + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/identities?api-version=2021-03-07 + response: + body: '{"identity": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-a396-89df-444822001280"}}' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Sep 2021 21:45:20 GMT + ms-cv: + - dce6WiqL5kOfoEWtngtWRg.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 62ms + status: + code: 201 + message: Created +- request: + body: '{"scopes": ["chat"]}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '20' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:45:20 GMT + x-ms-return-client-request-id: + - 'true' + method: POST + uri: https://sanitized.communication.azure.com/identities/sanitized/:issueAccessToken?api-version=2021-03-07 + response: + body: '{"token": "sanitized", "expiresOn": "2021-09-08T21:45:21.0002474+00:00"}' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + content-type: + - application/json; charset=utf-8 + date: + - Tue, 07 Sep 2021 21:45:20 GMT + ms-cv: + - N3Tu5pVSnU+vVpUskASRNA.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + transfer-encoding: + - chunked + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 233ms + status: + code: 200 + message: OK +- request: + body: '{"topic": "test topic", "participants": "sanitized"}' + headers: + Accept: + - application/json + Content-Length: + - '350' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + repeatability-request-id: + - 4298d670-914d-47cc-9bd6-b48c106ea1b0 + method: POST + uri: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 + response: + body: '{"chatThread": {"id": "19:mFD9pm0lVzCUe78x39CuXX2y6P72CmX2kT8rYSU8PRQ1@thread.v2", + "topic": "test topic", "createdOn": "2021-09-07T21:45:21Z", "createdByCommunicationIdentifier": + {"rawId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-a1b0-89df-44482200127f", + "communicationUser": {"id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_0000000c-621a-a1b0-89df-44482200127f"}}}}' + headers: + api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + content-type: application/json; charset=utf-8 + date: Tue, 07 Sep 2021 21:45:21 GMT + ms-cv: 0SEsRr8IDEqJ753I2s/Llg.0 + strict-transport-security: max-age=2592000 + transfer-encoding: chunked + x-cache: CONFIG_NOCACHE + x-processing-time: 579ms + status: + code: 201 + message: Created + url: https://sanitized.communication.azure.com/chat/threads?api-version=2021-09-07 +- request: + body: '{"senderDisplayName": "John"}' + headers: + Accept: + - application/json + Content-Length: + - '29' + Content-Type: + - application/json + User-Agent: + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + method: POST + uri: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-09-07 + response: + body: + string: '' + headers: + api-supported-versions: 2021-04-05-preview6, 2021-09-07 + content-length: '0' + date: Tue, 07 Sep 2021 21:45:21 GMT + ms-cv: BPxHPBzzZ0yNHYIt43Bl2w.0 + strict-transport-security: max-age=2592000 + x-cache: CONFIG_NOCACHE + x-processing-time: 396ms + status: + code: 200 + message: OK + url: https://sanitized.communication.azure.com/chat/threads/sanitized/typing?api-version=2021-09-07 +- request: + body: null + headers: + Accept: + - application/json + User-Agent: + - azsdk-python-communication-chat/1.1.0b1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + method: DELETE + uri: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 + response: + body: + string: '' + headers: + api-supported-versions: 2020-09-21-preview2, 2020-11-01-preview3, 2021-01-27-preview4, + 2021-03-01-preview5, 2021-03-07, 2021-04-05-preview6, 2021-09-07 + date: Tue, 07 Sep 2021 21:45:22 GMT + ms-cv: xsMNf2On2kGdEB70WOF9rg.0 + strict-transport-security: max-age=2592000 + x-cache: CONFIG_NOCACHE + x-processing-time: 193ms + status: + code: 204 + message: No Content + url: https://sanitized.communication.azure.com/chat/threads/sanitized?api-version=2021-09-07 +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:45:22 GMT + x-ms-return-client-request-id: + - 'true' + method: DELETE + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + response: + body: + string: '' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + date: + - Tue, 07 Sep 2021 21:45:22 GMT + ms-cv: + - wUcOvrnQE0av9N4aUILngg.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 262ms + status: + code: 204 + message: No Content +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '0' + User-Agent: + - azsdk-python-communication-identity/1.0.1 Python/3.9.5 (Windows-10-10.0.19043-SP0) + x-ms-date: + - Tue, 07 Sep 2021 21:45:22 GMT + x-ms-return-client-request-id: + - 'true' + method: DELETE + uri: https://sanitized.communication.azure.com/identities/sanitized?api-version=2021-03-07 + response: + body: + string: '' + headers: + api-supported-versions: + - 2020-07-20-preview2, 2021-02-22-preview1, 2021-03-07, 2021-03-31-preview1, + 2021-10-31-preview + date: + - Tue, 07 Sep 2021 21:45:22 GMT + ms-cv: + - H1u0DY+3UkySJijS536fOg.0 + request-context: + - appId= + strict-transport-security: + - max-age=2592000 + x-cache: + - CONFIG_NOCACHE + x-processing-time: + - 244ms + status: + code: 204 + message: No Content +version: 1 From 33e1583fbf97256129376bf23b8fcd2bccb174af Mon Sep 17 00:00:00 2001 From: Lu Chen Date: Tue, 7 Sep 2021 15:22:59 -0700 Subject: [PATCH 3/3] update changelog --- sdk/communication/azure-communication-chat/CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sdk/communication/azure-communication-chat/CHANGELOG.md b/sdk/communication/azure-communication-chat/CHANGELOG.md index 2f1929d0acc9..5d6e923f9b5a 100644 --- a/sdk/communication/azure-communication-chat/CHANGELOG.md +++ b/sdk/communication/azure-communication-chat/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 1.1.0 (Unreleased) +- Updated `azure-communication-chat` version. + ## 1.1.0b1 (2021-08-16) ### Added