Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JEP 0028] Add namespacing to static endpoints and REST API urls. #34

Closed
Zsailer opened this issue Feb 28, 2019 · 1 comment
Closed

Comments

@Zsailer
Copy link
Member

Zsailer commented Feb 28, 2019

From JEP 0028 (Jupyter Server):

Add namespacing to static endpoints and REST API urls.

Currently, the notebook tornado application serves all static files underneath the /static/ prefix. Jupyter server will add namespacing under the static url and extension REST API urls. Each extension will serve their static files under the /static/<extension-name> prefix and their API handlers behind a /extension/api/<extension-name> prefix.

For example, the classic notebook server extension will add static handlers that reroute requests to the /static/notebook/ endpoints.

A new ExtensionHandler class will be available in jupyter_server.extensions.handlers. This class inherits JupyterHandler. It handles the boilerplate code to reroute requests extension's namespaced static and REST API endpoints.

Preliminary experimental work resides in the jupyter_server_extension repository.

Opening for further discussion.

@Zsailer Zsailer changed the title [JEP 10] [JEP 10] Add namespacing to static endpoints and REST API urls. Feb 28, 2019
@Zsailer Zsailer changed the title [JEP 10] Add namespacing to static endpoints and REST API urls. [JEP 0028] Add namespacing to static endpoints and REST API urls. Mar 1, 2019
@Zsailer
Copy link
Member Author

Zsailer commented Oct 31, 2023

Closing, since this was added in Jupyter Server >= 1.x

@Zsailer Zsailer closed this as completed Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant