Set content type to "json" by default

Hi there,

I wanted to deliver a lot of my content in json - so I just asked myself if there is a possibility to set the content type of a page (blueprint) to “JSON” by default. The current way I know is to go to the “advanced” tab of the page and set the “Append URL extension” to “.json” by hand.

Regards,
Michael

I guess it can be achieved by editing the system.yaml file

append_url_extension: Append page’s extension in Page URLs (e.g. .html results in /path/page.html )

append_url_extension: '.json'