Zvini
22:39:14

« File » get

file/get - Returns a single existing file.
Method parameters:
id - The ID of the file to get.
Returns a JSON document of the following format:
{
id: <number> - The ID of the file.
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:
FILE_NOT_FOUND - A file with the ID doesn't exist.