You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

BellaDati Client API is a statefull HTTP based API available directly from the web browser. This API is dedicated for Javascript usage.

You can use the BellaDati Client API to extend BellaDati front-end functions or create various UI components. The most common use-cases are:

  • designing and implementing own menu structure and user controls inside report or dashboard
  • creating customized messaging and chatting functions
  • accessing detailed information about users, reports and dashboards

Example - getting signed user

Log-in into BellaDati, open the developers console and run the following script:

$.ajax({
  url: "/user/api:signedUser",
  success: function(reply) { 
      alert(reply.username) 
  },
  xhrFields: {
      withCredentials: true
  }
});

 

 

  • No labels