Project

General

Profile

Actions

Feature #3646

closed

Default root name for api json single object response to no root node but make it configurable

Added by Dominic Cleal over 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

As per the discussion here, the single object APIv2 response should have a "result" top node which is configurable:
https://github.com/theforeman/theforeman.org/pull/106#discussion_r7252476

This follows #3011 which changed the index response.


Related issues 1 (0 open1 closed)

Related to Foreman - Feature #3011: default root name for api json index response to :results but make it configurableClosedJoseph Magen09/02/2013Actions
Actions

Also available in: Atom PDF