Get list of tags
Gets the list of tags of the selected files
Function GetTagList(Val Token, Val Paths) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Token | --token | String | ✔ | Token |
Paths | --paths | String, Array of String | ✔ | Path or set of paths to the files |
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
1C:Enterprise/OneScript code example
Token = "sl.B_msgdiPWezavqeIij7xO0CoH6lFDkcxzp9wOv6yyW7dixfCrQAW21oFDnvVjkfZa4UegdzdP0...";
PathsArray = New Array;
PathsArray.Add("/New/Dogs.mp3");
PathsArray.Add("/New/mydoc.docx");
Result = OPI_Dropbox.GetTagList(Token, PathsArray);
- Bash
- CMD/Bat
oint dropbox GetTagList \
--token "***" \
--paths "/New/mydoc.docx"
oint dropbox GetTagList ^
--token "***" ^
--paths "/New/mydoc.docx"
Result
{
"paths_to_tags": [
{
"path": "/New/Dogs.mp3",
"tags": []
},
{
"path": "/New/mydoc.docx",
"tags": [
{
".tag": "user_generated_tag",
"tag_text": "important"
}
]
}
]
}