Project

General

Profile

Actions

Bug #6696

closed

API v2 - specify the key in which the parameters would be wrapped rather than passing model name

Added by Joseph Magen almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

specify :host as key rather than passing class name (Host::Base) which resolved to params[:base]


Related issues 3 (1 open2 closed)

Related to Foreman - Bug #5178: Users API requires parameters to be wrappedClosedJoseph Magen04/14/2014Actions
Related to Foreman - Bug #6991: API v2 - support unwrapped POST/PUT parameters even though it's not documentedNew08/07/2014Actions
Has duplicate Foreman - Bug #6674: Can't create a host via the API because params aren't correctly wrappedDuplicateThomas McKay07/17/2014Actions
Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Related to Bug #5178: Users API requires parameters to be wrapped added
Actions #2

Updated by The Foreman Bot almost 10 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/1600 added
  • Pull request deleted ()
Actions #3

Updated by Dominic Cleal almost 10 years ago

  • Has duplicate Bug #6674: Can't create a host via the API because params aren't correctly wrapped added
Actions #4

Updated by Dominic Cleal almost 10 years ago

  • translation missing: en.field_release set to 10
Actions #5

Updated by Bryan Kearney over 9 years ago

  • Bugzilla link set to 1120800
Actions #6

Updated by Anonymous over 9 years ago

  • Target version changed from 1.8.0 to 1.7.5
Actions #7

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #6991: API v2 - support unwrapped POST/PUT parameters even though it's not documented added
Actions #8

Updated by Joseph Magen over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF