def delete_project(project_id): return execute_action( 'app.action.admin.delete_project', None, project_id=project_id )
def get_projects(): return execute_action('app.action.admin.get_projects')
def edit_project(project_id, json_data): return execute_action( 'app.action.admin.edit_project', None, project_id=project_id, json_data=json_data )
def get_users(): return execute_action('app.action.admin.get_users')
def create_project(json_data): return execute_action( 'app.action.admin.create_project', None, json_data=json_data )
def grant_user_role(user_id, json_data): return execute_action( 'app.action.admin.grant_user_role', None, user_id=user_id, json_data=json_data )
def disable_user(user_id): return execute_action( 'app.action.admin.disable_user', None, user_id=user_id )
def get_admin(): return execute_action('app.action.admin.get_admin')
def activate_user(user_id): return execute_action('app.action.admin.activate_user', None, user_id=user_id)
def request_analysis(project_id): return execute_action( 'app.action.request_analysis', None, project_id=project_id )
def request_retrieve_data_from_social_networks(project_id): return execute_action( 'app.action.request_retrieve_data_from_social_networks', None, project_id=project_id )
def mark_review_as_spam(project_id, review_id, json_data): return execute_action( 'app.action.admin.mark_review_as_spam', None, project_id=project_id, review_id=review_id, json_data=json_data )
def edit_review_sentiment(project_id, review_id, json_data): return execute_action( 'app.action.admin.edit_review_sentiment', None, project_id=project_id, review_id=review_id, json_data=json_data )
def add_data_source(project_id, json_data): return execute_action( 'app.action.admin.add_data_source', None, project_id=project_id, json_data=json_data )