<?php
// API Routes - Version 1
$router->add('/api/v1/migrants', 'Api\\V1\\ApiController', 'index', 'GET');
$router->add('/api/v1/migrants/{id}', 'Api\\V1\\ApiController', 'show', 'GET');
$router->add('/api/v1/migrants', 'Api\\V1\\ApiController', 'store', 'POST');
$router->add('/api/v1/migrants/{id}', 'Api\\V1\\ApiController', 'update', 'PUT');
$router->add('/api/v1/migrants/{id}', 'Api\\V1\\ApiController', 'delete', 'DELETE');
$router->add('/api/v1/migrants/search', 'Api\\V1\\ApiController', 'search', 'GET');
$router->add('/api/v1/stats', 'Api\\V1\\ApiController', 'statistics', 'GET');