Rest: Add json in request body to scroll, clear scroll, and analyze API

Add documents

Closes #5866