Skip to main content

corpus_page

Function corpus_page 

Source
pub fn corpus_page(
    name: &str,
    deactivated: Option<&str>,
    sandbox_taken: Option<&str>,
    sandbox_invalid: Option<&str>,
    session: Option<AdminSession>,
    pool: &State<DbPool>,
) -> Result<Template, Status>
Expand description

The corpus screen (HTML twin of api_corpus): the services registered on a corpus. 404 if the corpus is unknown, 503 if the pool is exhausted.