Rx callbacks for REST api (wip)