Controller/Adminhtml/FastlyCdn/Manifest/GetAllModules.php
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()
            ]);
        }
    }
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()
            ]);
        }
    }
Get a list of all modules

@return $this|ResponseInterface|ResultInterface