Bug 1238268

Summary: [RFE] Retrieve Reporting reports from RESTapi
Product: Red Hat CloudForms Management Engine Reporter: John Hardy <jhardy>
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, gtanzill, jhardy, mfeifer, obarenbo, ssainkar
Target Milestone: GAKeywords: FutureFeature, ZStream
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.3 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:
: 1261898 (view as bug list) Environment:
Last Closed: 2015-12-08 13:20:27 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: 1244937    
Bug Blocks: 1261898    

Description John Hardy 2015-07-01 13:43:50 UTC
Provide capability within the RESTapi to Retrieve Reporting reports.

The reports should be returned in at least JSON format as port standard RESTapi inventory calls.

Comment 2 Milan Falešník 2015-10-26 10:06:58 UTC
I generated a couple of canned reports in 5.5.0.7, 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 4 errata-xmlrpc 2015-12-08 13:20:27 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://access.redhat.com/errata/RHSA-2015:2551