ProjectAnalysisRestClient class

VSS REST api에 대한 요청을 만드는 데 사용해야 하는 기본 클래스(파생)입니다.

Extends

생성자 세부 정보

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

반품