[api] Wrap search api
[api] Allow posting data. Wrapp messages api.
Merge remote-tracking branch 'origin/master'