Add api.json

* Prepare template theming
* Added json `api.json` documentation