Authorizations
Enter your API Key in the format: Bearer <token>. Get it from https://gbox.ai
Path Parameters
Box ID
Example:
"c9bdc193-b54b-4ddb-a035-5ac0c598d32d"
Query Parameters
Working directory. If not provided, the file will be read from the box.config.workingDir
directory.
Example:
"/home/user/documents"
Target path in the box. If the path does not start with '/', the file/directory will be checked relative to the working directory
Example:
"/home/user/documents/output.txt"
Response
Get file/dir
- File
- Directory
File system file representation
File type indicator
Available options:
file
Name of the file
Example:
"example.txt"
Full path to the file in the box
Example:
"/path/to/example.txt"
Size of the file
Example:
"10MB"
File metadata
Example:
"755"
Last modified time of the file
Example:
"2021-01-01T00:00:00Z"