Skip to main content

handle_export_lib

Function handle_export_lib 

Source
pub async fn handle_export_lib(
    req: HttpRequest,
    body: String,
    state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>
Expand description

POST /api/exportLib — export a library to Xeto source text.

Request grid must have a name (Str) column. Returns a single-row grid with name and source (Xeto text).