utils/version.js
function version() {
  const url    = `${config.api_url}/status`;
  const method = 'GET';
  const headers = default_headers();

  const options = Object.assign({}, headers, {url, method});
  return request(options);
}
function version() {
  const url    = `${config.api_url}/status`;
  const method = 'GET';
  const headers = default_headers();

  const options = Object.assign({}, headers, {url, method});
  return request(options);
}
function version ( ) { const url = ` ${ config . api_url } ` ; const method = 'GET' ; const headers = default_headers ( ) ; const options = Object . assign ( { } , headers , { url , method } ) ; return request ( options ) ; }
Get the actual version of tago api
@return {Object}
Get the actual version of tago api