Bug 1238268 - [RFE] Retrieve Reporting reports from RESTapi
Summary: [RFE] Retrieve Reporting reports from RESTapi
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.5.0
Assignee: Tim Wade
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On: 1244937
Blocks: 1261898
TreeView+ depends on / blocked
 
Reported: 2015-07-01 13:43 UTC by John Hardy
Modified: 2015-12-08 13:20 UTC (History)
6 users (show)

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.
Clone Of:
: 1261898 (view as bug list)
Environment:
Last Closed: 2015-12-08 13:20:27 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

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


Note You need to log in before you can comment on or make changes to this bug.