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