Your browser was unable to load all of the resources. They may
have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.
Is there a way to get build variables via rest API?
There is no separate api to get build variables. You will need to get the full build object xml, and parse out the variables. For details to interact with build object: