cloudinary_gem icon indicating copy to clipboard operation
cloudinary_gem copied to clipboard

Conditional metadata rules support

Open Qapybara28 opened this issue 2 years ago • 6 comments

Feature request for Cloudinary Ruby SDK

Currently the SDK is lacking support for the conditional metadata rules API (enterprise only) documented here: https://cloudinary.com/documentation/conditional_metadata_rules_api

Describe the problem you’re trying to solve

There is no interface on cloudinary website to CRUD conditional metadata rules, it's only accessible through the API so I need to use it.

Do you have a proposed solution?

Extending Cloudinary::Api with new endpoints

Qapybara28 avatar Jul 15 '22 10:07 Qapybara28

Hi @Qapybara28,

I believe you are looking for the ability to create conditional metadata rules through the UI/DAM.

We have a guide on how to accomplish his here: https://cloudinary.com/documentation/dam_admin_structured_metadata#managing_conditional_metadata_rules

We typically see our users utilizing the UI/DAM to create these initially, then using the API to utilize them.

Please let me know if I've misunderstood the request/issue.

rnamba-cloudinary avatar Jul 16 '22 23:07 rnamba-cloudinary

Hello @rikuoCloudinary,

The source of truth regarding the structured metadata fields and rules configurations is in my application to allow seemless migration (upsert) so using the UI/DAM isn't enough.

What I'm asking for is the implementation of the ruby wrapping for the conditional metadata rules CRUD which is currently missing.

Side note: It seems there is a configuration issue on my enterprise account because the conditional metadata rules editor isn't available (sent an email to [email protected]).

Thank you

Qapybara28 avatar Jul 18 '22 10:07 Qapybara28

Issue regarding my account has been resolved (feature wasn't enabled by default)

Qapybara28 avatar Jul 18 '22 15:07 Qapybara28

Thank you for letting us know @Qapybara28! So glad that your issue is resolved.

jackiecatania avatar Jul 18 '22 18:07 jackiecatania

Is there any update for the original request ?

Qapybara28 avatar Aug 10 '22 12:08 Qapybara28

@Qapybara28 after reviewing your original request and checking on our side it looks like this hasn't been implemented for any of our SDKs but I have sent a request to our SDK team to see if this is something they can add as a feature request.

jackiecatania avatar Aug 10 '22 21:08 jackiecatania