You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by mi...@apache.org on 2016/10/26 03:09:09 UTC

zeppelin git commit: ZEPPELIN-1562 updated api doc

Repository: zeppelin
Updated Branches:
  refs/heads/master 0dd04d528 -> 481271973


ZEPPELIN-1562 updated api doc

What is this PR for?

The URL for running a paragraph synchronously using REST api is mistakenly given as "http://[zeppelin-server]:[zeppelin-port]/api/notebook/job/[notebookId]/[paragraphId] "

Changed the doc as per code

What type of PR is it?

[Documentation]

Todos

What is the Jira issue?

ZEPPELIN-1562
How should this be tested?

Hit the url in below format for asynchrnous
http://[zeppelin-server]:[zeppelin-port]/api/notebook/job/[notebookId]/[paragraphId]

the same in synchronous
http://[zeppelin-server]:[zeppelin-port]/api/notebook/run/[notebookId]/[paragraphId]

Screenshots (if appropriate)

Questions:

Does the licenses files need update? NO
Is there breaking changes for older versions? NO
Does this needs documentation? NO

Author: Naveen Subramanian <ns...@quixey.com>

Closes #1560 from snaveenp/ZEPPELIN-1562-api-doc and squashes the following commits:

169d9b6 [Naveen Subramanian] updated api doc


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/48127197
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/48127197
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/48127197

Branch: refs/heads/master
Commit: 4812719738c0e1b3e5b04752a54264ba9ec4cfa7
Parents: 0dd04d5
Author: Naveen Subramanian <ns...@quixey.com>
Authored: Tue Oct 25 15:23:46 2016 +0530
Committer: Mina Lee <mi...@apache.org>
Committed: Wed Oct 26 12:08:56 2016 +0900

----------------------------------------------------------------------
 docs/rest-api/rest-notebook.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/48127197/docs/rest-api/rest-notebook.md
----------------------------------------------------------------------
diff --git a/docs/rest-api/rest-notebook.md b/docs/rest-api/rest-notebook.md
index f77e710..1e49d1e 100644
--- a/docs/rest-api/rest-notebook.md
+++ b/docs/rest-api/rest-notebook.md
@@ -498,7 +498,7 @@ If you work with Apache Zeppelin and find a need for an additional REST API, ple
     </tr>
     <tr>
       <td>URL</td>
-      <td>```http://[zeppelin-server]:[zeppelin-port]/api/notebook/job/[noteId]/[paragraphId]```</td>
+      <td>```http://[zeppelin-server]:[zeppelin-port]/api/notebook/run/[noteId]/[paragraphId]```</td>
     </tr>
     <tr>
       <td>Success code</td>