pub async fn head_snapshot_binary( state: AppState, ref_id: Uuid, ) -> Result<String, AppError>
Gets the binary automerge data for a document ref.