add REST documentation for search module

Invalid array format. I'll fix.