Minor update to clarify hub token auth

This commit is contained in:
Peter Parente
2017-04-04 22:33:57 -04:00
parent 2d1a45f019
commit 1631a6eab0

View File

@@ -57,6 +57,9 @@ r.raise_for_status()
users = r.json()
```
Note that the token authorizes JupyterHub REST API request. The same token
does **not** authorize access to the [Jupyter Notebook REST API][] provided
by notebook servers managed by JupyterHub.
## Learning more about the API
@@ -68,3 +71,4 @@ Note: The Swagger specification is being renamed the [OpenAPI Initiative][].
[on swagger's petstore]: http://petstore.swagger.io/?url=https://raw.githubusercontent.com/jupyterhub/jupyterhub/master/docs/rest-api.yml#!/default
[OpenAPI Initiative]: https://www.openapis.org/
[JupyterHub REST API]: ./_static/rest-api/index.html
[Jupyter Notebook REST API]: http://petstore.swagger.io/?url=https://raw.githubusercontent.com/jupyter/notebook/master/notebook/services/api/api.yaml