Teams - Get
Get a specific team.
GET https://dev.azure.com/{organization}/_apis/projects/{projectId}/teams/{teamId}?api-version=7.1-preview.3
GET https://dev.azure.com/{organization}/_apis/projects/{projectId}/teams/{teamId}?$expandIdentity={$expandIdentity}&api-version=7.1-preview.3
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
organization
|
path | True |
string |
The name of the Azure DevOps organization. |
project
|
path | True |
string |
The name or ID (GUID) of the team project containing the team. |
team
|
path | True |
string |
The name or ID (GUID) of the team. |
api-version
|
query | True |
string |
Version of the API to use. This should be set to '7.1-preview.3' to use this version of the api. |
$expand
|
query |
boolean |
A value indicating whether or not to expand Identity information in the result WebApiTeam object. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
successful operation |
Examples
Sample Request
GET https://dev.azure.com/fabrikam/_apis/projects/eb6e4656-77fc-42a1-9181-4c6d8e9da5d1/teams/564e8204-a90b-4432-883b-d4363c6125ca?api-version=7.1-preview.3
Sample Response
{
"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"
}
Definitions
Name | Description |
---|---|
Identity | |
Identity |
An Identity descriptor is a wrapper for the identity type (Windows SID, Passport) along with a unique identifier such as the SID or PUID. |
Properties |
The class represents a property bag as a collection of key-value pairs. Values of all primitive types (any type with a |
Web |
Identity
Name | Type | Description |
---|---|---|
customDisplayName |
string |
The custom display name for the identity (if any). Setting this property to an empty string will clear the existing custom display name. Setting this property to null will not affect the existing persisted value (since null values do not get sent over the wire or to the database) |
descriptor |
An Identity descriptor is a wrapper for the identity type (Windows SID, Passport) along with a unique identifier such as the SID or PUID. |
|
id |
string |
Identity Identifier. Also called Storage Key, or VSID |
isActive |
boolean |
True if the identity has a membership in any Azure Devops group in the organization. |
isContainer |
boolean |
True if the identity is a group. |
masterId |
string |
|
memberIds |
string[] |
Id of the members of the identity (groups only). |
memberOf |
An Identity descriptor is a wrapper for the identity type (Windows SID, Passport) along with a unique identifier such as the SID or PUID. |
|
members |
An Identity descriptor is a wrapper for the identity type (Windows SID, Passport) along with a unique identifier such as the SID or PUID. |
|
metaTypeId |
integer |
|
properties |
The class represents a property bag as a collection of key-value pairs. Values of all primitive types (any type with a |
|
providerDisplayName |
string |
The display name for the identity as specified by the source identity provider. |
resourceVersion |
integer |
|
socialDescriptor |
string |
|
subjectDescriptor |
string |
Subject descriptor of a Graph entity. |
uniqueUserId |
integer |
IdentityDescriptor
An Identity descriptor is a wrapper for the identity type (Windows SID, Passport) along with a unique identifier such as the SID or PUID.
Name | Type | Description |
---|---|---|
identifier |
string |
The unique identifier for this identity, not exceeding 256 chars, which will be persisted. |
identityType |
string |
Type of descriptor (for example, Windows, Passport, etc.). |
PropertiesCollection
The class represents a property bag as a collection of key-value pairs. Values of all primitive types (any type with a TypeCode != TypeCode.Object
) except for DBNull
are accepted. Values of type Byte[], Int32, Double, DateType and String preserve their type, other primitives are retuned as a String. Byte[] expected as base64 encoded string.
Name | Type | Description |
---|---|---|
count |
integer |
The count of properties in the collection. |
item |
object |
|
keys |
string[] |
The set of keys in the collection. |
values |
string[] |
The set of values in the collection. |
WebApiTeam
Name | Type | Description |
---|---|---|
description |
string |
Team description |
id |
string |
Team (Identity) Guid. A Team Foundation ID. |
identity |
Team identity. |
|
identityUrl |
string |
Identity REST API Url to this team |
name |
string |
Team name |
projectId |
string |
|
projectName |
string |
|
url |
string |
Team REST API Url |
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: