rest routes for demux manipulation