Bug #6696
API v2 - specify the key in which the parameters would be wrapped rather than passing model name
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
specify :host as key rather than passing class name (Host::Base) which resolved to params[:base]
Related issues
Associated revisions
fixes #6696 - API v2 - specify 'host' as the key in which parameters will be wrapped rather than Host::Base
(cherry picked from commit a2610e980c66663db2a200cedceb2a0b53918f3a)
History
#1
Updated by Dominic Cleal over 8 years ago
- Related to Bug #5178: Users API requires parameters to be wrapped added
#2
Updated by The Foreman Bot over 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1600 added
- Pull request deleted (
)
#3
Updated by Dominic Cleal over 8 years ago
- Has duplicate Bug #6674: Can't create a host via the API because params aren't correctly wrapped added
#4
Updated by Dominic Cleal over 8 years ago
- Legacy Backlogs Release (now unused) set to 10
#5
Updated by Bryan Kearney over 8 years ago
- Bugzilla link set to 1120800
#6
Updated by Anonymous over 8 years ago
- Target version changed from 1.8.0 to 1.7.5
#7
Updated by Dominic Cleal over 8 years ago
- Related to Bug #6991: API v2 - support unwrapped POST/PUT parameters even though it's not documented added
#8
Updated by Joseph Magen over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset a2610e980c66663db2a200cedceb2a0b53918f3a.
fixes #6696 - API v2 - specify 'host' as the key in which parameters will be wrapped rather than Host::Base