From 2c09a9060834ecf7abd5477f1ac2f04bc2accdaf Mon Sep 17 00:00:00 2001 From: Po Tsang Date: Fri, 20 Aug 2021 13:43:44 -0700 Subject: [PATCH 1/2] Update examples to make it easier to differentiate MRIs --- ...ions_ListChatReadReceiptsWithPageSize.json | 4 ++-- ...Messages_ListChatMessagesWithPageSize.json | 8 ++++---- .../Messages_SendTypingNotification.json | 2 +- .../Participants_AddChatParticipants.json | 12 +++++------ ...ants_ListChatParticipantsWithPageSize.json | 4 ++-- .../examples/Threads_CreateChatThread.json | 20 +++++++++---------- ..._CreateChatThreadWithIdempotencyToken.json | 20 +++++++++---------- 7 files changed, 35 insertions(+), 35 deletions(-) diff --git a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Conversations_ListChatReadReceiptsWithPageSize.json b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Conversations_ListChatReadReceiptsWithPageSize.json index 9386c3cf4fb7..2815eff3bcf4 100644 --- a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Conversations_ListChatReadReceiptsWithPageSize.json +++ b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Conversations_ListChatReadReceiptsWithPageSize.json @@ -21,9 +21,9 @@ }, { "senderCommunicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715" } }, "chatMessageId": "1591768249318", diff --git a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_ListChatMessagesWithPageSize.json b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_ListChatMessagesWithPageSize.json index 8be72a33e4d0..d9594a6315ff 100644 --- a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_ListChatMessagesWithPageSize.json +++ b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_ListChatMessagesWithPageSize.json @@ -99,17 +99,17 @@ }, { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715" } } }, { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10d", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f13a9208-0bb8-45c0-916c-f3ed922728ce", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10d" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f13a9208-0bb8-45c0-916c-f3ed922728ce" } } } diff --git a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_SendTypingNotification.json b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_SendTypingNotification.json index 5c1b7831993d..cebf641dcec5 100644 --- a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_SendTypingNotification.json +++ b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_SendTypingNotification.json @@ -5,7 +5,7 @@ "chatThreadId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "sendTypingNotificationRequest": { "senderDisplayName": "Jane" - } + } }, "responses": { "200": {}, diff --git a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Participants_AddChatParticipants.json b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Participants_AddChatParticipants.json index 2c5550f803f9..7a66bddaef6c 100644 --- a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Participants_AddChatParticipants.json +++ b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Participants_AddChatParticipants.json @@ -7,9 +7,9 @@ "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715" } }, "displayName": "Alex", @@ -27,9 +27,9 @@ }, { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f13a9208-0bb8-45c0-916c-f3ed922728ce", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f13a9208-0bb8-45c0-916c-f3ed922728ce" } }, "displayName": "Rama", @@ -43,12 +43,12 @@ "body": { "invalidParticipants": [ { - "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c", + "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_a34d2d65-d72f-4c48-a12c-2d5c9ac75a1a", "code": "403", "message": "Permissions check failed" }, { - "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a", + "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f6762773-e33a-4727-985f-50bd1d197c7b", "code": "404", "message": "Not found" } diff --git a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Participants_ListChatParticipantsWithPageSize.json b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Participants_ListChatParticipantsWithPageSize.json index 822ef846c3e8..719beb5371b6 100644 --- a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Participants_ListChatParticipantsWithPageSize.json +++ b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Participants_ListChatParticipantsWithPageSize.json @@ -11,9 +11,9 @@ "value": [ { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715" } }, "displayName": "Jane", diff --git a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Threads_CreateChatThread.json b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Threads_CreateChatThread.json index 1632996cfa2a..413d718a22f7 100644 --- a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Threads_CreateChatThread.json +++ b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Threads_CreateChatThread.json @@ -7,9 +7,9 @@ "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715" } }, "displayName": "Jane" @@ -25,18 +25,18 @@ }, { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_a34d2d65-d72f-4c48-a12c-2d5c9ac75a1a", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_a34d2d65-d72f-4c48-a12c-2d5c9ac75a1a" } }, "displayName": "Bob" }, { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10d", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f6762773-e33a-4727-985f-50bd1d197c7b", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10d" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f6762773-e33a-4727-985f-50bd1d197c7b" } }, "displayName": "Peter" @@ -55,20 +55,20 @@ "topic": "Lunch", "createdOn": "2020-06-06T05:55:41.6460000Z", "createdByCommunicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715" } } }, "invalidParticipants": [ { - "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c", + "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_a34d2d65-d72f-4c48-a12c-2d5c9ac75a1a", "code": "403", "message": "Permissions check failed" }, { - "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10d", + "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f6762773-e33a-4727-985f-50bd1d197c7b", "code": "404", "message": "Not found" } diff --git a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Threads_CreateChatThreadWithIdempotencyToken.json b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Threads_CreateChatThreadWithIdempotencyToken.json index 4bd465bfb78e..d71d47c52f5e 100644 --- a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Threads_CreateChatThreadWithIdempotencyToken.json +++ b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Threads_CreateChatThreadWithIdempotencyToken.json @@ -8,9 +8,9 @@ "participants": [ { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715" } }, "displayName": "Jane" @@ -26,18 +26,18 @@ }, { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_a34d2d65-d72f-4c48-a12c-2d5c9ac75a1a", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_a34d2d65-d72f-4c48-a12c-2d5c9ac75a1a" } }, "displayName": "Bob" }, { "communicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10d", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f6762773-e33a-4727-985f-50bd1d197c7b", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10d" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f6762773-e33a-4727-985f-50bd1d197c7b" } }, "displayName": "Peter" @@ -56,20 +56,20 @@ "topic": "Lunch", "createdOn": "2020-06-06T05:55:41.6460000Z", "createdByCommunicationIdentifier": { - "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a", + "rawId": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715", "communicationUser": { - "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10a" + "id": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_c94ff260-162d-46d6-94fd-e79f4d213715" } } }, "invalidParticipants": [ { - "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10c", + "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_a34d2d65-d72f-4c48-a12c-2d5c9ac75a1a", "code": "403", "message": "Permissions check failed" }, { - "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_0e59221d-0c1d-46ae-9544-c963ce56c10d", + "target": "8:acs:8540c0de-899f-5cce-acb5-3ec493af3800_f6762773-e33a-4727-985f-50bd1d197c7b", "code": "404", "message": "Not found" } From f129b1045558f808f56cab370c8c91cf0d0e38a6 Mon Sep 17 00:00:00 2001 From: Po Tsang Date: Fri, 20 Aug 2021 14:02:52 -0700 Subject: [PATCH 2/2] Prettier fix --- .../examples/Messages_SendTypingNotification.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_SendTypingNotification.json b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_SendTypingNotification.json index cebf641dcec5..5c1b7831993d 100644 --- a/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_SendTypingNotification.json +++ b/specification/communication/data-plane/Chat/preview/2021-04-05-preview6/examples/Messages_SendTypingNotification.json @@ -5,7 +5,7 @@ "chatThreadId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", "sendTypingNotificationRequest": { "senderDisplayName": "Jane" - } + } }, "responses": { "200": {},