.. default-domain:: http .. highlight:: json ComputerModule ============== .. _http-MechJeb.ComputerModule: .. rubric:: ComputerModule The base class of the MechJeb modules that a client can enable and disable. | Derived classes: :ref:`AircraftAutopilot `, :ref:`AscentGuidance `, :ref:`Autostaging `, :ref:`DockingAutopilot `, :ref:`LandingGuidance `, :ref:`RendezvousAutopilot ` A ``ComputerModule`` object is returned as ``{"id": ..., "class": ...}``, its identifier and the name of its own class. An argument is that object or the identifier alone. A path that acts on an object takes the identifier as ``(id)``. .. http:get:: /mech-jeb/computer-module/(id)/enabled Whether the module is enabled. :param id: The identifier of the :ref:`ComputerModule ` object. :resjson bool value: .. http:put:: /mech-jeb/computer-module/(id)/enabled Whether the module is enabled. :param id: The identifier of the :ref:`ComputerModule ` object. :reqjson bool value: The new value.