AOEpeople / TYPO3_Restler

restler (PHP REST-Framework) for TYPO3
GNU General Public License v3.0
30 stars 17 forks source link

Using url versioning #30

Closed MassieurHunter closed 6 years ago

MassieurHunter commented 6 years ago

Hi guys, I'd like to know if there's a way to use Url Versioning The api is called on www.example.com/api/v[0-9]/* but the restler class in public/typo3conf/ext/restler/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php search the url version in the first character of the requested path

Typo3 version : 8.7.10 Rester version: 2.0.2 PHP version : 7.1.3

tomasnorre commented 6 years ago

Hi @MassieurHunter

Currently this is unfortunately not possible, but would be cool to have it added. This is something that could be really useful.

MassieurHunter commented 6 years ago

Ok, thanks @tomasnorre for your answer ;)