code: def get(self):
      databases = ca.database_controller.get_list()
      result = [
          {
              "name": x["name"],
              "class": "db",
              "type": x["type"],
              "engine": x["engine"],
              "deletable": x["type"] != "system",
          }
          for x in databases
      ]
      return result
  
file_path: mindsdb/mindsdb/api/http/namespaces/tree.py
imports: from collections import defaultdict
  from flask import current_app
  from flask_restx import Resource
  from mindsdb.api.http.utils import http_error
  from mindsdb.api.http.namespaces.configs.tree import ns_conf
label_desc: Use image node_id 1 for calling the GetRoot obj's underlying member method code with example usage: obj.get() and returns: result