changes.mady.by.user user-0caa0
Saved on Jun 23, 2018
changes.mady.by.user Unknown User (ampr)
Saved on Aug 13, 2018
...
Returns the generated feature file(s) for the Tests matched by the input keys or/and by the input filter.
Request
QUERY PARAMETERS
a String containing a list of issue keys separated by ";"
keys and filter query parameters are optional if the other one provided but they can both be provided at the same time.
curl -H "Content-Type: application/json" -X GET -H "Authorization: Bearer $token" "https://xray-tst.cloud.xpand-addonsit.com/api/v1/export/cucumber?keys=DEMO-6;DEMO-7"
curl -H "Content-Type: application/json" -X GET -H "Authorization: Bearer $token" "https://xray-tst.cloud.xpand-addonsit.com/api/v1/export/cucumber?filter=134"
curl -H "Content-Type: application/json" -X GET -H "Authorization: Bearer $token" "https://xray-tst.cloud.xpand-addonsit.com/api/v1/export/cucumber?keys=DEMO-6;DEMO-7&filter=134"
Responses
200 OK : application/octet-stream : Successful. A compressed zip file will be downloaded containing the generated feature files.
400 BAD_REQUEST : text/plain: No feature files where generated. Please check Jira log.
401 UNAUTHORIZED : text/plain : The Xray license is not valid.
500 INTERNAL SERVER ERROR : text/plain : An internal error occurred when generating the feature file(s).