/document
pub(crate) async fn endpoint( document_id: Uuid, version: Option<Uuid>, ) -> WithErrorResponses<Responses>