Teams - Get
特定のチームを取得します。
GET https://dev.azure.com/{organization}/_apis/projects/{projectId}/teams/{teamId}?api-version=7.1
GET https://dev.azure.com/{organization}/_apis/projects/{projectId}/teams/{teamId}?$expandIdentity={$expandIdentity}&api-version=7.1
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
organization
|
path | True |
string |
Azure DevOps 組織の名前。 |
project
|
path | True |
string |
チームを含むチーム プロジェクトの名前または ID (GUID)。 |
team
|
path | True |
string |
チームの名前または ID (GUID)。 |
api-version
|
query | True |
string |
使用する API のバージョン。 このバージョンの API を使用するには、これを '7.1' に設定する必要があります。 |
$expand
|
query |
boolean |
結果 WebApiTeam オブジェクトの ID 情報を展開するかどうかを示す値。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
成功した操作 |
例
要求のサンプル
GET https://dev.azure.com/fabrikam/_apis/projects/eb6e4656-77fc-42a1-9181-4c6d8e9da5d1/teams/564e8204-a90b-4432-883b-d4363c6125ca?api-version=7.1
応答のサンプル
{
"id": "564e8204-a90b-4432-883b-d4363c6125ca",
"name": "Quality assurance",
"url": "https://dev.azure.com/fabrikam/_apis/projects/eb6e4656-77fc-42a1-9181-4c6d8e9da5d1/teams/564e8204-a90b-4432-883b-d4363c6125ca",
"description": "Testing staff",
"identityUrl": "https://vssps.dev.azure.com/fabrikam/_apis/Identities/564e8204-a90b-4432-883b-d4363c6125ca"
}
定義
名前 | 説明 |
---|---|
Identity | |
Identity |
ID 記述子は、ID の種類 (Windows SID、Passport) のラッパーと、SID や PUID などの一意の識別子です。 |
Properties |
このクラスは、キーと値のペアのコレクションとしてプロパティ バッグを表します。
|
Web |
Identity
名前 | 型 | 説明 |
---|---|---|
customDisplayName |
string |
ID のカスタム表示名 (存在する場合)。 このプロパティを空の文字列に設定すると、既存のカスタム表示名がクリアされます。 このプロパティを null に設定しても、既存の永続化された値には影響しません (null 値はネットワーク経由またはデータベースに送信されないため)。 |
descriptor |
ID 記述子は、ID の種類 (Windows SID、Passport) のラッパーと、SID や PUID などの一意の識別子です。 |
|
id |
string (uuid) |
ID 識別子。 ストレージ キー (VSID) とも呼ばれます。 |
isActive |
boolean |
True の 場合、ID は、組織内の任意の Azure Devops グループのメンバーシップを持っています。 |
isContainer |
boolean |
ID がグループの場合は True。 |
masterId |
string (uuid) |
|
memberIds |
string[] (uuid) |
ID のメンバーの ID (グループのみ)。 |
memberOf |
ID 記述子は、ID の種類 (Windows SID、Passport) のラッパーと、SID や PUID などの一意の識別子です。 |
|
members |
ID 記述子は、ID の種類 (Windows SID、Passport) のラッパーと、SID や PUID などの一意の識別子です。 |
|
metaTypeId |
integer (int32) |
|
properties |
このクラスは、キーと値のペアのコレクションとしてプロパティ バッグを表します。
|
|
providerDisplayName |
string |
ソース ID プロバイダーによって指定された ID の表示名。 |
resourceVersion |
integer (int32) |
|
socialDescriptor |
string |
|
subjectDescriptor |
string |
Graph エンティティのサブジェクト記述子。 |
uniqueUserId |
integer (int32) |
IdentityDescriptor
ID 記述子は、ID の種類 (Windows SID、Passport) のラッパーと、SID や PUID などの一意の識別子です。
名前 | 型 | 説明 |
---|---|---|
identifier |
string |
この ID の一意の識別子。256 文字を超えず、永続化されます。 |
identityType |
string |
記述子の種類 (Windows、Passport など)。 |
PropertiesCollection
このクラスは、キーと値のペアのコレクションとしてプロパティ バッグを表します。
DBNull
を除くすべてのプリミティブ型 (TypeCode != TypeCode.Object
を持つ任意の型) の値が受け入れられます。 Byte[]、Int32、Double、DateType、String 型の値は型を保持し、他のプリミティブは文字列として再調整されます。 Byte[] は base64 でエンコードされた文字列として必要です。
名前 | 型 | 説明 |
---|---|---|
count |
integer (int32) |
コレクション内のプロパティの数。 |
item |
object |
|
keys |
string[] |
コレクション内のキーのセット。 |
values |
string[] |
コレクション内の値のセット。 |
WebApiTeam
名前 | 型 | 説明 |
---|---|---|
description |
string |
チームの説明 |
id |
string (uuid) |
チーム (ID) Guid。 Team Foundation ID。 |
identity |
チーム ID。 |
|
identityUrl |
string |
このチームの ID REST API URL |
name |
string |
チーム名 |
projectId |
string (uuid) |
|
projectName |
string |
|
url |
string |
Team REST API Url |