How to view all tags
Is there a way to view all tags defined?
-
We currently don't support in listing tags from the console. I'll update here once this feature is ready.
In the meantime, we will gladly help you in listing your tags - please open a support ticket and share your account details and we'll take it from there :)
-
Hi Ethan,
The Admin API documentation was recently updated and it appears we've made an error and removed the 'list tags' method from that document. I'll follow up internally and make sure it's added back.In the meantime, as an example of how to use the API, here's an example in my account using our Node.JS SDK:
cloudinary.v2.api.tags(
function(error, result){console.log(error,result);}
);
The response is a JSON list of the tags:tags:
[ 'Architecture',
'Building',
'Bush',
'City',
//etcThe supported parameters are `next_cursor, max_results, prefix, resource_type` (defaults to resource_type: image)
The raw endpoint if you're not using one of our SDKs is `https://api.cloudinary.com/v1_1/{{CLOUD_NAME}}/tags/raw` (or /image or /video) which fetches the list of tags for that resource typePlease let me know if it works for you successfully
Regards
Stephen
-
Hey,
Yes, of course:)
You can use the Admin API to list all tags in your account. You can also use it to list all tags of a specific image.
Good luck!
Post is closed for comments.
Comments
6 comments