Routes

This page lists non-technical the web routes exposed by the Stellar server.

General

RouteParametersDescription
/noneHome page.
/homenoneHome page alias.
/searchnoneSearch page for snippets, pages, courses, and universes.
/404noneNot found page.

Snippets

RouteParametersDescription
/snippet/:snippetsnippet: snippet IDShows a single snippet, its metadata, references, and rendered content.
/snippet/:snippet?<params>snippet: snippet ID, <params>: raw snippet parametersShows a snippet with URL-provided parameters applied to the rendered snippet.
/reftree/:idid: snippet IDShows the reference dependency graph for a snippet.

Pages

RouteParametersDescription
/page/:pagepage: page IDShows a single page.

Courses

RouteParametersDescription
/course/:coursecourse: course IDOpens a course and redirects to the first non-empty page.
/course/:course/:pagecourse: course ID, page: page IDOpens a course directly at a specific page.
/edit-course/:coursecourse: course IDOpens the course editor. If the course JSON does not exist, it starts from an empty course that can be exported.

Universes

RouteParametersDescription
/universe/:universeuniverse: universe IDShows a universe graph.
/edit-universe/:universeuniverse: universe IDOpens the universe editor. If the universe JSON does not exist, it starts from an empty universe that can be exported.