Project

General

Profile

Actions

Bug #4349

closed

user json missing organizations, locations, and roles

Added by Thomas McKay about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
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 2 (0 open2 closed)

Related to Foreman - Bug #4198: api v2 arch does not return operating systemsClosedJoseph Magen01/27/2014Actions
Blocks Hammer CLI - Feature #2843: Listing associated resources for locations and orgsClosedActions
Actions #1

Updated by Dominic Cleal about 10 years ago

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

Updated by Joseph Magen about 10 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

Actions #3

Updated by Joseph Magen about 10 years ago

  • Status changed from New to Assigned

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

Actions #4

Updated by Dominic Cleal about 10 years ago

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

Updated by Dominic Cleal about 10 years ago

  • Status changed from Assigned to Ready For Testing
  • Assignee set to Joseph Magen
  • Target version set to 1.9.1
  • translation missing: en.field_release set to 4
Actions #6

Updated by Joseph Magen about 10 years ago

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

Also available in: Atom PDF