Application - File Manager
List Files
List the files of your application.
GET
List Files
string
required
The API key for your account. You can find this in your account settings.
path lists the application root.
On workspace-shared applications the caller needs the Maintainer or Administrator role, and members without the restricted-files permission never see .env or .env.production in the results, those entries are filtered out of the response rather than erroring.
Parameters
string
required
The ID of the application. You can find this in the URL of your application’s dashboard.
string
required
The path of the directory whose files you want to list. Default is the root directory.
Response
string
Indicates whether the call was successful..
success if successful, error if not.array
The list of files and directories in the specified path.
Common errors
List Files

