ProjectAnalysisRestClient class

VSS REST API への要求を行うために使用する (派生する) 基本クラス

Extends

プロパティ

RESOURCE_AREA_ID

コンストラクターの詳細

ProjectAnalysisRestClient(IVssRestClientOptions)

new ProjectAnalysisRestClient(options: IVssRestClientOptions)

パラメーター

プロパティの詳細

RESOURCE_AREA_ID

static RESOURCE_AREA_ID: "7658fa33-b1bf-4580-990f-fac5896773d3" = "7658fa33-b1bf-4580-990f-fac5896773d3"

プロパティ値

"7658fa33-b1bf-4580-990f-fac5896773d3"

メソッドの詳細

getGitRepositoriesActivityMetrics(string, Date, AggregationType, number, number)

指定された条件に一致するリポジトリの git アクティビティ メトリックを取得します。

function getGitRepositoriesActivityMetrics(project: string, fromDate: Date, aggregationType: AggregationType, skip: number, top: number): Promise<RepositoryActivityMetrics[]>

パラメーター

project

string

プロジェクト ID またはプロジェクト名

fromDate

Date

その日付から、トレンドが取得されます。

aggregationType
AggregationType

傾向を集計するバケットサイズ。

skip

number

無視するリポジトリの数。

top

number

アクティビティ・メトリックを取得するリポジトリーの数。

返品

getProjectActivityMetrics(string, Date, AggregationType)

function getProjectActivityMetrics(project: string, fromDate: Date, aggregationType: AggregationType): Promise<ProjectActivityMetrics>

パラメーター

project

string

プロジェクト ID またはプロジェクト名

fromDate

Date

aggregationType
AggregationType

返品

getProjectLanguageAnalytics(string)

function getProjectLanguageAnalytics(project: string): Promise<ProjectLanguageAnalytics>

パラメーター

project

string

プロジェクト ID またはプロジェクト名

返品

getRepositoryActivityMetrics(string, string, Date, AggregationType)

function getRepositoryActivityMetrics(project: string, repositoryId: string, fromDate: Date, aggregationType: AggregationType): Promise<RepositoryActivityMetrics>

パラメーター

project

string

プロジェクト ID またはプロジェクト名

repositoryId

string

fromDate

Date

aggregationType
AggregationType

返品