Updated apiSearch method.
Merge branch 'sr-embed-widget'