Skip to main content
The Pages capability manages the Pages table — the status-code-to-path mapping the Kernel uses to redirect browser requests, described in Pages. All endpoints on this page require the Pages capability to be enabled; see Management API for how capabilities work.

List pages

Returns every configured status-code-to-path mapping, sorted by status.

Set a page

{status} must be an HTTP status code from 100 to 599. path must be a local absolute path — it must start with / and must not start with //, which the Kernel rejects because it would be interpreted as a protocol-relative URL rather than a local path. This call sets the mapping whether or not {status} was previously configured.

Delete a page

Removes the mapping for {status}. Requests that would have redirected using it fall back to the normal, non-redirected response described in Pages.