User search API to get Image Url
Hi, I have requirement not to use public_id to get image url. Instead, I am thinking to use tag(will set unique tag to each image while uploading) and search image based on unique tag name.
We have around 150000+ images.
Can i go ahead with this approach. wil search api handles many requests?
-
Hello Scott,
Thanks for reaching out.
You can use the Admin API to query for assets that have a particular tag applied. But the Admin API is rate limited.
https://cloudinary.com/documentation/admin_api#get_resources_by_tagYou could also try the client-side asset list. This is not rate-limited because it is not an API call. It is a JSON list of all assets with a particular tag.
https://cloudinary.com/documentation/advanced_url_delivery_options#client_side_resourcesIf you click the following URL, you will see a list of all assets in our demo account that have a tag of 'logo':
https://res.cloudinary.com/demo/image/list/logo.json
I hope this helps. Let me know if you have any questions.Kind Regards,
Tia
Post is closed for comments.
Comments
1 comment