다음을 통해 공유


Artifact Link Types - List

아웃바운드 아티팩트 링크 유형을 추적하는 작업 항목 목록을 가져옵니다.

GET https://dev.azure.com/{organization}/_apis/wit/artifactlinktypes?api-version=7.1-preview.1

URI 매개 변수

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

string

Azure DevOps 조직의 이름입니다.

api-version
query True

string

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

응답

Name 형식 Description
200 OK

WorkArtifactLink[]

성공적인 작업

보안

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

예제

Sample Request

GET https://dev.azure.com/fabrikam/_apis/wit/artifactlinktypes?api-version=7.1-preview.1

Sample Response

{
  "count": 16,
  "value": [
    {
      "toolType": "Git",
      "artifactType": "Branch",
      "linkType": "Branch"
    },
    {
      "toolType": "Build",
      "artifactType": "Build",
      "linkType": "Build"
    },
    {
      "toolType": "VersionControl",
      "artifactType": "Changeset",
      "linkType": "Fixed in Changeset"
    },
    {
      "toolType": "Git",
      "artifactType": "Commit",
      "linkType": "Fixed in Commit"
    },
    {
      "toolType": "Build",
      "artifactType": "Build",
      "linkType": "Found in build"
    },
    {
      "toolType": "Build",
      "artifactType": "Build",
      "linkType": "Integrated in build"
    },
    {
      "toolType": "ArchitectureTools",
      "artifactType": "ModelLink",
      "linkType": "Model Link"
    },
    {
      "toolType": "Git",
      "artifactType": "PullRequestId",
      "linkType": "Pull Request"
    },
    {
      "toolType": "WorkItemTracking",
      "artifactType": "Workitem",
      "linkType": "Related Workitem"
    },
    {
      "toolType": "TestManagement",
      "artifactType": "TcmResultAttachment",
      "linkType": "Result Attachment"
    },
    {
      "toolType": "VersionControl",
      "artifactType": "LatestItemVersion",
      "linkType": "Source Code File"
    },
    {
      "toolType": "Requirements",
      "artifactType": "Storyboard",
      "linkType": "Storyboard"
    },
    {
      "toolType": "Git",
      "artifactType": "Tag",
      "linkType": "Tag"
    },
    {
      "toolType": "TestManagement",
      "artifactType": "TcmTest",
      "linkType": "Test"
    },
    {
      "toolType": "TestManagement",
      "artifactType": "TcmResult",
      "linkType": "Test Result"
    },
    {
      "toolType": "WorkItemTracking",
      "artifactType": "Hyperlink",
      "linkType": "Workitem Hyperlink"
    }
  ]
}

정의

작업 아티팩트 링크는 아웃바운드 아티팩트 링크 형식을 설명합니다.

Name 형식 Description
artifactType

string

대상 아티팩트 형식입니다.

linkType

string

아웃바운드 링크 유형입니다.

toolType

string

대상 도구 유형입니다.