/api/search -> /api/action?action=search