philip-hartmann/typo3fluid-api

API to render TYPO3 Fluid templates or partials.

Installs: 133

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 2

Open Issues: 0

Type:typo3-cms-extension

0.2.2 2024-03-18 21:33 UTC

This package is auto-updated.

Last update: 2024-07-18 22:14:09 UTC


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": ""
}