How do I get a list of document collections in a given TFS web extension?
问题 I'm trying to get a list of documents from my on premises TFS 2017 (U3) web extension using Microsoft/vsts-node-api. I can get the extension itself with something like the following import * as v from 'vso-node-api'; import * as xa from 'vso-node-api/ExtensionManagementApi'; import * as xi from 'vso-node-api/interfaces/ExtensionManagementInterfaces'; let serverUrl = process.argv[2]; let extensionId = process.argv[3]; async function getWebApi(serverUrl): Promise<vm.WebApi> { return new Promise