AccountsRestClient class

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

Extends

プロパティ

RESOURCE_AREA_ID

メソッド

createAccount(AccountCreateInfoInternal, boolean)
getAccount(string)
getAccounts(string, string, string)

特定の所有者または特定のメンバーのアカウントの一覧を取得します。 ownerId、memberId のいずれかのパラメーターが必要です。

コンストラクターの詳細

AccountsRestClient(IVssRestClientOptions)

new AccountsRestClient(options: IVssRestClientOptions)

パラメーター

プロパティの詳細

RESOURCE_AREA_ID

static RESOURCE_AREA_ID: "0d55247a-1c47-4462-9b1f-5e2125590ee6" = "0d55247a-1c47-4462-9b1f-5e2125590ee6"

プロパティ値

"0d55247a-1c47-4462-9b1f-5e2125590ee6"

メソッドの詳細

createAccount(AccountCreateInfoInternal, boolean)

function createAccount(info: AccountCreateInfoInternal, usePrecreated?: boolean): Promise<Account>

パラメーター

usePrecreated

boolean

返品

Promise<Account>

getAccount(string)

function getAccount(accountId: string): Promise<Account>

パラメーター

accountId

string

返品

Promise<Account>

getAccounts(string, string, string)

特定の所有者または特定のメンバーのアカウントの一覧を取得します。 ownerId、memberId のいずれかのパラメーターが必要です。

function getAccounts(ownerId?: string, memberId?: string, properties?: string): Promise<Account[]>

パラメーター

ownerId

string

アカウントの所有者の ID。

memberId

string

アカウントのメンバーの ID。

properties

string

返品

Promise<Account[]>