pub async fn handle_unload_lib(
req: HttpRequest,
body: String,
state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>Expand description
POST /api/unloadLib — unload a library by name.
Request grid must have a name (Str) column.
Returns a single-row grid with unloaded (the library name).