# \PluginsApi

All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**disable_format_handler**](PluginsApi.md#disable_format_handler) | **POST** /api/v1/formats/{format_key}/disable | Disable a format handler (T042)
[**disable_plugin**](PluginsApi.md#disable_plugin) | **POST** /api/v1/plugins/{id}/disable | Disable plugin
[**enable_format_handler**](PluginsApi.md#enable_format_handler) | **POST** /api/v1/formats/{format_key}/enable | Enable a format handler (T041)
[**enable_plugin**](PluginsApi.md#enable_plugin) | **POST** /api/v1/plugins/{id}/enable | Enable plugin
[**get_format_handler**](PluginsApi.md#get_format_handler) | **GET** /api/v1/formats/{format_key} | Get a format handler by key (T040)
[**get_plugin**](PluginsApi.md#get_plugin) | **GET** /api/v1/plugins/{id} | Get plugin details
[**get_plugin_config**](PluginsApi.md#get_plugin_config) | **GET** /api/v1/plugins/{id}/config | Get plugin configuration
[**get_plugin_events**](PluginsApi.md#get_plugin_events) | **GET** /api/v1/plugins/{id}/events | Get plugin events (T026)
[**install_from_git**](PluginsApi.md#install_from_git) | **POST** /api/v1/plugins/install/git | Install a plugin from a Git repository (T021)
[**install_from_local**](PluginsApi.md#install_from_local) | **POST** /api/v1/plugins/install/local | Install a plugin from local filesystem path (T063) This endpoint is intended for development use only.
[**install_from_zip**](PluginsApi.md#install_from_zip) | **POST** /api/v1/plugins/install/zip | Install a plugin from a ZIP file (T034)
[**install_plugin**](PluginsApi.md#install_plugin) | **POST** /api/v1/plugins | Install plugin from uploaded package
[**list_format_handlers**](PluginsApi.md#list_format_handlers) | **GET** /api/v1/formats | List all format handlers (T039)
[**list_plugins**](PluginsApi.md#list_plugins) | **GET** /api/v1/plugins | List installed plugins
[**reload_plugin**](PluginsApi.md#reload_plugin) | **POST** /api/v1/plugins/{id}/reload | Reload a plugin (hot-reload) (T048)
[**test_format_handler**](PluginsApi.md#test_format_handler) | **POST** /api/v1/formats/{format_key}/test | Test a format handler with sample content (T062)
[**uninstall_plugin**](PluginsApi.md#uninstall_plugin) | **DELETE** /api/v1/plugins/{id} | Uninstall plugin
[**update_plugin_config**](PluginsApi.md#update_plugin_config) | **POST** /api/v1/plugins/{id}/config | Update plugin configuration



## disable_format_handler

> models::FormatHandlerResponse disable_format_handler(format_key)
Disable a format handler (T042)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**format_key** | **String** | Format handler key | [required] |

### Return type

[**models::FormatHandlerResponse**](FormatHandlerResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## disable_plugin

> disable_plugin(id)
Disable plugin

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Plugin ID | [required] |

### Return type

 (empty response body)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## enable_format_handler

> models::FormatHandlerResponse enable_format_handler(format_key)
Enable a format handler (T041)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**format_key** | **String** | Format handler key | [required] |

### Return type

[**models::FormatHandlerResponse**](FormatHandlerResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## enable_plugin

> enable_plugin(id)
Enable plugin

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Plugin ID | [required] |

### Return type

 (empty response body)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_format_handler

> models::FormatHandlerResponse get_format_handler(format_key)
Get a format handler by key (T040)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**format_key** | **String** | Format handler key | [required] |

### Return type

[**models::FormatHandlerResponse**](FormatHandlerResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_plugin

> models::PluginResponse get_plugin(id)
Get plugin details

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Plugin ID | [required] |

### Return type

[**models::PluginResponse**](PluginResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_plugin_config

> models::PluginConfigResponse get_plugin_config(id)
Get plugin configuration

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Plugin ID | [required] |

### Return type

[**models::PluginConfigResponse**](PluginConfigResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_plugin_events

> Vec<serde_json::Value> get_plugin_events(id, limit)
Get plugin events (T026)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Plugin ID | [required] |
**limit** | Option<**i64**> |  |  |

### Return type

[**Vec<serde_json::Value>**](serde_json::Value.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## install_from_git

> models::PluginInstallResponse install_from_git(install_from_git_request)
Install a plugin from a Git repository (T021)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**install_from_git_request** | [**InstallFromGitRequest**](InstallFromGitRequest.md) |  | [required] |

### Return type

[**models::PluginInstallResponse**](PluginInstallResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## install_from_local

> models::PluginInstallResponse install_from_local(install_from_local_request)
Install a plugin from local filesystem path (T063) This endpoint is intended for development use only.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**install_from_local_request** | [**InstallFromLocalRequest**](InstallFromLocalRequest.md) |  | [required] |

### Return type

[**models::PluginInstallResponse**](PluginInstallResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## install_from_zip

> models::PluginInstallResponse install_from_zip()
Install a plugin from a ZIP file (T034)

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::PluginInstallResponse**](PluginInstallResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: multipart/form-data
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## install_plugin

> models::PluginResponse install_plugin()
Install plugin from uploaded package

### Parameters

This endpoint does not need any parameter.

### Return type

[**models::PluginResponse**](PluginResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: multipart/form-data
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_format_handlers

> Vec<models::FormatHandlerResponse> list_format_handlers(r#type, enabled)
List all format handlers (T039)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**r#type** | Option<**String**> |  |  |
**enabled** | Option<**bool**> |  |  |

### Return type

[**Vec<models::FormatHandlerResponse>**](FormatHandlerResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## list_plugins

> models::PluginListResponse list_plugins(status, r#type)
List installed plugins

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**status** | Option<**String**> |  |  |
**r#type** | Option<**String**> |  |  |

### Return type

[**models::PluginListResponse**](PluginListResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## reload_plugin

> models::WasmPluginResponse reload_plugin(id)
Reload a plugin (hot-reload) (T048)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Plugin ID | [required] |

### Return type

[**models::WasmPluginResponse**](WasmPluginResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## test_format_handler

> models::TestFormatResponse test_format_handler(format_key, test_format_request)
Test a format handler with sample content (T062)

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**format_key** | **String** | Format handler key | [required] |
**test_format_request** | [**TestFormatRequest**](TestFormatRequest.md) |  | [required] |

### Return type

[**models::TestFormatResponse**](TestFormatResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## uninstall_plugin

> uninstall_plugin(id)
Uninstall plugin

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Plugin ID | [required] |

### Return type

 (empty response body)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## update_plugin_config

> models::PluginConfigResponse update_plugin_config(id, update_plugin_config_request)
Update plugin configuration

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**id** | **uuid::Uuid** | Plugin ID | [required] |
**update_plugin_config_request** | [**UpdatePluginConfigRequest**](UpdatePluginConfigRequest.md) |  | [required] |

### Return type

[**models::PluginConfigResponse**](PluginConfigResponse.md)

### Authorization

[bearer_auth](../README.md#bearer_auth)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

