def get_request_url(self, ar, *args, **kw):

        if ar.actor.__name__ == "Main":
            return self.get_home_url(*args, **kw)

        kw = ar.get_status(**kw)
        if not kw['base_params']:
            del kw['base_params']
        #~ kw = self.request2kw(rr,**kw)
        if ar.bound_action != ar.actor.default_action:
            kw[constants.URL_PARAM_ACTION_NAME] = ar.bound_action.action.action_name
        return self.plugin.build_plain_url(
            'api', ar.actor.app_label, ar.actor.__name__, *args, **kw)
Called from ActionRequest.absolute_url() used in `Team.eml.html`
dataset/ETHPy150Open lsaffre/lino/lino/modlib/extjs/ext_renderer.py/ExtRenderer.get_request_url