Skip to main content

Get list of tags

Gets the list of tags of the selected files

Function GetTagList(Val Token, Val Paths) Export

ParameterCLI optionTypeRequiredDescription
Token--tokenStringToken
Paths--pathsString, Array of StringPath 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);
    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"
}
]
}
]
}