ContributionsRestClient class
VSS REST api'lerine istekte bulunmak için kullanılması gereken (türetilen) temel sınıf
- Extends
Oluşturucular
| Contributions |
Özellikler
| RESOURCE_AREA_ID |
Yöntemler
| get |
|
| get |
|
| query |
Geçirilen sorgu nesnesindeki parametrelere göre katkı düğümlerini ve sağlayıcı ayrıntılarını sorgular. |
| query |
Oluşturucu Ayrıntıları
ContributionsRestClient(IVssRestClientOptions)
new ContributionsRestClient(options: IVssRestClientOptions)
Parametreler
- options
- IVssRestClientOptions
Özellik Ayrıntıları
RESOURCE_AREA_ID
static RESOURCE_AREA_ID: string
Özellik Değeri
string
Yöntem Ayrıntıları
getInstalledExtensionByName(string, string, string[])
function getInstalledExtensionByName(publisherName: string, extensionName: string, assetTypes?: string[]): Promise<InstalledExtension>
Parametreler
- publisherName
-
string
- extensionName
-
string
- assetTypes
-
string[]
Döndürülenler
Promise<InstalledExtension>
getInstalledExtensions(string[], boolean, string[])
function getInstalledExtensions(contributionIds?: string[], includeDisabledApps?: boolean, assetTypes?: string[]): Promise<InstalledExtension[]>
Parametreler
- contributionIds
-
string[]
- includeDisabledApps
-
boolean
- assetTypes
-
string[]
Döndürülenler
Promise<InstalledExtension[]>
queryContributionNodes(ContributionNodeQuery)
Geçirilen sorgu nesnesindeki parametrelere göre katkı düğümlerini ve sağlayıcı ayrıntılarını sorgular.
function queryContributionNodes(query: ContributionNodeQuery): Promise<ContributionNodeQueryResult>
Parametreler
- query
- ContributionNodeQuery
Döndürülenler
Promise<ContributionNodeQueryResult>
queryDataProviders(DataProviderQuery, string, string)
function queryDataProviders(query: DataProviderQuery, scopeName?: string, scopeValue?: string): Promise<DataProviderResult>
Parametreler
- query
- DataProviderQuery
- scopeName
-
string
- scopeValue
-
string
Döndürülenler
Promise<DataProviderResult>