cloudinary / cloudinary_ios

Cloudinary iOS SDK
MIT License
165 stars 106 forks source link

Search API in iOS SDK #341

Closed Saurabh-vegans closed 1 year ago

Saurabh-vegans commented 3 years ago

Feature request for Cloudinary iOS SDK

Explain your use case

NOTE:- Better to have this same feature in Android SDK as well. As I m iOS developer - don't know if android SDK already supports this.

roeeba commented 3 years ago

Hi @Saurabh-vegans, For creating Search or Admin APIs requests an API_Secret key is needed. That is why it's not available in our client-side/mobile SDKs as exposing this key will put your account at risk. Please use one of our server-side libraries for such requests (e.g., Ruby, PHP, Node, etc).

Saurabh-vegans commented 3 years ago

Hi @Saurabh-vegans, For creating Search or Admin APIs requests an API_Secret key is needed. That is why it's not available in our client-side/mobile SDKs as exposing this key will put your account at risk. Please use one of our server-side libraries for such requests (e.g., Ruby, PHP, Node, etc).

Thanks @roeeba for quick reply. I know about search API - I even tried it, but better to have this solution in app. for example - what if someone doesn't have any backend and just wanted to use Cloudinary as backend for videos?

d-mendoza commented 3 years ago

@Saurabh-vegans There may be alternatives to Search API to pull a list assets that are on your account. It would be nice to have that Search API functionality, but as Roee mentioned, it's a design issue that's a standard amount backend and client-side logic. For instance, you can pull a list of assets that are tagged on Cloudinary using client resource lists here https://cloudinary.com/documentation/advanced_url_delivery_options#client_side_asset_lists. If you like, we can discuss your use-case further via a support ticket here: https://support.cloudinary.com/hc/en-us/requests/new

roeeba commented 1 year ago

Closing this issue due to the time elapsed. Please feel free to either re-open the issue, contact our support at https://support.cloudinary.com/hc/en-us/requests/new or create a new ticket if you have any additional issues.