Project

General

Profile

Bug #4349

user json missing organizations, locations, and roles

Added by Thomas McKay over 5 years ago. Updated about 1 year ago.

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

Description

main.json.rabl needs

child :organizations => :organizations do
attributes :id, :name
end

child :locations => :locations do
attributes :id, :name
end

child :roles => :roles do
attributes :id, :name
end


Related issues

Related to Foreman - Bug #4198: api v2 arch does not return operating systemsClosed2014-01-27
Blocks Hammer CLI - Feature #2843: Listing associated resources for locations and orgsNew2013-07-25

Associated revisions

Revision 8d113bd8 (diff)
Added by Joseph Magen over 5 years ago

fixes #4349 - API v2 - add location and organization child nodes to user, domain, subnet, etc show json templates

History

#1 Updated by Dominic Cleal over 5 years ago

  • Related to Bug #4198: api v2 arch does not return operating systems added

#2 Updated by Joseph Magen over 5 years ago

Tom, I suggest to put the child nodes in show.json.rabl, but not in main.json.rabl, since this would appear for api/users

#3 Updated by Joseph Magen over 5 years ago

  • Status changed from New to Assigned

current users/show.json.rabl has roles, but I will add locations/organizations

#4 Updated by Dominic Cleal over 5 years ago

  • Blocks Feature #2843: Listing associated resources for locations and orgs added

#5 Updated by Dominic Cleal over 5 years ago

  • Status changed from Assigned to Ready For Testing
  • Assignee set to Joseph Magen
  • Target version set to 1.9.1
  • Legacy Backlogs Release (now unused) set to 4

#6 Updated by Joseph Magen over 5 years ago

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

Also available in: Atom PDF