I am using .net library of https://github.com/jhoerr/box-csharp-sdk-v2 I am able to update the description for file/folder Now i want to create tag information using api.
can anyone help me how can i add/remove tag?
I am using .net library of https://github.com/jhoerr/box-csharp-sdk-v2 I am able to update the description for file/folder Now i want to create tag information using api.
can anyone help me how can i add/remove tag?
To add a tag you update the array of tags on a file/folder
PUT /folders/<id> {tags:["red", "lizard", "dragon"]}
It will add or subtract any tags that you include or omit. So if you'd already made that call above, and wanted to remove "red", you'd do another PUT:
PUT /folders/<id> {tags:["lizard", "dragon"]}
I'm looking for a script that will loop over all the files in my 'photos' folder (~3000) and return the data so I can then individually update the tags for each file, can you point me in the right direction as to how this would work?