Sdílet prostřednictvím


Extensionfields - Update

PATCH https://vstmr.dev.azure.com/{organization}/{project}/_apis/testresults/extensionfields?api-version=7.2-preview.1

Parametry identifikátoru URI

Name V Vyžadováno Typ Description
organization
path True

string

Název organizace Azure DevOps.

project
path True

string

ID projektu nebo název projektu

api-version
query True

string

Verze rozhraní API, která se má použít. Aby se tato verze rozhraní API používala, měla by být nastavená na hodnotu 7.2-preview.1.

Text požadavku

Name Typ Description
fieldId

integer

fieldName

string

Odpovědi

Name Typ Description
200 OK

CustomTestFieldDefinition

úspěšná operace

Zabezpečení

oauth2

Typ: oauth2
Tok: accessCode
URL autorizace: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
URL tokenu: 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

Rozsahy

Name Description
vso.test_write Uděluje možnost číst, vytvářet a aktualizovat testovací plány, případy, výsledky a další artefakty související se správou testů.

Definice

Name Description
CustomTestFieldDefinition
CustomTestFieldScope
CustomTestFieldType
CustomTestFieldUpdateDefinition

CustomTestFieldDefinition

Name Typ Description
fieldId

integer

fieldName

string

fieldType

CustomTestFieldType

scope

CustomTestFieldScope

CustomTestFieldScope

Hodnota Description
all
none
system
testResult
testRun
testRunAndTestResult

CustomTestFieldType

Hodnota Description
bit
dateTime
float
guid
int
string

CustomTestFieldUpdateDefinition

Name Typ Description
fieldId

integer

fieldName

string