Bug #6991
open
API v2 - support unwrapped POST/PUT parameters even though it's not documented
Added by Joseph Magen over 10 years ago.
Updated almost 9 years ago.
Description
add wrap_parameters for each controller to wrap setter methods that are not db attribute_names
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1668 added
- Pull request deleted (
)
- Related to Bug #6696: API v2 - specify the key in which the parameters would be wrapped rather than passing model name added
- Target version changed from 1.7.5 to 1.7.4
- Target version changed from 1.7.4 to 1.7.3
- Target version changed from 1.7.3 to 1.7.2
- Has duplicate Bug #8017: *_ids attributes have to be wrapped in an extra hash added
- Status changed from Ready For Testing to New
- Assignee deleted (
Joseph Magen)
- Target version deleted (
1.7.2)
- Pull request deleted (
https://github.com/theforeman/foreman/pull/1668)
PR was closed. The manual does document unwrapped parameters, while apipie prefers wrapped. Both should work as it's currently documented, so I'm leaving this open.
- Has duplicate Bug #19335: Adding media via the REST API does not correctly associate org/location added
Also available in: Atom
PDF