To save the notebook programmatically, you need to call
Jupyter.notebook.save_notebook(). Since the notebook document lives
entirely in the browser, its contents must be sent as part of the request
in order to save them.

-Min
​

On Sat, Aug 26, 2017 at 3:29 PM, Young Park <[email protected]> wrote:

> Hi,
>
> I have been looking into the Jupyter Notebook server APIs to
> programmatically trigger saves through making calls to the Jupyter Notebook
> server APIs, but to no avail.
> I tried using the /api/contents/<path>/<file>/checkpoints API and
> although it did create checkpoints, it did not contain the changes that I
> had made on the open notebook.
> Is there a way to trigger a save, the same way clicking on the save button
> from inside an open notebook handles saving unsaved changes?
>
> Thanks!
> Young
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/cf34560f-5ae2-45c7-a878-ab7a964f1971%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/cf34560f-5ae2-45c7-a878-ab7a964f1971%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAHNn8BXRg0fZ6WpwZ1rrNfdGoCMEjZNqEPB365dt6YM5VfMsdw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to