Function: file.GetOne
Returns a single File Object identified by the given id.
Syntax
{
"method": "file.GetOne",
"params": {
"file": "...",
"select": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<FileInfo> GetOne( AdvString file, std::optional<std::vector<AdvString>> select = std::nullopt );public Task<FileInfo> GetOneAsync(string file, CancellationToken ct = default);getOne(file: string): Promise<FileInfo>;Parameters
file : string
select : string[] optional
List of properties that should be contained in the result object.
Result : FileInfo
Matching FileInfo Object.
Remarks
This method requires API read access.