Skip to main content

api_document

Function api_document 

Source
pub fn api_document(
    corpus: &str,
    service: &str,
    name: &str,
    pool: &State<DbPool>,
) -> Result<Json<DocumentReportDto>, Status>
Expand description

The per-article forensic report (agent micro-drill-down): a single document’s status for a service plus every worker-log message behind it — “what are the errors of this article?”. <name> is the document’s short name as it appears in reports (e.g. 0801.1234). 404 on an unknown corpus / service / document.