Extensionfields - Query
GET https://vstmr.dev.azure.com/{organization}/{project}/_apis/testresults/extensionfields?scopeFilter={scopeFilter}&api-version=7.2-preview.1
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
organization
|
path | True |
string |
Azure DevOps 组织的名称。 |
|
project
|
path | True |
string |
项目 ID 或项目名称 |
|
api-version
|
query | True |
string |
要使用的 API 版本。 这应设置为“7.2-preview.1”才能使用此版本的 API。 |
|
scope
|
query | True |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
成功的操作 |
安全性
oauth2
类型:
oauth2
流向:
accessCode
授权 URL:
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
令牌 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
作用域
| 名称 | 说明 |
|---|---|
| vso.test | 授予读取测试计划、事例、结果和其他测试管理相关项目的能力。 |
定义
| 名称 | 说明 |
|---|---|
|
Custom |
|
|
Custom |
|
|
Custom |
CustomTestFieldDefinition
| 名称 | 类型 | 说明 |
|---|---|---|
| fieldId |
integer |
|
| fieldName |
string |
|
| fieldType | ||
| scope |
CustomTestFieldScope
| 值 | 说明 |
|---|---|
| all | |
| none | |
| system | |
| testResult | |
| testRun | |
| testRunAndTestResult |
CustomTestFieldType
| 值 | 说明 |
|---|---|
| bit | |
| dateTime | |
| float | |
| guid | |
| int | |
| string |