This documentation explains the list of publicly available REST API in synapseRT to perform the products own actions via programmatically.
...
Expand | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
POST /rest/synapse/latest/public/testRun/createTestRuns Note:
STATUS 200 Returned if the Test Runs are successfully created from the Test Cycle STATUS 403 Returned if the user is not authorized perform the action or there is no valid license STATUS 404 Returned if the testCaseKey or cycleId or attributeValues provided is not found STATUS 500 Returned if there is any validation error with input data or any unknown Internal Server Error |
...
Expand | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
POST /rest/synapse/latest/public/testPlan/{testPlanIssueKey}/cycle/{cycleName}/linkBugToTestRun
STATUS 200 Returned if the Bug is successfully linked to the Test Run STATUS 403 Returned if the user is not authorized perform the action or there is no valid license STATUS 404 Returned if the testPlanIssueKey provided is not found STATUS 500 Returned if there is any validation error with input data or any unknown Internal Server Error |
Expand | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||
title | AddPOST /rest/synapse/latest/public/attachmenttestRun/{runId}/testrun Please note that runId doesn't include the prefix 'TR'. Supported content type: MULTIPART_FORM_DATA step/linkBug?tpKey=?&cycleName=? Example: POST /rest/synapse/latest/public/testRun/step/linkBug?tpKey=FRS-888&cycleName=Sprint 25 Cycle 1
| Response | |||||||||||||||||||||
Expand | |||||||||||||||||||||||
Case 1:
Case 2:
Case 3:
STATUS 200 Returned if the Bug is successfully linked to the Test Run STATUS 403 Returned if the user is not authorized perform the action or there is no valid license STATUS 404 Returned if the testPlanIssueKey provided is not found STATUS 500 Returned if there is any validation error with input data or any unknown Internal Server Error |
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
POST /rest/synapse/latest/public/attachment/{runId}/testrun Please note that runId doesn't include the prefix 'TR'. Supported content type: MULTIPART_FORM_DATA
STATUS 200 Returned if the attachment is successfully added to Test Run STATUS 403 Returned if the user is not authorized perform the action or there is no valid license STATUS 404 Returned if the runId provided is not found STATUS 500 Returned if there is any validation error with input data or any unknown Internal Server Error |
Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
POST /rest/synapse/latest/public/attachment/{runId}/testrun/step/{stepno} Please note that runId doesn't include the prefix 'TR'. Supported content type: MULTIPART_FORM_DATA
STATUS 200 Returned if the attachment is successfully added to Test Run Step STATUS 403 Returned if the user is not authorized perform the action or there is no valid license STATUS 404 Returned if the runId provided is not found STATUS 500 Returned if there is any validation error with input data or any unknown Internal Server Error |
...
Expand | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
POST: /rest/synapse/latest/public/testSuite/createTestCase
STATUS 200 Returned if the Test Case is successfully created STATUS 403 Returned if the user is not authorized perform the action or there is no valid license STATUS 500 Returned if there is any validation error with input data or any unknown Internal Server Error |
...
Expand | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||
POST: /rest/synapse/latest/public/testSuite/linkTestCase
STATUS 200 Returned if the Test Case/s is successfully linked to specified Test Suite STATUS 403 Returned if the user is not authorized perform the action or there is no valid license STATUS 500 Returned if there is any validation error with input data or any unknown Internal Server Error |
...
Expand | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
POST /rest/synapse/latest/public/requirementSuite/create
STATUS 200 Returned if the Requirement Suite is successfully created STATUS 403 Returned if the user is not authorized perform the action or there is no valid license STATUS 404 Returned if the projectKey provided is not found STATUS 500 Returned if there is any validation error with input data or any unknown Internal Server Error |
...