Actions
Feature #4218
closedV2 API: Add support for PUT of array of json relationship objects
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
API
Target version:
-
Description
Option #3 I created a before_filter in api/v2/base_controller.rb
https://github.com/isratrade/foreman/blob/inherit_loc/app/controllers/api/v2/base_controller.rb#L11
Basically, I manipulated the input to convert from an array of JSON objects to get attribute :column_names_ids = [1,2,3,4] which is what Rails likes in the standard `update_attributes` method
Note, column_names_names = ["name1", "name2"] also works.
Updated by Eric Helms almost 10 years ago
- Category set to API
- Triaged set to Yes
Updated by Eric Helms over 8 years ago
- translation missing: en.field_release set to 114
Updated by John Mitsch over 4 years ago
- Status changed from New to Rejected
- Target version deleted (
Katello Backlog)
Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.
Actions