On 4 April 2017 at 14:18, Thierry Parmentelat <[email protected]
> wrote:

> it was probably misleading that I mentioned jupyterhub, as I only wanted
> to give a sense of what we’re doing
> so, to clarify, our deployment is jupyterhub-free, it’s our application
> that spawns and manages all the jupyter (container) instances, and I could
> easily probe each of them
> it’s just that I don’t know the api call that I need to issue in order to
> get that info
>

If you have the IP address of the notebook server and the security token,
you can find the kernels it has started by making an HTTP GET request to
/api/kernels

API docs:
https://github.com/jupyter/jupyter/wiki/Jupyter-Notebook-Server-API#kernel-api
Docs about token security:
http://jupyter-notebook.readthedocs.io/en/latest/security.html

If you don't have the token already, the Python function
notebook.notebookapp.list_running_servers() should give you all the
information you need.


> is ‘admin-access’ a setting that applies to jupyterhub or to jupyter ?


Admin access is a Jupyterhub thing. Access to a single Jupyter notebook
server is all or nothing.

Thomas

-- 
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/CAOvn4qjzRFbTrvZR25yQEsNe3WZi01SqSHEuNZBurwYFVh_Q2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to