Alexander Radzin created ZEPPELIN-3393:

             Summary: Export a notebook REST API returns wrapped wraps body
                 Key: ZEPPELIN-3393
             Project: Zeppelin
          Issue Type: Bug
            Reporter: Alexander Radzin

According to 
 REST API that exports note and looks like


Should return output like:

{{{ }}

{{ "paragraphs": [...], }}

{{ "name": "THE NAME", }}

{{ "id": "111111111", }}



In fact its output is wrapped by envelope 

{{{ "status": "OK", "message": "", "body": ...}}}

The body field is escaped and stored as a string. 

This behavior is not convenient since there is not simple way to export 
notebook and then import it again. 


The workaround that I found is using jq utility in order to extract and 
unescape the enclosed body as a standalone JSON. 

I am using Zeppelin 0.7.2. 



This message was sent by Atlassian JIRA

Reply via email to