Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release.
Tornado handlers for the contents web service.
Bases: IPython.html.base.handlers.IPythonHandler
delete a file in the given path
Return a model for a file or directory.
A directory model contains a list of models (without content) of the files and directories it contains.
Return the full URL location of a file.
| Parameters: | name : unicode
path : unicode
|
|---|
PATCH renames a notebook without re-uploading content.
Create a new file or directory in the specified path.
POST creates new files or directories. The server always decides on the name.
Saves the file in the location specified by name and path.
PUT is very similar to POST, but the requester specifies the name, whereas with POST, the server picks the name.
with JSON body:
{
"copy_from" : "[path/to/]OtherNotebook.ipynb"
}
Copy OtherNotebook to Name
Bases: IPython.html.base.handlers.IPythonHandler
get lists checkpoints for a file
post creates a new checkpoint
Bases: IPython.html.base.handlers.IPythonHandler
delete clears a checkpoint for a given file
post restores a file from a checkpoint
Bases: IPython.html.base.handlers.IPythonHandler
Redirect /api/notebooks to /api/contents