-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* logic for creating long term room * backwards compatibility shim
- Loading branch information
Showing
5 changed files
with
122 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
test/Meetings/Fixtures/Responses/create-long-term-room-success.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"display_name": "test-room", | ||
"metadata": "Welcome to my custom room", | ||
"type": "long_term", | ||
"recording_options": { | ||
"auto_record": false, | ||
"record_only_owner": false | ||
}, | ||
"theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8", | ||
"join_approval_level": "none", | ||
"initial_join_options": { | ||
"microphone_state": "on" | ||
}, | ||
"callback_urls": { | ||
"rooms_callback_url": "https://example.com/rooms", | ||
"sessions_callback_url": "https://example.com/sessions", | ||
"recordings_callback_url": "https://example.com/recordings" | ||
}, | ||
"available_features": { | ||
"is_recording_available": true, | ||
"is_chat_available": true, | ||
"is_whiteboard_available": true, | ||
"is_locale_switcher_available": true, | ||
"is_captions_available": false | ||
}, | ||
"ui_settings": { | ||
"language": "es" | ||
} | ||
} |
35 changes: 13 additions & 22 deletions
35
test/Meetings/Fixtures/Responses/create-room-success.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,29 @@ | ||
{ | ||
"id": "abc123", | ||
"display_name": "test-room", | ||
"metadata": "abc123", | ||
"type": "abc123", | ||
"metadata": "Welcome to my custom room", | ||
"type": "instant", | ||
"recording_options": { | ||
"auto_record": false, | ||
"record_only_owner": false | ||
}, | ||
"meeting_code": "123456789", | ||
"is_available": false, | ||
"theme_id": "abc123", | ||
"created_at": "abc123", | ||
"expires_at": "abc123", | ||
"expire_after_use": false, | ||
"join_approval_level": "abc123", | ||
"theme_id": "ef2b46f3-8ebb-437e-a671-272e4990fbc8", | ||
"join_approval_level": "none", | ||
"initial_join_options": { | ||
"microphone_state": "default" | ||
"microphone_state": "on" | ||
}, | ||
"callback_urls": { | ||
"rooms_callback_url": "https://example.com", | ||
"sessions_callback_url": "https://example.com", | ||
"recordings_callback_url": "https://example.com" | ||
"rooms_callback_url": "https://example.com/rooms", | ||
"sessions_callback_url": "https://example.com/sessions", | ||
"recordings_callback_url": "https://example.com/recordings" | ||
}, | ||
"available_features": { | ||
"is_recording_available": true, | ||
"is_chat_available": true, | ||
"is_whiteboard_available": true | ||
"is_whiteboard_available": true, | ||
"is_locale_switcher_available": true, | ||
"is_captions_available": false | ||
}, | ||
"_links": { | ||
"guest_url": { | ||
"href": "https://meetings.vonage.com/123456789" | ||
}, | ||
"host_url": { | ||
"href": "https://meetings.vonage.com/123456789?participant_token=xyz" | ||
} | ||
"ui_settings": { | ||
"language": "es" | ||
} | ||
} |