Bug 1261898

Summary: [RFE] Retrieve Reporting reports from RESTapi
Product: Red Hat CloudForms Management Engine Reporter: Chris Pelland <cpelland>
Component: APIAssignee: Tim Wade <twade>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: high Docs Contact:
Priority: high    
Version: 5.4.0CC: cpelland, dajohnso, gtanzill, jhardy, mfeifer, obarenbo, snansi, twade
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.4.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.4.3.0 Doc Type: Enhancement
Doc Text:
The new version of CloudForms Management Engine adds the capability to retrieve Reporting reports with RESTapi. The reports are returned in the JSON format in response to port standard RESTapi inventory calls.
Story Points: ---
Clone Of: 1238268 Environment:
Last Closed: 2015-10-22 14:33:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1238268, 1244937    
Bug Blocks:    

Comment 3 Milan Falešník 2015-10-06 11:32:27 UTC
I generated a couple of canned reports in 5.4.3.0, looked for the IDs of them in https://hostname/api/reports?expand=resources and then based on ID, I did https://hostname/api/reports/<id>/results , where I found a list of results and when I opened a particular result with https://hostname/api/reports/<id>/results/<id> I saw a JSON that looks like table data.

\o/

Comment 5 errata-xmlrpc 2015-10-22 14:33:36 UTC
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://rhn.redhat.com/errata/RHBA-2015-1916.html