code: def create_api_context(self, cls):
          
          return self.api_context_schema().load({
              "name": cls.name,
              "cls": cls,
              "inst": [],
              "conf": self.conf.get_api_service(cls.name),
              "calls": self.conf.get_api_calls(),
              "shared": {},  # Used per-API to monitor state
              "log_level": self.conf.get_log_level(),
              "callback": self.receive
              })
docs: Create and return an API context