public function getBackupURL($backupId)
    {
        if ($this->connector->getURL() === null) {
            return 'Cannot find site URL from configuration.';
        }
        $url = $this->connector->getURL().self::VERSION.$this->connector->getSiteID().'/backups/'.$backupId.'/url';
        $params = [];
        $response = $this->connector->connecting($url, $params, 'GET');
        if (isset($response->url)) {
            return $response->url;
        }

        return $response;
    }
public function getBackupURL($backupId)
    {
        if ($this->connector->getURL() === null) {
            return 'Cannot find site URL from configuration.';
        }
        $url = $this->connector->getURL().self::VERSION.$this->connector->getSiteID().'/backups/'.$backupId.'/url';
        $params = [];
        $response = $this->connector->connecting($url, $params, 'GET');
        if (isset($response->url)) {
            return $response->url;
        }

        return $response;
    }
public function getBackupURL ( $ backupId ) { if ( $ this -> connector -> getURL ( ) === null ) { return 'Cannot find site URL from configuration.' ; } $ url = $ this -> connector -> getURL ( ) . self :: VERSION . $ this -> connector -> getSiteID ( ) . '/backups/' . $ backupId . '/url' ; $ params = [ ] ; $ response = $ this -> connector -> connecting ( $ url , $ params , 'GET' ) ; if ( isset ( $ response -> url ) ) { return $ response -> url ; } return $ response ; }
Get backup URL.

@param string $backupId Backup ID.

@return string
Get backup URL .