You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Udit Mehta <um...@groupon.com> on 2015/08/17 04:28:54 UTC

Rest endpoints provided by Zeppelin

Hi,

I was trying to figure if its possible to update the zeppelin interpreter
settings using a REST endpoint. Is this possible and is there any
documentation around it?

Thanks in advance,
Udit

Re: Rest endpoints provided by Zeppelin

Posted by Udit Mehta <um...@groupon.com>.
Thanks Eran and Moon for the quick reply. I will look into the REST
endpoint implementation and test it out for my use case.

On Mon, Aug 17, 2015 at 12:14 AM, IT CTO <go...@gmail.com> wrote:

> @Udit, following your question I found few bugs in the REST API (mainly
> the PUT,DELETE,POST) not working...
> I will add a JIRA ticket for this and fix it while documenting the usage.
> Stay tuned :-)
> Eran
>
>
> On Mon, Aug 17, 2015 at 8:35 AM moon soo Lee <mo...@apache.org> wrote:
>
>> Hi Udit,
>>
>> In addition to Eran's answer,
>>
>> https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/InterpreterRestApi.java is
>> implementation of REST endpoint for interpreter setting. The code might
>> help until we get some documentation.
>>
>> Thanks,
>> moon
>>
>>
>> On Sun, Aug 16, 2015 at 10:30 PM IT CTO <go...@gmail.com> wrote:
>>
>>> Thanks for the good question (god questions are one that makes us build
>>> a better product :-))
>>>
>>> The short answer is yes. BUT no documentation for it right now.
>>> if you go to your browser to your zeppelin IP (replace localhost:8080
>>> with your server IP and port)
>>> <http://localhost:8080/api/interpreter/setting/>
>>>
>>> (GET) http://localhost:8080/api/interpreter/ will list the interpreters
>>> by group
>>> (GET) http://localhost:8080/api/interpreter/setting will list
>>> interpreter setting
>>> (PUT) http://localhost:8080/api/interpreter/setting/{settingId} will
>>> update setting
>>> (DELETE) http://localhost:8080/api/interpreter/setting/{settingId} will
>>> remove the interpreter setting
>>>
>>> More formal documentation to come :-)
>>>
>>> Eran
>>>
>>> On Mon, Aug 17, 2015 at 5:29 AM Udit Mehta <um...@groupon.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I was trying to figure if its possible to update the zeppelin
>>>> interpreter settings using a REST endpoint. Is this possible and is there
>>>> any documentation around it?
>>>>
>>>> Thanks in advance,
>>>> Udit
>>>>
>>>

Re: Rest endpoints provided by Zeppelin

Posted by IT CTO <go...@gmail.com>.
@Udit, following your question I found few bugs in the REST API (mainly the
PUT,DELETE,POST) not working...
I will add a JIRA ticket for this and fix it while documenting the usage.
Stay tuned :-)
Eran


On Mon, Aug 17, 2015 at 8:35 AM moon soo Lee <mo...@apache.org> wrote:

> Hi Udit,
>
> In addition to Eran's answer,
>
> https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/InterpreterRestApi.java is
> implementation of REST endpoint for interpreter setting. The code might
> help until we get some documentation.
>
> Thanks,
> moon
>
>
> On Sun, Aug 16, 2015 at 10:30 PM IT CTO <go...@gmail.com> wrote:
>
>> Thanks for the good question (god questions are one that makes us build a
>> better product :-))
>>
>> The short answer is yes. BUT no documentation for it right now.
>> if you go to your browser to your zeppelin IP (replace localhost:8080
>> with your server IP and port)
>> <http://localhost:8080/api/interpreter/setting/>
>>
>> (GET) http://localhost:8080/api/interpreter/ will list the interpreters
>> by group
>> (GET) http://localhost:8080/api/interpreter/setting will list
>> interpreter setting
>> (PUT) http://localhost:8080/api/interpreter/setting/{settingId} will
>> update setting
>> (DELETE) http://localhost:8080/api/interpreter/setting/{settingId} will
>> remove the interpreter setting
>>
>> More formal documentation to come :-)
>>
>> Eran
>>
>> On Mon, Aug 17, 2015 at 5:29 AM Udit Mehta <um...@groupon.com> wrote:
>>
>>> Hi,
>>>
>>> I was trying to figure if its possible to update the zeppelin
>>> interpreter settings using a REST endpoint. Is this possible and is there
>>> any documentation around it?
>>>
>>> Thanks in advance,
>>> Udit
>>>
>>

Re: Rest endpoints provided by Zeppelin

Posted by moon soo Lee <mo...@apache.org>.
Hi Udit,

In addition to Eran's answer,
https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-server/src/main/java/org/apache/zeppelin/rest/InterpreterRestApi.java
is
implementation of REST endpoint for interpreter setting. The code might
help until we get some documentation.

Thanks,
moon


On Sun, Aug 16, 2015 at 10:30 PM IT CTO <go...@gmail.com> wrote:

> Thanks for the good question (god questions are one that makes us build a
> better product :-))
>
> The short answer is yes. BUT no documentation for it right now.
> if you go to your browser to your zeppelin IP (replace localhost:8080
> with your server IP and port)
> <http://localhost:8080/api/interpreter/setting/>
>
> (GET) http://localhost:8080/api/interpreter/ will list the interpreters
> by group
> (GET) http://localhost:8080/api/interpreter/setting will list interpreter
> setting
> (PUT) http://localhost:8080/api/interpreter/setting/{settingId} will
> update setting
> (DELETE) http://localhost:8080/api/interpreter/setting/{settingId} will
> remove the interpreter setting
>
> More formal documentation to come :-)
>
> Eran
>
> On Mon, Aug 17, 2015 at 5:29 AM Udit Mehta <um...@groupon.com> wrote:
>
>> Hi,
>>
>> I was trying to figure if its possible to update the zeppelin interpreter
>> settings using a REST endpoint. Is this possible and is there any
>> documentation around it?
>>
>> Thanks in advance,
>> Udit
>>
>

Re: Rest endpoints provided by Zeppelin

Posted by IT CTO <go...@gmail.com>.
Thanks for the good question (god questions are one that makes us build a
better product :-))

The short answer is yes. BUT no documentation for it right now.
if you go to your browser to your zeppelin IP (replace localhost:8080 with
your server IP and port)   <http://localhost:8080/api/interpreter/setting/>

(GET) http://localhost:8080/api/interpreter/ will list the interpreters by
group
(GET) http://localhost:8080/api/interpreter/setting will list interpreter
setting
(PUT) http://localhost:8080/api/interpreter/setting/{settingId} will update
setting
(DELETE) http://localhost:8080/api/interpreter/setting/{settingId} will
remove the interpreter setting

More formal documentation to come :-)

Eran

On Mon, Aug 17, 2015 at 5:29 AM Udit Mehta <um...@groupon.com> wrote:

> Hi,
>
> I was trying to figure if its possible to update the zeppelin interpreter
> settings using a REST endpoint. Is this possible and is there any
> documentation around it?
>
> Thanks in advance,
> Udit
>