Realtime Cloud Storage


Retrieves the details of a set of roles (see listRoles to get all existing roles names).


curl '' -H 'Content-Type: application/json; charset=UTF-8' -d '{"applicationKey":"[YOUR_APP_KEY]", "privateKey":"[YOUR_PVT_KEY]", "roles": ["DeveloperRole","ManagerRole"]}'


String applicationKey

Public key of the application's license.

String privateKey

Private key of the application's license. For administration use only.

Array roles

List of the roles names to get

GetRolesResponse callback

Function called when the operation completes.


GetRolesResponse(data, error)

Response of the getRoles operation.

Role[] data

The retrieved role.

Error error

The attribute that holds the results of the operation if an error occurred.