I am successfully using the /asset/v1/content/assets REST API to populate a data extension with information about all the images in my business unit, via an SSJS script in Automation Studio. However, the tags attribute is an array, and when I attempt to populate the DE with it, the DE displays "System.Collections.ArrayList".
As I loop through the assets, I am grabbing the tags attribute with:
var assetTags = finalResponseFinal.items[i].tags;
This will ultimately feed a cloudpage that will allow users to search images, with tags being one of the elements they can filter on.
What should I do with the tags to populate the DE, and how do I do it? I am not versed in javascript, so a clear, complete answer would be most helpful. I have tried to stringify and .toString it but neither worked.
Thanks