Installation Guide
Describes how to manage the extension from a developer’s point of view.
Target group: Developers
Installation
- Install the extension from TER (sources are available on our GitHub repository.
- Configure this TYPO3-Extension (in TYPO3 Extension-Manager; e.g. enable the online documentation of your REST-API). See the "Screenshots" section as well.
- (Optional, but recommended) Install the TYPO3 Extension "TYPO3 Restler Examples".
- Make the .htaccess changes described below:
The ".htaccess" file needs to be changed in order to make the REST API available.
# Allow access to example.com/api for normal REST calls
RewriteRule ^api/(.*)$ typo3conf/ext/restler/Scripts/restler_dispatch.php [NC,QSA,L]
# Allow access to example.com/api_explorer for the online documentation of your API.
# You may want to restrict access to this URL.
RewriteRule ^api_explorer/(.*)$ typo3conf/ext/restler/Scripts/restler_dispatch.php [NC,QSA,L]
Copied!
When this is done, than you can call the online documentation of your REST API via this URL:
You also can call your REST API via this URL: