philip-hartmann / typo3fluid-api
API to render TYPO3 Fluid templates or partials.
Installs: 139
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 3
Forks: 2
Open Issues: 0
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^11.5
README
TYPO3 extension that adds an API to render TYPO3 Fluid templates and partials through HTTP/HTTPS requests.
Requirements
The extension only works with an installed and configured TYPO3 instance.
Installation
Install the extension with composer
composer req philip-hartmann/typo3fluid-api
Once installed edit the extension settings to enhance security.
Usage
The API accepts JSON requests and returns the response as JSON as well. The API endpoint can be configured in the extension settings and is available by default under /api/typo3fluid
of your TYPO3 installation.
Request
{ "extension": "", "template": "", "partial": "", "section": "", "arguments": [], "password": "" }
Either use template
or partial
.
Response
{ "data": "", "error": "" }