clj-zeppelin.core

create-note!

(create-note! notebook-server-url payload)

create-paragraph!

(create-paragraph! notebook-server-url note-id paragraph-data)
Creates a new paragraph, added to note-id.
https://zeppelin.apache.org/docs/0.8.0/usage/rest_api/notebook.html#create-a-new-paragraph

returns paragraph id

delete-note!

(delete-note! notebook-server-url note-id)
deletes a note. Needs the note id as argument
https://zeppelin.apache.org/docs/0.8.0/usage/rest_api/notebook.html#delete-a-note
Returns the status 

get-paragraph-info

(get-paragraph-info notebook-server-url note-id paragraph-id)
returns information about a paragraph
https://zeppelin.apache.org/docs/0.8.0/usage/rest_api/notebook.html#get-a-paragraph-information

Takes as arguments the notebook server, the note id and paragraph id

get-paragraph-status

(get-paragraph-status notebook-server-url note-id paragraph-id)

import-note!

(import-note!)

json-req

(json-req payload)
create a json string from a clojure map

list-notes

(list-notes notebook-server-url)

nbserver

run-all-paragraphs

(run-all-paragraphs notebook-server-url note-id)

run-paragraph-async

(run-paragraph-async notebook-server-url note-id paragraph-id)
runs a paragraph asynchronously
https://zeppelin.apache.org/docs/0.8.0/usage/rest_api/notebook.html#run-a-paragraph-asynchronously

Takes as arguments the notebook server, the note id and paragraph id.

Returns immediately, and the status is usually PENDING

run-paragraph-sync

(run-paragraph-sync notebook-server-url note-id paragraph-id)
runs a paragraph synchronously
https://zeppelin.apache.org/docs/0.8.0/usage/rest_api/notebook.html#run-a-paragraph-synchronously

Takes as arguments the notebook server, the note id and paragraph id.

Returns after the paragraph completes execution