GeekInTheNorth / Stott.Security.Optimizely

A CMS Administration interface for managing security headers for Optimizely CMS Traditional and Hybrid builds.
MIT License
4 stars 1 forks source link

Add a Headers preview screen & API End point #160

Closed GeekInTheNorth closed 10 months ago

GeekInTheNorth commented 10 months ago

For headless builds, the defined headers will need to be accessed via API as part of a NextJS static site build (for example).

An API which provides this data could also be consumed for a new preview tab.

Suggested APIS:

/compiled/list/?pageId={pageId} /compiled/{header}/?pageId={pageId}

GeekInTheNorth commented 10 months ago

Actual APIs created: