An open API service indexing awesome lists of open source software.

https://github.com/koala-framework/kwc-content-api

Content API for Kwc
https://github.com/koala-framework/kwc-content-api

Last synced: about 1 year ago
JSON representation

Content API for Kwc

Awesome Lists containing this project

README

          

# Content API

## Installation
* Add AppBundle to `AppKernel.php`

public function registerBundles()
{
$bundles = array(
...
new Kwc\ContentApiBundle\KwcContentApiBundle()
);
...
}

* Add routing config to `routing.yml`

kwc_content_api:
resource: "@KwcContentApiBundle/Resources/config/routing.yml"
prefix: /

* Add components to be exported to whitelist in `config.yml`

kwc_content_api:
export_components:
- Kwc_Paragraphs_Component
- Kwc_Basic_Headline_Component