Skip to content

Commit dc939b3

Browse files
added more AutonomIQ endpoints
1 parent a0c69f2 commit dc939b3

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed

apis/autonomiq.json

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,42 @@
490490
]
491491
}
492492
},
493+
"/v1/projects/{projectId}/testcases/{testcaseId}/updateSteps": {
494+
"post": {
495+
"summary": "Update steps assigned to a testcase.",
496+
"tags": [],
497+
"operationId": "updateTestcaseSteps",
498+
"deprecated": false,
499+
"produces": [
500+
"application/json"
501+
],
502+
"parameters": [
503+
{
504+
"name": "projectId",
505+
"in": "path",
506+
"type": "string",
507+
"description": "Project Id",
508+
"required": true
509+
},
510+
{
511+
"name": "testcaseId",
512+
"in": "path",
513+
"type": "string",
514+
"description": "Testcase Id",
515+
"required": true
516+
},
517+
{
518+
"name": "Body",
519+
"in": "body",
520+
"required": true,
521+
"description": "",
522+
"schema": {
523+
"$ref": "#/definitions/UpdatedTestcase"
524+
}
525+
}
526+
]
527+
}
528+
},
493529
"/v1/testsuite/{testSuiteId}/execute": {
494530
"post": {
495531
"summary": "It executes a test suite",
@@ -658,6 +694,32 @@
658694
}
659695
}
660696
},
697+
"/v1/testcases/{testcaseId}/isgenerating": {
698+
"get": {
699+
"summary": "generating test cases",
700+
"tags": [],
701+
"operationId": "isGenerating",
702+
"deprecated": false,
703+
"produces": [
704+
"application/json"
705+
],
706+
"parameters": [
707+
{
708+
"name": "testcaseId",
709+
"in": "path",
710+
"type": "string",
711+
"description": "TestCase Id",
712+
"required": true
713+
}
714+
],
715+
"responses": {
716+
"description": "whether it is generating",
717+
"schema": {
718+
"type": "boolean"
719+
}
720+
}
721+
}
722+
},
661723
"/blocks/getAll/{accountId}/{blockId}": {
662724
"get": {
663725
"summary": "Get test steps for a specific test case block",
@@ -1008,6 +1070,47 @@
10081070
"test_steps"
10091071
]
10101072
},
1073+
"UpdatedTestcase": {
1074+
"title": "UpdatedTestcase",
1075+
"example": {
1076+
"debugPoints": [],
1077+
"isCreationMode": false,
1078+
"sessionId": "P-uWAnuGR",
1079+
"testSteps": [{
1080+
"data": "https://webdriver.io",
1081+
"instr": "open website",
1082+
"columnName": "",
1083+
"xpath": "",
1084+
"stepId": ""
1085+
}]
1086+
},
1087+
"type": "object",
1088+
"properties": {
1089+
"debugPoints": {
1090+
"type": "array",
1091+
"items": {
1092+
"type": "number"
1093+
}
1094+
},
1095+
"isCreationMode": {
1096+
"type": "boolean"
1097+
},
1098+
"sessionId": {
1099+
"type": "string"
1100+
},
1101+
"testSteps": {
1102+
"type": "array",
1103+
"items": {
1104+
"$ref": "#/definitions/Step"
1105+
}
1106+
}
1107+
},
1108+
"required": [
1109+
"isCreationMode",
1110+
"sessionId",
1111+
"testSteps"
1112+
]
1113+
},
10111114
"GetTestsuitesByProject": {
10121115
"title": "GetTestsuitesByProject",
10131116
"example": {

0 commit comments

Comments
 (0)