Hide Forgot
Description of problem: Currently, the API call to "/api/v2/locations/<id>" shows a lot of info, but does not show the number of hosts associated with the location. This is useful for users who use the API to produce reports on how many systems are in each location. This info is available via the web UI in the locations page, but in order to get at the same information via the API, you have to do a search for each location and count the results. Version-Release number of selected component (if applicable): 6.2.10
Created redmine issue http://projects.theforeman.org/issues/21012 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21012 has been resolved.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2927