Loop/Architecture/Rooms: Difference between revisions

Jump to navigation Jump to search
Line 423: Line 423:
         "roomName": "First Room Name",
         "roomName": "First Room Name",
         "roomUrl": "http://localhost:3000/rooms/_nxD4V4FflQ",
         "roomUrl": "http://localhost:3000/rooms/_nxD4V4FflQ",
        "roomOwner": "Alexis",
         "maxSize": 2,
         "maxSize": 2,
         "currSize": 0,
         "creationTime": 1405517546,
         "ctime": 1405517546
         "ctime": 1405517546,
        "expiresAt": 1405534180,
        "participants": []
     },
     },
     {
     {
Line 431: Line 434:
         "roomName": "Second Room Name",
         "roomName": "Second Room Name",
         "roomUrl": "http://localhost:3000/rooms/QzBbvGmIZWU",
         "roomUrl": "http://localhost:3000/rooms/QzBbvGmIZWU",
        "roomOwner": "Alexis",
         "maxSize": 2,
         "maxSize": 2,
         "currSize": 0,
         "creationTime": 1405517546,
         "ctime": 1405517418
         "ctime": 1405517546,
        "expiresAt": 1405534180,
        "participants": []
     },
     },
     {   
     {   
Line 443: Line 449:
         "clientMaxSize": 2,
         "clientMaxSize": 2,
         "creationTime": 1405517546,
         "creationTime": 1405517546,
         "ctime": 1405517818
         "ctime": 1405517818,
         "expiresAt": 1405534180,
         "expiresAt": 1405534180,
         "participants": [
         "participants": [
Line 449: Line 455:
             { "displayName": "Adam", "roomConnectionId": "781f012b-f1ea-4ce1-9105-7cfc36fb4ec7" }
             { "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]]
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.
Confirmed users
632

edits

Navigation menu