Bug 1480280 - [RFE] Exporting report results in CSV using API
Summary: [RFE] Exporting report results in CSV using API
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Reporting
Version: 5.8.0
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: GA
: 5.9.1
Assignee: Gregg Tanzillo
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks: 1480288 1511957
TreeView+ depends on / blocked
 
Reported: 2017-08-10 15:09 UTC by Mikel Olasagasti
Modified: 2021-03-11 15:34 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-22 15:53:47 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mikel Olasagasti 2017-08-10 15:09:11 UTC
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.