Constructors
constructor
new VsoClient(baseUrl: string, restClient: RestClient): VsoClient Parameters
- baseUrl: string
- restClient: RestClient
Properties
restClient
restClient: RestClient
Methods
_setInitializationPromise
_setInitializationPromise(promise: Promise<any>): void
Protected
autoNegotiateApiVersion
beginGetLocation
Parameters
- area: string
- locationId: string
Protected
getRequestUrl
getRequestUrl( routeTemplate: string, area: string, resource: string, routeValues: any, queryParams?: any,): string Parameters
- routeTemplate: string
- area: string
- resource: string
- routeValues: any
Optional
queryParams: any
Returns string
getVersioningData
getVersioningData( apiVersion: string, area: string, locationId: string, routeValues: any, queryParams?: any,): Promise<ClientVersioningData> Parameters
- apiVersion: string
- area: string
- locationId: string
- routeValues: any
Optional
queryParams: any
resolveUrl
resolveUrl(relativeUrl: string): string
Base class that should be used (derived from) to make requests to VSS REST apis