Skip to main content

install_plugin

Function install_plugin 

Source
pub async fn install_plugin(
    state: Data<AppState>,
    body: Json<InstallPluginRequest>,
) -> impl Responder
Expand description

POST /api/v1/plugins/install — always InstallDisposition::FailIfInstalled (surfaces PluginError::AlreadyInstalled as 409 if the id is already registered; retry via POST /{id}/update instead).