GitHub user jolks opened a pull request:

    https://github.com/apache/zeppelin/pull/3225

    branch-0.8 docs: REST API JSON response status fix

    ### What is this PR for?
    Since v0.8.0, REST API JSON response `status` attribute has changed from 
`CREATED` to `OK`.
    
    Related source code:
    * 
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/NotebookRestApi.java
    * 
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/InterpreterRestApi.java
    
    ### What type of PR is it?
    Documentation
    
    ### Questions:
    * Shall I add tests to check the returned `status` in:
       * 
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/test/java/org/apache/zeppelin/rest/InterpreterRestApiTest.java
       * 
https://github.com/apache/zeppelin/blob/master/zeppelin-server/src/test/java/org/apache/zeppelin/rest/NotebookRestApiTest.java

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jolks/zeppelin branch-0.8_doc_rest_api_fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/3225.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3225
    
----
commit 139706003d1b6982837e2e5df3691cd99fcb9147
Author: John Lau <jolks@...>
Date:   2018-11-14T17:08:04Z

    REST API JSON response status fix

----


---

Reply via email to