Skip to main content

api_run_current

Function api_run_current 

Source
pub fn api_run_current(
    corpus: &str,
    service: &str,
    pool: &State<DbPool>,
) -> Result<Json<Option<RunDto>>, Status>
Expand description

Returns the currently open run of a (corpus, service), or null if none is in progress. 404 if the corpus or service is unknown.