extensions/github-authentication/src/githubServer.ts/GitHubServer/getServerUri
class GitHubServer:	private getServerUri(path?: string) {
		const apiUri = this.type === AuthProviderType['github-enterprise']
			? vscode.Uri.parse(vscode.workspace.getConfiguration('github-enterprise').get<string>('uri') || '', true)
			: vscode.Uri.parse('https://api.github.com');

		if (!path) {
			path = '';
		}
		if (this.type === AuthProviderType['github-enterprise']) {
			path = '/api/v3' + path;
		}

		return vscode.Uri.parse(`${apiUri.scheme}://${apiUri.authority}${path}`);
	}