Skip to content

Commit b9cb440

Browse files
author
astroshim
committed
add interpreter restart REST API doc
1 parent 0292f30 commit b9cb440

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

docs/rest-api/rest-interpreter.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,3 +361,38 @@ limitations under the License.
361361
</td>
362362
</tr>
363363
</table>
364+
365+
366+
<br/>
367+
368+
<table class="table-configuration">
369+
<col width="200">
370+
<tr>
371+
<th>Restart an interpreter</th>
372+
<th></th>
373+
</tr>
374+
<tr>
375+
<td>Description</td>
376+
<td>This ```PUT``` method restart the given interpreter id.</td>
377+
</tr>
378+
<tr>
379+
<td>URL</td>
380+
<td>```http://[zeppelin-server]:[zeppelin-port]/api/interpreter/setting/restart/[interpreter ID]```</td>
381+
</tr>
382+
<tr>
383+
<td>Success code</td>
384+
<td>200</td>
385+
</tr>
386+
<tr>
387+
<td> Fail code</td>
388+
<td> 500 </td>
389+
</tr>
390+
<tr>
391+
<td> sample JSON response
392+
</td>
393+
<td>
394+
<pre>{"status":"OK"}</pre>
395+
</td>
396+
</tr>
397+
</table>
398+

0 commit comments

Comments
 (0)