Thank again for you reply. Do you know if it is a possible improvement for the Web Side and Rest API ? I think it will could be usefull to allowed user to create Notebook and paragraph with this system.
Sincerely, Le jeu. 16 juin 2016 à 07:07, moon soo Lee <m...@apache.org> a écrit : > Websocket server in the other hands, take care of 'config', as well as > text and title. > > https://github.com/apache/zeppelin/blob/branch-0.5.6/zeppelin-server/src/main/java/org/apache/zeppelin/socket/NotebookServer.java#L464 > > If ZeppelinServer is running on port 8080 for example websocket URI will > be, ws://localhost:8080/ws. > > Thanks, > moon > > > On Wed, Jun 15, 2016 at 10:00 PM kevin giroux <giroux.kevin...@gmail.com> > wrote: > >> Thank about you response, >> >> But how does it work for setting the configuration ? >> >> I saw on the web page, you are using websocket. What kind of URI this >> websocket call for changing the paragraph config ? >> >> Sincerely, >> >> Le mer. 15 juin 2016 à 22:04, moon soo Lee <m...@apache.org> a écrit : >> >>> Hi, >>> >>> I think 0.5.6 rest api (and current, too) does not take 'config'. >>> >>> Here's how create a paragraph rest api is implemented. >>> >>> https://github.com/apache/zeppelin/blob/branch-0.5.6/zeppelin-server/src/main/java/org/apache/zeppelin/rest/NotebookRestApi.java#L248 >>> >>> And this is the message format for create a paragraph rest api. >>> >>> https://github.com/apache/zeppelin/blob/branch-0.5.6/zeppelin-server/src/main/java/org/apache/zeppelin/rest/message/NewParagraphRequest.java >>> >>> Hope this helps >>> >>> Thanks, >>> moon >>> >>> >>> On Wed, Jun 15, 2016 at 7:48 AM kevin giroux <giroux.kevin...@gmail.com> >>> wrote: >>> >>>> >>>> >>>> >>>> Hi Zeppelin Dev >>>> >>>> I have a question about all the Rest API you provide in the version >>>> 0.5.6 >>>> >>>> I try to create a paragraph with the Rest api ( >>>> http://zeppelin.apache.org/docs/0.5.6-incubating/rest-api/rest-notebook.html >>>> ) >>>> >>>> But the issues (or not), is, when i try to insert in my paragraph, with >>>> the following object. >>>> >>>> {"title":"Hello >>>> worl","text":"%psql.sql","config":{"graph":{"mode":"pieChart"},"optionOpen":false},"index":0,"id":"20160615-163330_1387735696"} >>>> >>>> my config is not saved ... >>>> >>>> Can you provide to me the full structure that i need to send to set the >>>> configuration in my rest API with you rest API. >>>> >>>> Sincerely in advance, >>>> >>>> >>>>