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

39 lines
667 B
Markdown
Raw Normal View History

---
sidebar_position: 10
---
2024-10-12 23:29:51 +03:00
# Get file description
Gets a blank description template for uploading a file
2024-10-12 23:29:51 +03:00
`Function GetFileDescription(Val Clear = False) Export`
| Parameter | CLI option | Type | Description |
|-|-|-|-|
2024-10-12 23:29:51 +03:00
| Clear | --empty | Boolean | True > structure with empty valuse, False > field descriptions at values |
Returns: Map Of KeyAndValue - File description
2024-07-10 14:05:58 +03:00
<br/>
2024-07-10 13:58:29 +03:00
```bsl title="Code example"
2024-09-29 19:41:20 +03:00
Result = OPI_GoogleDrive.GetFileDescription();
```
2024-10-15 09:53:37 +03:00
```json title="Result"
2024-09-29 21:40:58 +03:00
{
"MIME": "image/jpeg",
"Name": "New file.jpg",
"Description": "This is a new file",
"Parent": "root"
}
```