diff --git a/specification/communication/data-plane/Rooms/preview/2023-03-31-preview/communicationservicesrooms.json b/specification/communication/data-plane/Rooms/preview/2023-03-31-preview/communicationservicesrooms.json index 96d392c6d715..962d21d90b7b 100644 --- a/specification/communication/data-plane/Rooms/preview/2023-03-31-preview/communicationservicesrooms.json +++ b/specification/communication/data-plane/Rooms/preview/2023-03-31-preview/communicationservicesrooms.json @@ -82,7 +82,11 @@ "produces": [ "application/json" ], - "parameters": [], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], "responses": { "200": { "description": "Request successful. The action returns a collection of rooms.", @@ -518,6 +522,23 @@ } } }, + "RoomParticipant": { + "description": "A participant of the room.", + "required": [ + "rawId", + "role" + ], + "type": "object", + "properties": { + "rawId": { + "description": "Raw ID representation of the communication identifier. Please refer to the following document for additional information on Raw ID.
https://learn.microsoft.com/azure/communication-services/concepts/identifiers?pivots=programming-language-rest#raw-id-representation", + "type": "string" + }, + "role": { + "$ref": "#/definitions/Role" + } + } + }, "RoomsCollection": { "description": "A collection of rooms.", "required": [ @@ -538,23 +559,6 @@ } } }, - "RoomParticipant": { - "description": "A participant of the room.", - "required": [ - "rawId", - "role" - ], - "type": "object", - "properties": { - "rawId": { - "description": "Raw ID representation of the communication identifier. Please refer to the following document for additional information on Raw ID.
https://learn.microsoft.com/azure/communication-services/concepts/identifiers?pivots=programming-language-rest#raw-id-representation", - "type": "string" - }, - "role": { - "$ref": "#/definitions/Role" - } - } - }, "UpdateRoomRequest": { "description": "Request payload for updating a room.", "type": "object", diff --git a/specification/communication/data-plane/Rooms/preview/2023-03-31-preview/examples/Rooms_List.json b/specification/communication/data-plane/Rooms/preview/2023-03-31-preview/examples/Rooms_List.json index 6fba248920dd..888b4b26b611 100644 --- a/specification/communication/data-plane/Rooms/preview/2023-03-31-preview/examples/Rooms_List.json +++ b/specification/communication/data-plane/Rooms/preview/2023-03-31-preview/examples/Rooms_List.json @@ -8,13 +8,13 @@ "body": { "value": [ { - "id": "999126454", + "id": "999058871389949120", "createdAt": "2021-09-06T05:55:41Z", "validFrom": "2021-09-07T07:55:41Z", "validUntil": "2021-09-08T15:55:41Z" }, { - "id": "999126456", + "id": "99199690362660524", "createdAt": "2021-10-06T05:55:41Z", "validFrom": "2021-10-07T07:55:41Z", "validUntil": "2021-10-08T15:55:41Z" diff --git a/specification/communication/data-plane/Rooms/readme.md b/specification/communication/data-plane/Rooms/readme.md index a7f7205f250b..f46b117d5a2b 100644 --- a/specification/communication/data-plane/Rooms/readme.md +++ b/specification/communication/data-plane/Rooms/readme.md @@ -40,4 +40,15 @@ input-file: - preview/2023-03-31-preview/communicationservicesrooms.json title: Azure Communication Services +``` + +### Tag: package-rooms-2022-02-01-preview + +These settings apply only when `--tag=package-rooms-2022-02-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-rooms-2022-02-01-preview' +input-file: + - preview/2022-02-01-preview/communicationservicesrooms.json +title: + Azure Communication Services ``` \ No newline at end of file