add REST documentation for search module