Skip to main content

export_dataset_page

Function export_dataset_page 

Source
pub fn export_dataset_page(
    corpus: &str,
    service: &str,
    session: Option<AdminSession>,
    return_to: ReturnTo,
) -> Result<Template, AdminReject>
Expand description

The “Export dataset” screen (GET /export/<c>/<s>): the human form that drives the same export as cortex export-dataset and the agent export_dataset. Signed-in admins only (anonymous → sign-in). Pre-fills a default output path + the CLI’s default severity set. A sibling top-level path (like /runs/<c>/<s>, /history/<c>/<s>) so it never collides with the report ladder’s /corpus/<c>/<s>/<severity> rung.