1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-05-23 22:50:18 +02:00

42 lines
700 B
Plaintext
Raw Normal View History

2024-10-15 10:50:56 +03:00
---
2024-10-15 10:16:04 +03:00
sidebar_position: 10
---
2024-10-15 10:50:56 +03:00
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
2024-10-15 10:16:04 +03:00
# Get file description
Gets a blank description template for uploading a file
`Function GetFileDescription(Val Clear = False) Export`
| Parameter | CLI option | Type | Description |
|-|-|-|-|
| Clear | --empty | Boolean | True > structure with empty valuse, False > field descriptions at values |
Returns: Map Of KeyAndValue - File description
<br/>
```bsl title="Code example"
Result = OPI_GoogleDrive.GetFileDescription();
```
```json title="Result"
{
"MIME": "image/jpeg",
"Name": "New file.jpg",
"Description": "This is a new file",
"Parent": "root"
}
```