Artifact Link Types - List
送信成果物リンクの種類を追跡する作業項目の一覧を取得します。
GET https://dev.azure.com/{organization}/_apis/wit/artifactlinktypes?api-version=7.1-preview.1
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
organization
|
path | True |
string |
Azure DevOps 組織の名前です。 |
api-version
|
query | True |
string |
使う API のバージョン。 このバージョンの API を使用するには、これを '7.1-preview.1' に設定する必要があります。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
成功した操作 |
セキュリティ
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
名前 | 説明 |
---|---|
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"
}
]
}
定義
WorkArtifactLink
作業成果物リンクは、送信成果物リンクの種類を表します。
名前 | 型 | 説明 |
---|---|---|
artifactType |
string |
ターゲット成果物の種類。 |
linkType |
string |
送信リンクの種類。 |
toolType |
string |
ターゲット ツールの種類。 |