sites

Create a new page

Adds a route under the site. slug must not be empty (use _ in pagePath only when addressing the existing home page on other routes). Defaults to a single text block if blocks is omitted.

post/api/v1/sites/{subdomain}/pages

Request

  • Base URL: https://slatehut.com
  • URL: https://slatehut.com/api/v1/sites/{subdomain}/pages
  • Auth: HTTP bearer

Request body

slugstring required

New page path (not empty; not the home page)

titlestring

Response

Created page

Changes

No recorded changes to this operation across all 1 revision of this API.