code: def get_commands(self, view=None):
      
      return self._get("commands", ApiCommand, True,
          params = view and dict(view=view) or None)
docs: Retrieve a list of running global commands.
  
      @param view: View to materialize ('full' or 'summary')
      @return: A list of running commands.