forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow partial POST edits on miq policy REST
Fix https://bugzilla.redhat.com/show_bug.cgi?id=1435777 policies API (MiqPolicy) should allow partial POST edits e.g POST localhost:3000/api/policies/1000000000007 { "action": "edit", "description": "Desc bar" } In addition the current error message is wrong as it is about creation not edit: { "error": { "kind": "bad_request", "message": "Resource conditions_ids, policy_contents needs be specified for creating a new policies", "klass": "Api::BadRequestError" } }
- Loading branch information
Mooli Tayer
committed
Mar 28, 2017
1 parent
fbd5ebf
commit 8cb8017
Showing
2 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters