[ 
https://issues.apache.org/jira/browse/BROOKLYN-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Svetoslav Neykov resolved BROOKLYN-8.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.11.0

Response is proper JSON now. Not sure when this was fixed so marking fix 
version as last release.

> Some REST API methods are not JSON-compliant 
> ---------------------------------------------
>
>                 Key: BROOKLYN-8
>                 URL: https://issues.apache.org/jira/browse/BROOKLYN-8
>             Project: Brooklyn
>          Issue Type: Bug
>            Reporter: Adrián Nieto
>            Priority: Minor
>             Fix For: 0.11.0
>
>
> REST v1 API methods like Server.version, Server.status are not returning JSON 
> Objects, although the HTML response content is tagged as JSON. Parsing error 
> expected.
> {noformat}
> Request URL
>     /v1/server/version
> Response Body [unable to parse as json; raw response below]
>     0.7.0-SNAPSHOT
> Response Code
>     200
> Response Headers
>     Content-Encoding: gzip
>     Server: Jetty(8.1.4.v20120524)
>     Transfer-Encoding: chunked
>     Content-Type: application/json
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to