fixed #6, change rest apis' path to '-'
return empty array when no search criteria provided;change rest unit tests