Hi! in my development I created an webservice plugin with this code
public function onBeforeApiRoute(&$router)
{
$router->createCRUDRoutes(
'v1/XXXX/XXXX',
'XXXX',
['component' => 'com_XXXX']
);
}
¿Is it possible to disable all routes except the C (POST) route? because my API endpoint should only receive new data, I'm not interested in listing anything or update from outside the Joomla server.
Thanks!