changes.mady.by.user Sergio Freire
Saved on Feb 27, 2018
...
Returns a JSON object with a list of the folders of the Test Repository.
projectKey
project key
200 OK : application/json : Successful. Returns a JSON object.
Each folder will provide some information, including:
id
rank
name
testRepositoryPath
folders
testCount
totalTestCount
{ "folders": [ { "id": 6, "rank": 1, "name": "Folder1", "testRepositoryPath": "/Folder1" "folders": [], "testCount": 0, "totalTestCount": 0 }, { "id": 7, "rank": 2, "name": "Folder2", "testRepositoryPath": "/Core", "folders": [ { "id": 8, "rank": 1, "name": "Sub2", "testRepositoryPath": "/Core/UI", "folders": [], "testCount": 1, "totalTestCount": 1 }, { ... } ], "testCount": 0, "totalTestCount": 3 } ], }
400 BAD_REQUEST : text/plain : Returns the error.
401 UNAUTHORIZED : text/plain : The Xray for JIRA license is not valid.
500 INTERNAL SERVER ERROR : text/plain : An internal error occurred getting the folders.