Admin Appearance: Sections
Preview a theme with staged edits applied
Changed onThe sections a channel would draw if the staged edits were published: draft options replace published ones, draft status and order are applied, sections switched off are left out, and footer links stay last.
get/appearance/themes/{code}/sections/preview
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
codestring required
Example:default
Theme code
Query parameters
channelinteger
Example:1
Channel ID (defaults to the current channel)
localestring
Example:en
Locale the options are read in
Response
The drafted sections.
Changes
- info
endpoint added
- info