code: public function execute()
      {
          $result = $this->resultJson->create();
          try {
              $modules = $this->manifest->getAllModlyManifests();
  
              if (!$modules) {
                  return $result->setData([
                      'status'    => false,
                      'modules'   => '',
                      'msg'       => 'Use the Refresh button to get the latest modules.'
                  ]);
              }
  
              return $result->setData([
                  'status'    => true,
                  'modules'  => $modules
              ]);
          } catch (\Exception $e) {
              return $result->setData([
                  'status'    => false,
                  'msg'       => $e->getMessage()
              ]);
          }
      }
docs: Get a list of all modules
  
  @return $this|ResponseInterface|ResultInterface