Allowed types are: `view`, `assets`, `download`.

def get_session_url(session_id, type='view', **params):
        """ Allowed types are: `view`, `assets`, `download`. """
        url = 'sessions/{}/{}'.format(session_id, type)
        url = urljoin(API_URL, url)
        return add_to_url(url, **params)