Get variables via REST api when there is no event.