Share via


Work Item Type Categories - Get

이름별로 특정 작업 항목 유형 범주를 가져옵니다.

GET https://dev.azure.com/{organization}/{project}/_apis/wit/workitemtypecategories/{category}?api-version=7.1-preview.2

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
category
path True

string

범주 이름

organization
path True

string

Azure DevOps 조직의 이름입니다.

project
path True

string

프로젝트 ID 또는 프로젝트 이름

api-version
query True

string

사용할 API의 버전입니다. 이 버전의 api를 사용하려면 '7.1-preview.2'로 설정해야 합니다.

응답

Name 형식 Description
200 OK

WorkItemTypeCategory

성공한 작업

보안

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

Name Description
vso.work 작업 항목, 쿼리, 보드, 영역 및 반복 경로 및 기타 작업 항목 추적 관련 메타데이터를 읽을 수 있는 기능을 부여합니다. 또한 쿼리를 실행하고, 작업 항목을 검색하고, 서비스 후크를 통해 작업 항목 이벤트에 대한 알림을 받을 수 있는 기능을 부여합니다.

예제

Get category by name

Sample Request

GET https://dev.azure.com/fabrikam/Fabrikam-Fiber-Git/_apis/wit/workitemtypecategories/{category}?api-version=7.1-preview.2

Sample Response

{
  "name": "Requirement Category",
  "referenceName": "Microsoft.RequirementCategory",
  "defaultWorkItemType": {
    "name": "Product Backlog Item",
    "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItemTypes/Product%20Backlog%20Item"
  },
  "workItemTypes": [
    {
      "name": "Product Backlog Item",
      "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItemTypes/Product%20Backlog%20Item"
    }
  ],
  "url": "https://dev.azure.com/fabrikam/6ce954b1-ce1f-45d1-b94d-e6bf2464ba2c/_apis/wit/workItemTypeCategories/Microsoft.RequirementCategory"
}

정의

Name Description
ReferenceLinks

REST 참조 링크의 컬렉션을 나타내는 클래스입니다.

WorkItemTypeCategory

작업 항목 유형 범주에 대해 설명합니다.

WorkItemTypeReference

작업 항목 유형에 대한 참조입니다.

REST 참조 링크의 컬렉션을 나타내는 클래스입니다.

Name 형식 Description
links

object

링크의 읽기 전용 보기입니다. 참조 링크는 읽기 전용이므로 읽기 전용으로만 노출하려고 합니다.

WorkItemTypeCategory

작업 항목 유형 범주에 대해 설명합니다.

Name 형식 Description
_links

ReferenceLinks

관련 REST 리소스에 대한 참조를 연결합니다.

defaultWorkItemType

WorkItemTypeReference

작업 항목의 기본 형식을 가져오거나 설정합니다.

name

string

범주의 이름입니다.

referenceName

string

범주의 참조 이름입니다.

url

string

workItemTypes

WorkItemTypeReference[]

범주에 속하는 작업 항목 유형입니다.

WorkItemTypeReference

작업 항목 유형에 대한 참조입니다.

Name 형식 Description
name

string

작업 항목 유형의 이름입니다.

url

string