Get file API
The get file API is a read-only data page, D_pxGetFile. This API loads content or a stream to a file when the data page is loaded.
To use this API, define the following parameters:
- repositoryName – the name of the repository from which to get the file.
- filePath – the path, including the name of the file, to be retrieved, relative to the root path of the repository.
- responseType – the type of content that is in the file to be retrieved, either "STREAM" or "STRING".
Note: It is a best practice to use the Stream responseType. Use
the String option only for backward compatibility purposes.