Bug #4349

user json missing organizations, locations, and roles

Added by Thomas McKay almost 4 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Joseph Magen
Category:API
Target version:Sprint 20
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-
Release1.5.0Release relationshipAuto

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 systems Closed 01/27/2014
Blocks Hammer CLI - Feature #2843: Listing associated resources for locations and orgs New 07/25/2013

Associated revisions

Revision 8d113bd8
Added by Joseph Magen over 3 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 almost 4 years ago

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

#2 Updated by Joseph Magen almost 4 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 almost 4 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 almost 4 years ago

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

#5 Updated by Dominic Cleal over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Assigned To set to Joseph Magen
  • Target version set to Sprint 20
  • Release set to 1.5.0

#6 Updated by Joseph Magen over 3 years ago

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

Also available in: Atom PDF