Feature #9977

Unable to pull Facts via the API

Added by Jacob Hammack about 7 years ago. Updated almost 4 years ago.

Target version:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:



I am a RHSS customer working on a integration project and I am trying to pull the "facts" for a system that is being managed.

I am able to pull the facts for a host in /api/v2/hosts/id/facts but I am unable to get the same info(mostly IP address) for systems in /katello/api/v2/systems/id/.

The information can be seen in the RHSS6 gui, but from what I can tell it is pulled directly from the Postgres database.

Am I missing where to get this information? Is there anyway to expose a new api call for GET /katello/api/v2/systems/id/facts? I see that a PUT one exists.

Thank you,


#1 Updated by Eric Helms about 7 years ago

  • Triaged changed from No to Yes


If you grab the content host object from the API /katello/api/v2/systems/:id?fields=full you should find the facts contained within the response object. We are working on unifying hosts and content hosts that should result in a single facts object with a dedicated facts API as the one you have seen for hosts. If both of these satisfy your need then I'll move this issue to 'Rejected'; otherwise let us know and we can see about adding a content host facts API to fill in the gap.

#2 Updated by Eric Helms about 7 years ago

  • Status changed from New to Need more information

#3 Updated by Jacob Hammack about 7 years ago

Sorry for the delay. This has solved my problem for the time being. Thank you very much. I didn't see this in the RHSS6 API guide, not sure if yall have the power to update that or not.

Thank you very much!

#4 Updated by Eric Helms about 7 years ago

  • Status changed from Need more information to Rejected

#5 Updated by Eric Helms almost 6 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF