You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 3 Next »
Below are the list of REST APIs we developed related to test plan.
POST /rest/testray/latest/public/testPlan/{testPlanIssueKey}/addCycle
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/addCycle
REQUEST BODY
{ "name":"REST API Cycle 1", "environment":"Firefox", "build":"v9.0", "plannedStartDate":"2021-10-10", "plannedEndDate":"2025-11-11" }
GET /rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycles
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycles
REQUEST BODY NULL
PUT /rest/testray/latest/public/testPlan/{testPlanIssueKey}/cycle/{cycleName}/wf/{action}
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/cycle/Cycle 1/wf/Start
ACTIONS
Start
Complete
Abort
Resume
DELETE /rest/testray/latest/public/testPlan/{testPlanIssueKey}/deleteCycleById
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/deleteCycleById
{ "id": "1000" }
GET /rest/testray/latest/public/testPlan/{testPlanIssueKey}/defects
SAMPLE http://testray.goldfingerholdings.onl/rest/testray/latest/public/testPlan/TAT-200/defects