Add a small rest endpoint to allow segmentation of scan.
update number of segments
list number of points