Whether the path exists; when false, no other field is present.
OptionalextensionExtension with its leading dot, such as .flac; empty when there is none.
OptionalisWhether the path is a directory.
OptionalisWhether the path is a regular file.
OptionalmodifiedLast write time as a JavaScript timestamp in milliseconds, truncated to whole seconds.
OptionalnameFile name with its extension.
OptionalparentParent directory of the path after %variable% expansion. The path is not normalized, so a doubled separator left by the expansion stays.
OptionalsizeSize in bytes; 0 for a directory.
Always true here; a failed call resolves with ApiFailure instead.
Successful response from
file.getInfo.