You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Api#resourceByAssetID does not support same options as in documentation #357
Before proceeding, please update to latest version and test if the issue persists
Describe the bug in a sentence or two.
It seems that Api#resourceByAssetID does not support same parameters as describe in documentation.
In Cloudinary Api Docs . E.g image_metadata is described as supported option. Thus, i would expect that cloudinary.api().resourceByAssetID(asset.asset_id(), Map.of("image_metadata", true)) would result in GET /v1_1/<client>/resources/<asset-id>?image_metadata=true. But actually it results in /v1_1/<client>/resources/<asset-id> without 'image_metadata' parameter.
Api#resourceByAssetID implementation does not match configuration options in documentation.
Since with simple curl the api responds with expected image metadata included my guess is that the java implementation is too restrictive.
Issue Type (Can be multiple)
[ ] Build - Can’t install or import the SDK
[ ] Performance - Performance issues
[x ] Behaviour - Functions aren’t working as expected (Such as generate URL)
[ ] Documentation - Inconsistency between the docs and behaviour
[ ] Other (Specify)
Steps to reproduce
… if applicable
Error screenshots or Stack Trace (if applicable)
…
Build System
[ ] Maven
[x ] Gradle
[ ] Other (Specify)
OS (Please specify version)
[ ] Windows
[ ] Linux
[ ] Mac
[ ] Other (specify)
Versions and Libraries (fill in the version numbers)
Hi @ClaudioWaldvogel ,
Thank you for your bug report and sorry for the late reply, I just want to give you an update that I opened an internal ticket about this issue as I can replicate this issue myself too.
Thanks, and we will keep you updated!
Activity
tamaracloudinary commentedon Dec 3, 2024
Thank you for reporting this, @ClaudioWaldvogel. I'm currently reviewing your inquiry and will provide an update as soon as I have more information.
tamaracloudinary commentedon Jan 1, 2025
Hi @ClaudioWaldvogel ,
Thank you for your bug report and sorry for the late reply, I just want to give you an update that I opened an internal ticket about this issue as I can replicate this issue myself too.
Thanks, and we will keep you updated!