Skip to main content

serve_savetasks

Function serve_savetasks 

Source
pub fn serve_savetasks(
    connection: &mut PgConnection,
    corpus_name: String,
    service_name: String,
) -> Result<Accepted<String>, Status>
Expand description

Save the historical tasks of a corpus run, for reference, for a <corpus,service> pair. Auth is the signed-in crate::frontend::actor::AdminSession cookie (gated at the route). 404 on an unknown corpus/service.