def METHOD_NAME(self):
    include_editor = can_access_editor(self.request)
    METHOD_NAME: dict[str, dict[str, str] | str] = OrderedDict()
    for urlpattern in router.METHOD_NAME:
        if not include_editor and inspect.getmodule(urlpattern.callback).__name__.startswith('c3nav.editor.'):
            continue
        name = urlpattern.name
        url = self._format_pattern(str(urlpattern.pattern)).replace('{pk}', '{id}')
        base = url.split('/', 1)[0]
        if base == 'editor':
            if name == 'editor-list':
                continue
            if name == 'editor-detail':
                name = 'editor-api'
        elif base == 'session':
            if name == 'session-list':
                name = 'session-info'
        if '-' in name:
            METHOD_NAME.setdefault(base, OrderedDict())[name.split('-', 1)[1]] = url
        else:
            METHOD_NAME[name] = url
    return METHOD_NAME