Bug 1480280 - [RFE] Exporting report results in CSV using API
[RFE] Exporting report results in CSV using API
Status: NEW
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Reporting (Show other bugs)
5.8.0
x86_64 Linux
medium Severity low
: GA
: 5.9.0
Assigned To: Gregg Tanzillo
Dave Johnson
: FutureFeature
Depends On:
Blocks: 1480288 1511957
  Show dependency treegraph
 
Reported: 2017-08-10 11:09 EDT by Mikel Olasagasti
Modified: 2017-11-10 09:08 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mikel Olasagasti 2017-08-10 11:09:11 EDT
Description of problem:

It is not possible to export a report via API in CSV format


Version-Release number of selected component (if applicable): 

Cloudforms-4.5.1

How reproducible:

Always


Steps to Reproduce:
1. GET /api/results/27
2. json output is given

Actual results:

No format option available for API.

Expected results:

Format parameter available to select between JSON and CSV.

Additional info:

Using the UI reports can be exported as JSON, CSV and PDF. API doesn't have export format option and directly exports as JSON.

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