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 almost 11 years ago. Updated over 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 #1

Updated by Dominic Cleal almost 11 years ago

  • Related to Feature #3011: default root name for api json index response to :results but make it configurable added
Actions #2

Updated by Joseph Magen almost 11 years ago

  • Subject changed from Default root name for api json single object response to :result but make it configurable to Default root name for api json single object response to no root node but make it configurable
  • Status changed from New to Assigned
Actions #3

Updated by Joseph Magen almost 11 years ago

  • Assignee set to Joseph Magen

updated discussion about this topic - https://github.com/theforeman/theforeman.org/pull/119

Actions #4

Updated by Dominic Cleal almost 11 years ago

  • Status changed from Assigned to Ready For Testing
  • Target version set to 1.10.0
  • Translation missing: en.field_release set to 2
Actions #5

Updated by Anonymous almost 11 years ago

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

Also available in: Atom PDF