[api] new provider api

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com>