OP\RemoteAssetReadFilesController
Prints a JSON list of 10 files using GraphQL against the target server
Synopsis
class RemoteAssetReadFilesController
extends Controller
{
- // members
- private $statuscode;
- // methods
- public void index()
- public void buildgraphql()
- public data DownloadFile()
Hierarchy
Extends
- SilverStripe\Control\Controller
Members
private
- $statuscode
Methods
public
- DownloadFile() — will download the file and return it
- buildgraphql() — Creates the graphql to fetch the list of files from the remote server
- index() — Downloads a single file