Optionaloptions: IRequestOptionsStatic ReadonlyRESOURCE_Project ID or project name
Add Test Results to test run session
Project ID or project name
RunId of test run
Project ID or project name
OptionalapiVersion: stringCreates an attachment in the LogStore for the specified buildId.
Contains attachment info like stream, filename, comment, attachmentType
Project ID or project name
BuildId
Creates Environment object in TCM data store
Received Environment object.
Project ID or project name
Creates a new test failure type
Project ID or project name
Creates Notification object in TCM data store for a given session
Notification(s) to add for the specified sessionId
Project ID or project name
ID of Session to add Notification
OptionalapiVersion: stringProject ID or project name
OptionalactionPath: stringProject ID or project name
Project ID or project name
Project ID or project name
Creates an attachment in the LogStore for the specified runId.
Contains attachment info like stream, filename, comment, attachmentType
Project ID or project name
Test RunId
Creates TestResultsSession object in TCM data store
Received session object.
Project ID or project name
Project ID or project name
Project ID or project name
Deletes a test failure type with specified failureTypeId
Project ID or project name
Project ID or project name
Project ID or project name
Deletes the attachment with the specified filename for the specified runId from the LogStore.
Project ID or project name
Test RunId
Attachment FileName
Project ID or project name
Project ID or project name
Project ID or project name
Project ID or project name
http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/CodeCoverage?buildId=10&deltaBuildId=9 Request: build id and delta build id (optional)
Project ID or project name
OptionaldeltaBuildId: numberGets the coverage status for the last successful build of a definition, optionally scoped to a specific branch
Project ID or project name
The ID or name of the definition.
OptionalbranchName: stringThe branch name.
Optionallabel: stringThe String to replace the default text on the left side of the badge.
Returns the list of test failure types.
Project ID or project name
Get file coverage for the specified file
File details with pull request iteration context
Project ID or project name
Project ID or project name
Project ID or project name
Project ID or project name
Optionalfields: string[]OptionalcontinuationToken: stringProject ID or project name
OptionalreleaseEnvId: numberOptionalfields: string[]OptionalcontinuationToken: stringRetrieves TestResultsSession Notification objects in TCM data store
Project ID or project name
Id of TestResults session to obtain Notifications for.
Gets the list of results whose failure matches with the provided one.
Project ID or project name
id of test run
id of test result inside a test run
id of subresult inside a test result
Optionaltop: numberMaximum number of results to return
OptionalcontinuationToken: StringHeader to pass the continuationToken
Returns a test iteration attachment
Project ID or project name
Returns a test iteration attachment
Project ID or project name
Get list of build attachments reference
Project ID or project name
Id of the build to get
type of the attachment to get
OptionaldirectoryPath: stringdirectory path for which attachments are needed
OptionalfileNamePrefix: stringfile name prefix to filter the list of attachment
OptionalfetchMetaData: booleanDefault is false, set if metadata is needed
Optionaltop: numberNumber of test attachments reference to return
OptionalcontinuationToken: StringHeader to pass the continuationToken
Get SAS Uri of a build attachment
Project ID or project name
Id of the build to get
type of the file
filePath for which sas uri is needed
Get SAS Uri of a test results attachment
Project ID or project name
Id of the test run that contains result
Id of the test result whose files need to be downloaded
type of the file
filePath for which sas uri is needed
Get SAS Uri of a test run attachment
Project ID or project name
Id of the test run whose file has to be downloaded
type of the file
filePath for which sas uri is needed
Get SAS Uri of a test subresults attachment
Project ID or project name
Id of the test run that contains result
Id of the test result that contains subresult
Id of the test subresult whose file sas uri is needed
type of the file
filePath for which sas uri is needed
Get summary of test results.
Project ID or project name
Pipeline Id. This is same as build Id.
OptionalstageName: stringName of the stage. Maximum supported length for name is 256 character.
OptionalphaseName: stringName of the phase. Maximum supported length for name is 256 character.
OptionaljobName: stringMatrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
OptionalmetricNames: Metrics[]OptionalgroupByNode: booleanGroup summary for each node of the pipleine heirarchy
Returns a test result attachment
Project ID or project name
Project ID or project name
Returns a test result attachment
Project ID or project name
Project ID or project name
OptionaldetailsToInclude: ResultDetailsProject ID or project name
OptionalpublishContext: stringOptionalgroupBy: stringOptionalfilter: stringOptionalorderby: stringOptionalshouldIncludeResults: booleanOptionalqueryRunSummaryForInProgress: booleanProject ID or project name
OptionalpublishContext: stringOptionalgroupBy: stringOptionalfilter: stringOptionalorderby: stringOptionalshouldIncludeResults: booleanOptionalqueryRunSummaryForInProgress: booleanGet list of test result attachments reference
Project ID or project name
Id of the test run that contains the result
Id of the test result
type of attachments to get
OptionaldirectoryPath: stringdirectory path of attachments to get
OptionalfileNamePrefix: stringfile name prefix to filter the list of attachment
OptionalfetchMetaData: booleanDefault is false, set if metadata is needed
Optionaltop: numberNumbe of attachments reference to return
OptionalcontinuationToken: StringHeader to pass the continuationToken
Project ID or project name
OptionaldetailsToInclude: ResultDetailsOptionalskip: numberOptionaltop: numberOptionaloutcomes: TestOutcome[]OptionalnewTestsOnly: booleanProject ID or project name
OptionalpublishContext: stringOptionaloutcomes: TestOutcome[]Optionaltop: numberOptionalcontinuationToken: stringGet a list of results.
Project ID or project name
Pipeline Id. This is same as build Id.
OptionalstageName: stringName of the stage. Maximum supported length for name is 256 character.
OptionalphaseName: stringName of the phase. Maximum supported length for name is 256 character.
OptionaljobName: stringMatrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
Optionaloutcomes: TestOutcome[]List of outcome of results
Optionaltop: numberMaximum number of results to return
OptionalcontinuationToken: StringHeader to pass the continuationToken
Project ID or project name
Project ID or project name
OptionalincludeResultDetails: booleanOptionalincludeIterationDetails: booleanOptionalskip: numberOptionaltop: numberProject ID or project name
OptionalreleaseEnvid: numberOptionalpublishContext: stringOptionaloutcomes: TestOutcome[]Optionaltop: numberOptionalcontinuationToken: stringGet TestResultsSettings data
Project ID or project name
OptionalsettingsType: TestResultsSettingsTypeProject ID or project name
Project ID or project name
Project ID or project name
Get list of test run attachments reference
Project ID or project name
Id of the test run
type of the attachments to get
OptionaldirectoryPath: stringdirectory path for which attachments are needed
OptionalfileNamePrefix: stringfile name prefix to filter the list of attachment
OptionalfetchMetaData: booleanDefault is false, set if metadata is needed
Optionaltop: numberNumber of attachments reference to return
OptionalcontinuationToken: StringHeader to pass the continuationToken
Returns the attachment with the specified filename for the specified runId from the LogStore.
Project ID or project name
Test RunId
Attachment FileName
Returns a list of attachments for the specified runId from the LogStore.
Project ID or project name
Test RunId
Returns the attachment with the specified filename for the specified runId from the LogStore.
Project ID or project name
Test RunId
Attachment FileName
Get test run message logs
Project ID or project name
ID of the run to get.
Project ID or project name
OptionalbuildUri: stringOptionalowner: stringOptionaltmiRunId: stringOptionalplanId: numberOptionalincludeRunDetails: booleanOptionalautomated: booleanOptionalskip: numberOptionaltop: numberRetrieves Test runs associated to a session
Project ID or project name
Id of TestResults session to obtain Test Runs for.
Get test run statistics , used when we want to get summary of a run by outcome.
Project ID or project name
ID of the run to get.
Get test run summary, used when we want to get summary of a run by outcome. Test run should be in completed state.
Project ID or project name
ID of the run to get.
Retrieves TestResultsSession metadata object in TCM data store
Project ID or project name
Retrieves TestResultsSession Layout object in TCM data store
Project ID or project name
Project ID or project name
OptionaldetailsToInclude: ResultDetailsOptionalskip: numberOptionaltop: numberOptionaloutcomes: TestOutcome[]OptionalnewTestsOnly: booleanProject ID or project name
Returns a test sub result attachment
Project ID or project name
Returns attachment references for test sub result.
Project ID or project name
Returns a test sub result attachment
Project ID or project name
Get list of test subresult attachments reference
Project ID or project name
Id of the test run that contains the results
Id of the test result that contains subresult
Id of the test subresult
type of the attachments to get
OptionaldirectoryPath: stringdirectory path of the attachment to get
OptionalfileNamePrefix: stringfile name prefix to filter the list of attachments
OptionalfetchMetaData: booleanDefault is false, set if metadata is needed
Optionaltop: numberNumber of attachments reference to return
OptionalcontinuationToken: StringHeader to pass the continuationToken
Get all the tags in a build.
Project ID or project name
Build ID
Get all the tags in a build.
Project ID or project name
Build ID
Get all the tags in a release.
Project ID or project name
Release ID
Release environment ID
Project ID or project name
Project ID or project name
Project ID or project name
Project ID or project name
Get history of a test method using TestHistoryQuery
TestHistoryQuery to get history
Project ID or project name
Project ID or project name
Project ID or project name
Get list of test Result meta data details for corresponding testcasereferenceId
TestCaseReference Ids of the test Result to be queried, comma separated list of valid ids (limit no. of ids 200).
Project ID or project name
OptionaldetailsToInclude: ResultMetaDataDetailsDetails to include with test results metadata. Default is None. Other values are FlakyIdentifiers.
Project ID or project name
OptionalpublishContext: stringOptionalincludeFailureDetails: booleanOptionalbuildToCompare: BuildReferenceGet summary of test results.
Project ID or project name
Pipeline Id. This is same as build Id.
OptionalstageName: stringName of the stage. Maximum supported length for name is 256 character.
OptionalphaseName: stringName of the phase. Maximum supported length for name is 256 character.
OptionaljobName: stringMatrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
OptionalincludeFailureDetails: booleanIf true returns failure insights
Project ID or project name
OptionalpublishContext: stringOptionalincludeFailureDetails: booleanOptionalreleaseToCompare: ReleaseReferenceProject ID or project name
Query Test Result WorkItems based on filter
Project ID or project name
can take values Microsoft.BugCategory or all(for getting all workitems)
OptionalautomatedTestName: stringOptionaltestCaseId: numberOptionalmaxCompleteDate: DateOptionaldays: numberOptionalworkItemCount: numberQuery Test Runs based on filters. Mandatory fields are minLastUpdatedDate and maxLastUpdatedDate.
Project ID or project name
Minimum Last Modified Date of run to be queried (Mandatory).
Maximum Last Modified Date of run to be queried (Mandatory, difference between min and max date can be atmost 7 days).
Optionalstate: TestRunStateCurrent state of the Runs to be queried.
OptionalplanIds: number[]Plan Ids of the Runs to be queried, comma separated list of valid ids.
OptionalisAutomated: booleanAutomation type of the Runs to be queried.
OptionalpublishContext: TestRunPublishContextPublishContext of the Runs to be queried.
OptionalbuildIds: number[]Build Ids of the Runs to be queried, comma separated list of valid ids.
OptionalbuildDefIds: number[]Build Definition Ids of the Runs to be queried, comma separated list of valid ids.
OptionalbranchName: stringSource Branch name of the Runs to be queried.
OptionalreleaseIds: number[]Release Ids of the Runs to be queried, comma separated list of valid ids.
OptionalreleaseDefIds: number[]Release Definition Ids of the Runs to be queried, comma separated list of valid ids.
OptionalreleaseEnvIds: number[]Release Environment Ids of the Runs to be queried, comma separated list of valid ids.
OptionalreleaseEnvDefIds: number[]Release Environment Definition Ids of the Runs to be queried, comma separated list of valid ids.
OptionalrunTitle: stringRun Title of the Runs to be queried.
Optionaltop: numberNumber of runs to be queried. Limit is 100
OptionalcontinuationToken: stringcontinuationToken received from previous batch or null for first batch. It is not supposed to be created (or altered, if received from last batch) by user.
Project ID or project name
OptionalworkItemIds: number[]Create and Get sas uri of the build container
Project ID or project name
Id of the build to get
Type of operation to perform using sas uri
Create empty file for a result and Get Sas uri for the file
Project ID or project name
Id of the test run that contains the result
Id of the test results that contains sub result
Id of the test sub result whose file sas uri is needed
file path inside the sub result for which sas uri is needed
Type of the file for download
Create empty file for a run and Get Sas uri for the file
Project ID or project name
Id of the run to get endpoint details
Type of operation to perform using sas uri
OptionalfilePath: stringfile path to create an empty file
Optionaltype: TestLogTypeDefault is GeneralAttachment, type of empty file to be created
Get all the available groups details and for these groups get failed and aborted results.
Project ID or project name
Pipeline Id. This is same as build Id.
OptionalstageName: stringName of the stage. Maximum supported length for name is 256 character.
OptionalphaseName: stringName of the phase. Maximum supported length for name is 256 character.
OptionaljobName: stringMatrixing in YAML generates copies of a job with different inputs in matrix. JobName is the name of those input. Maximum supported length for name is 256 character.
OptionalshouldIncludeFailedAndAbortedResults: booleanIf true, it will return Ids of failed and aborted results for each test group
OptionalqueryGroupSummaryForInProgress: booleanIf true, it will calculate summary for InProgress runs as well.
http://(tfsserver):8080/tfs/DefaultCollection/_apis/test/CodeCoverage?buildId=10 Request: Json of code coverage summary
Project ID or project name
OptionalcoverageData: CodeCoverageDataUpdate project settings of test results
Project ID or project name
Project ID or project name
Update properties of test result meta data
TestResultMetaData update input TestResultMetaDataUpdateInput
Project ID or project name
TestCaseReference Id of Test Result to be updated.
Creates TestResultsMRX objects in TCM data store for existing test results
Results object with only test results MRX properties and existing testResultId
Project ID or project name
RunId of test run
Project ID or project name
Update tags of a run, Tags can be Added and Deleted
TestTagsUpdateModel
Project ID or project name
RunId of the run
Project ID or project name