Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom button set model change for API #21814

Merged
merged 1 commit into from
May 10, 2022

Conversation

akhilkr128
Copy link
Member

To solve the task
Exposing method in the model so that API can call directly.

Expected API call after the change.
curl --user username:password -i -X POST -H "Accept: application/json" -d '{ "action": "order", "resource" : {"ids": [1,2] } }' https://domain/api/custom_button_sets

Screenshot 2022-04-08 at 12 12 29 AM

@akhilkr128 akhilkr128 changed the title Custom button model change for API Custom button set model change for API Apr 8, 2022
@akhilkr128 akhilkr128 force-pushed the custom_button_reorder branch from 17ea939 to 797b5d0 Compare April 20, 2022 18:31
@miq-bot
Copy link
Member

miq-bot commented Apr 20, 2022

Checked commit akhilkr128@797b5d0 with ruby 2.6.9, rubocop 1.19.1, haml-lint 0.35.0, and yamllint
2 files checked, 0 offenses detected
Everything looks fine. 🏆

@kbrock kbrock self-assigned this May 10, 2022
@kbrock kbrock merged commit 915020b into ManageIQ:master May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants