You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(QA): add quality assurance domain and related CSV upload APIs (#803)
- Add new domain tables for quality assurance: qa_apis, qa_projects, qa_test_cases, and qa_test_case_executions
- Update documentation to include new domain layer models and CSV upload APIs for QA data
- Add sample CSV files and explanations for QA data import
When developing a new plugin, you need to refer to domain layer models, as all raw data should be transformed to domain layer data to provide standardized metrics across tools. Please use the following method to access the domain data models.
|qa:api:1:101 |Login API |/api/v1/login |POST |2025-07-01 10:00:00 |tester1 |project101 |
245
+
|qa:api:1:102 |User Info API |/api/v1/user/{id} |GET |2025-07-01 11:30:00 |tester2 |project101 |
246
+
|qa:api:1:103 |Logout API |/api/v1/logout |POST |NULL |tester1 |project102 |
247
+
248
+
### Upload `qa_test_cases.csv` file
249
+
250
+
> POST /plugins/customize/csvfiles/qa_test_cases.csv
251
+
252
+
The HTTP `Content-Type` must be `multipart/form-data`, and the form should have four fields:
253
+
254
+
-`file`: The CSV file
255
+
-`qaProjectId`: (max length 500) Will be used as qa_project_id and will create/update a record in qa_projects table
256
+
-`qaProjectName`: (max length 255) Will be written to the `name` field of qa_projects table. Together with qaProjectId, this will create a new record in qa_projects table if not exists.
257
+
-`incremental`: Boolean value indicating whether this is an incremental update (true/false)
258
+
259
+
Upload a CSV file and import it to the `qa_test_cases` table via this API. The following fields are required:
0 commit comments