get https://{serverURL}/api/deployments//versions//files
This endpoint returns a list of files for a specific deployment version. This only applies to deploy type file. Files are sorted alphabetically, with directories appearing at the beginning of the list.
The filepath parameter can be specified to search for specific files or directories. To list files under a directory, use a trailing / in the filepath parameter. To list a specific file, provide it's full path.