Function call_plugin

Source
pub async fn call_plugin<J, RR, TR, NR, NFR, SR, TCR, PR>(
    plugin_id: String,
    plugin_call_request: PluginCallRequest,
    state: ThinDataAppState<J, RR, TR, NR, NFR, SR, TCR, PR>,
) -> Result<HttpResponse, ApiError>
Expand description

Call plugin

§Arguments

  • plugin_id - The ID of the plugin to call.
  • plugin_call_request - The plugin call request.
  • state - The application state containing the plugin repository.

§Returns

The result of the plugin call.