philip-hartmann/typo3fluid-api
最新稳定版本:0.2.2
Composer 安装命令:
composer require philip-hartmann/typo3fluid-api
包简介
API to render TYPO3 Fluid templates or partials.
关键字:
README 文档
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": ""
}
| field | description |
|---|---|
extension |
snake case formatted extension name |
template |
relative template path name within a template root path, e.g. Pages/Default |
partial |
relative partial path name within a partial root path, e.g. Atomics/Button |
section |
(optional) partial section name |
arguments |
(optional) arguments that will be made available for the template or partial |
password |
password which is set in the extension settings |
Either use template or partial.
Response
{
"data": "",
"error": ""
}
| field | description |
|---|---|
data |
rendered fluid template html code |
error |
error message if available |
统计信息
- 总下载量: 147
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2022-10-03