lib/api/modules/spaces.js
function (spaceIdentifier, params) {
      var path;
      if (spaceIdentifier) {
        path = this.constructPath(constants.SPACES, spaceIdentifier, constants.PRESENCE);
        return this.Core.GET(path, params);
      } else {
        return this.rejectRequest('Bad Request: A space identifier is required.');
      }
    }
function (spaceIdentifier, params) {
      var path;
      if (spaceIdentifier) {
        path = this.constructPath(constants.SPACES, spaceIdentifier, constants.PRESENCE);
        return this.Core.GET(path, params);
      } else {
        return this.rejectRequest('Bad Request: A space identifier is required.');
      }
    }
function ( spaceIdentifier , params ) { var path ; if ( spaceIdentifier ) { path = this . constructPath ( constants . SPACES , spaceIdentifier , constants . PRESENCE ) ; return this . Core . GET ( path , params ) ; } else { return this . rejectRequest ( 'Bad Request: A space identifier is required.' ) ; } }
Get all the presence for a space
@param  {String|Integer}   spaceIdentifier A Robin space identifier
@param  {Object|undefined} params          A querystring object
@return {Function}                         A Promise
Get all the presence for a space