feat(api): topics resource

Signed-off-by: A. Prooks <aprooks@live.ru>
test(topic): promise resolve check

Signed-off-by: A. Prooks <aprooks@live.ru>