I’d like to move up to v2 of the Box API, however I cannot currently retrieve the tags like you can in the previous api. Can you add the tags as a field in the GET call to the v2 api?
Thanks all,
Chad.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They are a part of the V2 API. If you look at the documentation for folders, you can see that the tag entry is a green entry. That means that you have to explicitly ask for that field in order for us to return it to you. The ?fields parameter will let you ask for only the fields you want (instead of the default set that Box automatically gives you as part of it’s responses)
Note that if you are trying to get this info for all the items in a folder, there is a difference in asking for the details about a folder, and asking for the details about every item in a folder. ?fields works for both (and also works if you’re doing a POST or PUT operation too).
If you want the details about a single folder:
GET ./folders/<id>?fields=a,b,cIf you want the details about all the items inside a folder
GET ./folders/<id>/items?fields=a,b,c