Hello Everyone,

I'm currently working on a script that should check the status of all 
notebooks (initiated by different users) inside JupyterHub. I'm trying to 
achieve this by making REST API calls to the server. At the start the 
script creates a token for the admin user, adds to the jupyterhub_config.py 
and makes a REST call to get the list of users.

API command fetch the list of users : *curl -XGET -s -k 
https://localhost:9443/hub/api/users -H "Authorization: token $apitoken " | 
jq .*

Now I'm trying to fetch the notebook details that are initiated by each 
user.I don't know REST command to use to get these details. I found that  
jupyter has REST commands defined in -  
https://github.com/jupyter/jupyter/wiki/Jupyter-Notebook-Server-API.

Could any please help me with the REST commands to get the individual 
notebook details, It would be very helpful ?

Thanks,
Praveen.

-- 
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/fb17d5d1-7a5a-48ff-81ac-70dfbc285aef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to