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.CBL71_21WiKphqlWV34l0tlFn8eGn_YrnPrMexNmHltofj3DkBRsnpQEFY5O5H6i-iRl3bPDBi...";
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"
}
]
}
]
}