API changes from v8.5.1 to v8.5.2

With the new and upcoming releases of QMetry, we continue to add exciting and useful new features that improve the usability. With the new features and improvements being added to QMetry also necessitates changes in the APIs. This page enlists such APIs that will be changed from version 8.5.1 to 8.5.2. The purpose of this document is to help Integration Teams keep their code updated and current with the API changes/updates to the existing APIs.

For API changes in earlier versions of QMetry, follow these links : API changes from v8.4.3 to v8.4.4 | API changes from v8.4.4 to v8.5 |  API changes from v8.5 to v8.5.1


Updated API

Link Test Cases to Test Suite

API

/rest/testsuites/dolink/TCs

MethodPUT

Impact of Change

Medium
Backward CompatibleYes
Reason for ChangeOptimized API to additionally return execution related details of the test suite and its linked test cases.
ChangesThe response has changed


The below parameters are new in the response.

  • "tcRunID", "platformID", "tctsID" and "tcID"
Version 8.5.1Version 8.5.2
Response Body
{
	"COUNT": 1,
	"success": true,
	"code": "CO.LINK_ENTITY_SUCCESS",
	"message": "Selected entities linked successfully.",
	"data": [{
		"COUNT": 1
	}]
}
Response Body
{
	"COUNT": 1,
	"success": true,
	"code": "CO.LINK_ENTITY_SUCCESS",
	"message": "Selected entities linked successfully.",
	"data": [{
		"COUNT": 1,
		"tsRunDetail": [{
			"tsRunID": 26,
			"platformID": 2,
			"tcRunDetail": [{
				"tcrunID": 28,
				"tctsID": 27,
				"tcID": 5
			}]
		}]
	}]
}

Deprecated APIs - APIs which will be deprecated in March 2019

API Name

Deprecated Rest Link

Alternative Rest Link

Get list of Issue linked to Test case Run

rest/issues/getForTCRun

/rest/execution/issue/list/forTCRun

Get list of issue linked to Test case Step Run

rest/issues/getForTCStepRun

/rest/execution/issue/list/forTCStepRun

Get list of Testcase Step Run for a Test Case execution

rest/execution/list/tcsr

/rest/execution/tcStepRun/list/viewColumns