API Configuration - maxgrafik/violetCMS GitHub Wiki

Data structure

{
    Website: {
        Title: <string>,
        Description: <string>,
        Keywords: <string>,
        Meta: [
            {name: <string>, content: <string>},
            ...
        ]
    },
    Routes: {
    	Domain: <hostname>,
        Home: <url>,
        HideInURL: <boolean>,
        Redirect404: <url>
    },
    Theme: <string>,
    Maintainance: <boolean>,
    Markdown: {
        AutoLineBreak: <boolean>,
        AutoURLLinks: <boolean>,
        EscapeHTML: <boolean>
    }
}

Note: The Maintainance field is currently not used, yet.

GET

q=config

POST

q=config You provide the exact same structure as described above as message body.

⚠️ **GitHub.com Fallback** ⚠️