issue #19444: added route to export
issue #19444: ported over export route