Using the cloud API, I can get a list of images using GETting the following URL:
https://API_KEY:API_SECRET@api.cloudinary.com/v1_1/CLOUD_NAME/resources/image/upload
However, using this from client-side JavaScript, you can open the key and secret key of my account.
It seems that getting a list of images should be possible without exposing the credentials of my account.
I looked at the Cloudaign AngularJS client , which has an example project that implements photo slideshows in an account. From what I can tell, this project uses the following line to get a list of photos in a cloud account.
var url = $.cloudinary.url('myphotoalbum', {format: 'json', type: 'list'});
But I cannot get this call to return anything.
JQuery cloud documentation does not describe the syntax $.cloudinary.url(); the only resource I found is on the CloudMan jQuery Github page , which says that
$.cloudinary.url(public_id, options)
What is public_id? What is options?
source
share