Project

General

Profile

Feature #670

Support returning proper JSON with most CRUD operations

Added by Justin Sherrill over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

It seems that most CRUD operations don't support returning proper json if "Accept: application/json" is added to the request headers.

The following controllers don't seem to support json for Create/Update/delete and some don't support it for index:

architecture
config_templates
domains
environments
hostgroups
hosts
hypervisors
media
operatingsystems
ptables
smart_proxies
subnets


Related issues

Related to Foreman - Bug #472: Destroying domains redirects to main domainClosed2010-11-18

Associated revisions

Revision b28fdce4 (diff)
Added by Ohad Levy over 8 years ago

Fixes #670 - Adds proper json support for most CRUD operations

History

#1 Updated by Ohad Levy over 8 years ago

  • Category set to API
  • Target version set to 0.2

#2 Updated by Ohad Levy over 8 years ago

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

#3 Updated by Ohad Levy over 8 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF