Skip to main content

Get file description

Gets a blank description template for uploading a file

Function GetFileDescription(Val Clear = False) Export

ParameterCLI optionTypeRequiredDescription
Clear--emptyBooleanTrue > structure with empty valuse, False > field descriptions at values

Returns: Map Of KeyAndValue - File description


1C:Enterprise/OneScript code example
    Result = OPI_GoogleDrive.GetFileDescription();
    oint gdrive GetFileDescription \
--empty false
Result
{
"MIME": "image/jpeg",
"Name": "New file.jpg",
"Description": "This is a new file",
"Parent": "root"
}