Custom API V8

Hello,

I’m trying to custom my Api with adding new routes, but it not working with :

  • In Manifest.php :

copy =>
array(
‘from’ => ‘/custom/application/Ext/Api/’,
‘to’ => ‘custom/application/Ext/Api/’,
),

  • custom/application/Ext/Api/V8/Config/routes.php

$app
->get(’/myroute}/{id}’, ‘API\V8\Controller\myController:myFunction’)
->add($paramsMiddlewareFactory->bind(StandardParams::class));

thanks

https://suitecrm.com/suitecrm/forum/suitecrm-7-0-discussion/21906-api-v8-custom-endpoint