add REST documentation for search module

The same is true for the `scope`