Reads the contents of a file inside the box and returns it as a string. Supports absolute or relative paths, with workingDir as the base for relative paths.
Enter your API Key in the format: Bearer
Box ID
"c9bdc193-b54b-4ddb-a035-5ac0c598d32d"
Working directory. If not provided, the file will be read from the box.config.workingDir directory.
"/home/user/documents"
Target path in the box. If the path does not start with '/', the file will be read from the working directory.
"/home/user/documents/config.json"
Read file
Response containing file content
Content of the file
"{\n \"name\": \"My Project\",\n \"version\": \"1.0.0\"\n}"