We've made progress in using the websocket API to execute a notebook.
However we're unable to pass any parameters to the notebook.  We have a
requirement to pass a "jobid" runtime parameter so that the notebook can
update a database once it's done execution.

We have tried passing the parameters as HTTP headers hoping to access them
via the HttpServletRequest object in NotebookServer.  However this doesn't
seem to work as the headers never make it through to the NotebookServer
code.

Any thoughts please?



On Sat, Oct 17, 2015 at 8:22 PM, Renxia Wang <renxia.w...@gmail.com> wrote:

> You can use Zeppelin websocket API to interact with notebooks. See here:
> https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java
>
>
> Or you can use the REST API to create/delete/clone a notebook:
> https://zeppelin.incubator.apache.org/docs/rest-api/rest-notebook.html
>
> The Websocket API provides more functionalities than the REST API.
>
> 2015-10-17 16:24 GMT-07:00 Girish Reddy <gir...@springml.com>:
>
>> Hello:
>>
>> Is there an API or any other way we can execute an existing notebook
>> remotely?
>>
>> Also, can I programatically create a notebook with some "starter" code
>> (or a template) so that users don't have to start from scratch?
>>
>> Thanks.
>>
>
>

Reply via email to