Loop/Architecture/Rooms: Difference between revisions

Line 185: Line 185:
     "roomOwner": "Alexis",
     "roomOwner": "Alexis",
     "maxSize": "2",
     "maxSize": "2",
    "clientMaxSize": "2",
     "urlCreationDate": 1405517546,
     "urlCreationDate": 1405517546,
     "expiresAt": 1405534180,
     "expiresAt": 1405534180,
Line 193: Line 194:
  }
  }


* '''roomName''' -
* '''roomName''' - The room-owner-assigned name used to identify this room.
* '''roomOwner''' -
* '''roomOwner''' - The user-friendly display name indicating the name of the room's owner.
* '''maxSize''' -
* '''maxSize''' - The maximum number of users allowed in the room at one time (as configured by the room owner).
* '''urlCreationDate''' -
* '''clientMaxSize''' - The current maximum number of users allowed in the room, as constrained by the clients currently participating in the session. If no client has a supported size smaller than "maxSize", then this will be equal to "maxSize". Under no circumstances can "clientMaxSize" be larger than "maxSize".
* '''expiresAt''' -
* '''urlCreationDate''' - The time (in seconds since the Unix epoch) at which the room was created.
* '''participants''' -
* '''expiresAt''' - The time (in seconds since the Unix epoch) at which the room goes away.
 
* '''participants''' - An array containing a list of the current room participants. Each participant is formatted with the same fields as described in [[#User Identification in a Room]].
Each participant is formatted with the same fields as described in [[#User Identification in a Room]]


=== POST /rooms/{token} ===
=== POST /rooms/{token} ===
Confirmed users
632

edits