expose db-status in rest api