Bug 906158
| Summary: | Revise Support for the application/json Format | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Fernando Ribeiro <fernando.ribeiro> |
| Component: | REST | Assignee: | Heiko W. Rupp <hrupp> |
| Status: | CLOSED DUPLICATE | QA Contact: | Mike Foley <mfoley> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.5 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-07 09:35:38 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: | |||
Not exactly a duplicate, as Bug 905210 talks about xml and this one about Json, but the internal reason is the same. *** This bug has been marked as a duplicate of bug 905210 *** Great, thanks! |
Description of problem: When I retrieve the "alert/count" resource in the "application/json" format, for example, the API returns values like "1" (not JSON) instead of "{result=1}" or "[1]" (JSON). Version-Release number of selected component (if applicable): 4.5.1 How reproducible: Steps to Reproduce: 1. Retrieve the "alert/count" resource in the "application/json" format 2. Verify that the returned value is not JSON Actual results: Expected results: Additional info: