pages

pages

This endpoint allows the client to create a new page.

post/api/pages

Request body

titlestring

Title of the page

slugstring

Used to link to this page in URLs, must be unique and URL-safe

descriptionstring

For internal use, helps similar pages from one another

body_markdownstring

The text (in markdown) of the ad (required)

body_jsonstring

For JSON pages, the JSON body

is_top_level_pathboolean

If true, the page is available at '/{slug}' instead of '/page/{slug}', use with caution

template'contained' | 'full_within_layout' | 'nav_bar_included' | 'json' | 'css' | 'txt'

Controls what kind of layout the page is rendered in

Response

successful

Changes