Changes

Jump to: navigation, search

Loop/Architecture/Rooms

602 bytes added, 15:15, 22 October 2014
GET /rooms
"roomName": "First Room Name",
"roomUrl": "http://localhost:3000/rooms/_nxD4V4FflQ",
"roomOwner": "Alexis",
"maxSize": 2,
"currSizecreationTime": 01405517546, "ctime": 1405517546, "expiresAt": 1405534180, "participants": []
},
{
"roomName": "Second Room Name",
"roomUrl": "http://localhost:3000/rooms/QzBbvGmIZWU",
"roomOwner": "Alexis",
"maxSize": 2,
"currSizecreationTime": 01405517546, "ctime": 14055174181405517546, "expiresAt": 1405534180, "participants": []
},
{
"clientMaxSize": 2,
"creationTime": 1405517546,
"ctime": 1405517818,
"expiresAt": 1405534180,
"participants": [
{ "displayName": "Adam", "roomConnectionId": "781f012b-f1ea-4ce1-9105-7cfc36fb4ec7" }
]
},
{
"roomToken": "3jKS_Els9IU",
"deleted": true
}
]
This body is an array of rooms, each of which is formatted as described in [[#GET_.2Frooms.2F.7Btoken.7D]]. Additionally, if a "?version=<version>" parameter is included, then the list will include the rooms that have been deleted since that version. These entries will simply include the roomToken, plus a field "deleted" with a value of "true". None of the other fields need to be included for deleted rooms.
Confirm
632
edits

Navigation menu