The bridge is a software bridge between the cloud code environment and the rest of brainCloud's services and APIs.
Each of brainCloud's services are implemented via a separate interface class. To make an API call, you must first acquire access to a proxy object for that service, via... guess what? the bridge!
Here is a quick example.
var playerStateService = bridge.getPlayerStateServiceProxy();
var numLogins = playerStateService.readPlayerState().data.loginCount;
Your feedback is important to us. Please rate this response below. Thanks!