Skip to main content

Module utils

Module utils 

Source
Expand description

Utility functions for plugin API

Functionsยง

create_api_call
Create a standard API call
create_api_call_with_context
Create an API call with context
create_error_response
Create an error API response
create_success_response
Create a successful API response
extract_plugin_type
Extract plugin type from API call context
is_valid_method_name
Validate API method name