code: def get(self):
      r = [url[5:] for url, _, _ in routes if url.endswith(".json")]
      self.render(
          "json-index.html",
          routes=r,
          title="Index of JSON routes",
          **self.extra,
      )
  
file_path: distributed/distributed/http/scheduler/json.py
imports: from __future__ import annotations
  from distributed.http.utils import RequestHandler
  from distributed.utils import log_errors
label_desc: Use image node_id 1 for calling the IndexJSON obj's underlying member method code with example usage: obj.get() without return types