docs: def _route(self):
          """Define route."""
          # REST API
          self._app.route('/api/%s/config' % self.API_VERSION, method="GET",
                          callback=self._api_config)
          self._app.route('/api/%s/config/<item>' % self.API_VERSION, method="GET",
                          callback=self._api_config_item)
          self._app.route('/api/%s/args' % self.API_VERSION, method="GET",
                          callback=self._api_args)
          self._app.route('/api/%s/args/<item>' % self.API_VERSION, method="GET",
                          callback=self._api_args_item)
          self._app.route('/api/%s/help' % self.API_VERSION, method="GET",
                          callback=self._api_help)
          self._app.route('/api/%s/pluginslist' % self.API_VERSION, method="GET",
                          callback=self._api_plugins)
          self._app.route('/api/%s/all' % self.API_VERSION, method="GET",
                          callback=self._api_all)
          self._app.route('/api/%s/all/limits' % self.API_VERSION, method="GET",
                          callback=self._api_all_limits)
          self._app.route('/api/%s/all/views' % self.API_VERSION, method="GET",
                          callback=self._api_all_views)
          self._app.route('/api/%s/<plugin>' % self.API_VERSION, method="GET",
                          callback=self._api)
          self._app.route('/api/%s/<plugin>/history' % self.API_VERSION, method="GET",
                          callback=self._api_history)
          self._app.route('/api/%s/<plugin>/history/<nb:int>' % self.API_VERSION, method="GET",
                          callback=self._api_history)
          self._app.route('/api/%s/<plugin>/limits' % self.API_VERSION, method="GET",
                          callback=self._api_limits)
          self._app.route('/api/%s/<plugin>/views' % self.API_VERSION, method="GET",
                          callback=self._api_views)
          self._app.route('/api/%s/<plugin>/<item>' % self.API_VERSION, method="GET",
                          callback=self._api_item)
          self._app.route('/api/%s/<plugin>/<item>/history' % self.API_VERSION, method="GET",
                          callback=self._api_item_history)
          self._app.route('/api/%s/<plugin>/<item>/history/<nb:int>' % self.API_VERSION, method="GET",
                          callback=self._api_item_history)
          self._app.route('/api/%s/<plugin>/<item>/<value>' % self.API_VERSION, method="GET",
                          callback=self._api_value)
          bindmsg = 'Glances RESTful API Server started on {}api/{}/'.format(self.bind_url,
                                                                             self.API_VERSION)
          logger.info(bindmsg)
  
          # WEB UI
          if not self.args.disable_webui:
              self._app.route('/', method="GET", callback=self._index)
              self._app.route('/<refresh_time:int>', method=["GET"], callback=self._index)
              self._app.route('/<filepath:path>', method="GET", callback=self._resource)
              bindmsg = 'Glances Web User Interface started on {}'.format(self.bind_url)
              logger.info(bindmsg)
          else:
              logger.info('The WebUI is disable (--disable-webui)')
  
          print(bindmsg)