Uploaded image for project: 'Brooklyn'
  1. Brooklyn
  2. BROOKLYN-8

Some REST API methods are not JSON-compliant

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.11.0
    • None

    Description

      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.

      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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            adriannieto Adrián Nieto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: