This docs on this page refers to a PREVIOUS VERSION. For the latest stable release, go to https://docs.bokeh.org/

Archived docs for versions <= 1.0.4 have had to be modified from their original published configuration, and may be missing some features (e.g. source listing)

All users are encourage to update to version 1.1 or later, as soon as they are able.

bokeh.server.urls — Bokeh 1.0.2 documentation

bokeh.server.urls

Define standard endpoints and their associated views for a Bokeh Server application.

These will be added by the BokehTornado application. The Bokeh Tornado application can then be served using Tornado’s built-in HTTPServer.

toplevel_patterns

Top-level routes, independent of any applications. They will be prefixed with any configured prefix.

[
    ( r'/?',           RootHandler   ), # <prefix>/
    ( r'/static/(.*)', StaticHandler ), # <prefix>/static/
]
per_app_patterns

Per-application routes. These be prefixed with the application path, as well as with any configured prefix.

[
    ( r'/?',           DocHandler        ), # <prefix>/<app>/
    ( r'/ws',          WSHandler         ), # <prefix>/<app>/ws
    ( r'/metadata',    MetadataHandler   ), # <prefix>/<app>/metadata
    ( r'/autoload.js', AutoloadJsHandler ), # <prefix>/<app>/autoload.js
]