file/list
- Returns a list of files.
Method parameters:
parent_id
- The ID of the parent folder.
Returns a JSON document of the following format:
[
{
id
: <number> - The ID of one of the files.
name
: <string> - The name of the file.
size
: <number> - The size of the content of the file in bytes.
md5_sum
: <string> - The MD5 hash of the content of the file.
sha256_sum
: <string> - The SHA-256 hash of the content of the file.
insert_time
: <number> - The Unix timestamp of when the file was created.
rename_time
: <number> - The Unix timestamp of when the file was last renamed.
}
...
]
Expected errors:
PARENT_FOLDER_NOT_FOUND
- A parent folder with the ID doesn't exist.