[Reporting/Tech Debt] Return objects in Job APIs are inconsistent #104791
Labels
bug
Fixes for quality problems that affect the customer experience
(Deprecated) Feature:Reporting
Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead
Feature:Reporting:Framework
Reporting issues pertaining to the overall framework
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
needs-team
Issues missing a team label
technical debt
Improvement of the software architecture and operational architecture
Kibana version: 5.0+
The
job
routes in Kibana reporting return different "flavor" of objects:info/<jobId>
: returns ReportApiJSONlist
: returnsReportDocument
This causes various components under reporting/management to use different shapes of objects in props, making refactoring and reasoning the code difficult - namely the "button" components in
x-pack/plugins/reporting/public/management
Intersects with #102833
The text was updated successfully, but these errors were encountered: