Title: Accept URL parameters map from all GET resources methods · Issue #321 · cloudinary/cloudinary_java · GitHub
Open Graph Title: Accept URL parameters map from all GET resources methods · Issue #321 · cloudinary/cloudinary_java
X Title: Accept URL parameters map from all GET resources methods · Issue #321 · cloudinary/cloudinary_java
Description: Feature request for Cloudinary Java SDK accept URL parameters map from all GET resources methods, or at least use the options as parameters. Explain your use case I.e., executing the following, I expect the request URL to be https://api....
Open Graph Description: Feature request for Cloudinary Java SDK accept URL parameters map from all GET resources methods, or at least use the options as parameters. Explain your use case I.e., executing the following, I e...
X Description: Feature request for Cloudinary Java SDK accept URL parameters map from all GET resources methods, or at least use the options as parameters. Explain your use case I.e., executing the following, I e...
Opengraph URL: https://github.com/cloudinary/cloudinary_java/issues/321
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Accept URL parameters map from all GET resources methods","articleBody":"## Feature request for Cloudinary Java SDK\r\naccept URL parameters map from all GET resources methods, or at least use the options as parameters.\r\n\r\n\r\n## Explain your use case\r\nI.e., executing the following, I expect the request URL to be `https://api.cloudinary.com/v1_1/dqayns3d7/resources/85673c8286be9af8e0a1aee250035460?colors=true`, but it isn't.\r\n```java\r\nApiResponse apiResponse = cloudinary.api().resourceByAssetID(\"85673c8286be9af8e0a1aee250035460?colors=true\", ObjectUtils.asMap(\r\n \"colors\", true\r\n));\r\n```\r\n\r\nI also noticed that the only keys added as parameters are \"tags\", \"context\", \"moderations\", that in the [documentation](https://cloudinary.com/documentation/admin_api#get_details_of_a_single_resource_by_asset_id) are not even valid parameters.\r\n\r\n## Describe the problem you’re trying to solve\r\nNo way to add optional URL parameters to the request URL.\r\n\r\n## Do you have a proposed solution?\r\nYes. Pass all options object as parameters, the invalid parameters are already ignored by the API (I tested it on Postman). Or, for a finer job, add only the allowed parameters.","author":{"url":"https://github.com/mattia-consiglio","@type":"Person","name":"mattia-consiglio"},"datePublished":"2024-05-24T17:43:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/321/cloudinary_java/issues/321"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:64da8749-d012-b6f0-5a5e-b47240407910 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD94:17F2AF:12F7B16:1A40B0D:697C95BE |
| html-safe-nonce | dbf2d5936d03044c07d4f6ff2f63006ff7d0c7bde3e2931b1b2c48385b9b70eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDk0OjE3RjJBRjoxMkY3QjE2OjFBNDBCMEQ6Njk3Qzk1QkUiLCJ2aXNpdG9yX2lkIjoiMTczMDk1OTcxODU2MzQ4NTExOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 82fed35f596b03163062745e6c6f4af9f050ec70db11411a9f5192b410535901 |
| hovercard-subject-tag | issue:2315913591 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudinary/cloudinary_java/321/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e306804e342860b75068b82e17c28ad7be1d4d9e547472e3e31f58204b1eb007/cloudinary/cloudinary_java/issues/321 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e306804e342860b75068b82e17c28ad7be1d4d9e547472e3e31f58204b1eb007/cloudinary/cloudinary_java/issues/321 |
| og:image:alt | Feature request for Cloudinary Java SDK accept URL parameters map from all GET resources methods, or at least use the options as parameters. Explain your use case I.e., executing the following, I e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mattia-consiglio |
| hostname | github.com |
| expected-hostname | github.com |
| None | f30e23787c843d478679169eb69bc1bf04c9aaf526e14cad93570a516ad7b047 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudinary/cloudinary_java git https://github.com/cloudinary/cloudinary_java.git |
| octolytics-dimension-user_id | 1460763 |
| octolytics-dimension-user_login | cloudinary |
| octolytics-dimension-repository_id | 6179800 |
| octolytics-dimension-repository_nwo | cloudinary/cloudinary_java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 6179800 |
| octolytics-dimension-repository_network_root_nwo | cloudinary/cloudinary_java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0bf17967680d17d40933881af78023e6675fa045 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width