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

Also available in: Atom PDF