missions
Request runs for test cases
Changed onRequest runs for one or more test cases against an app build. This is the same flow as the Run button in the QualGent dashboard: the request is recorded as a submission, each test case is dispatched for testing, and results are reviewed by QualGent before they are published to you.
**App build:**
- `app_file_id` is optional. If omitted, your organization's latest uploaded app is used.
- If you have no app and `app_install_source` is not `store_listing`, this returns `404`.
**One open request at a time:**
- An organization can have one open request. While one is open this returns `409`
with `code: "run_in_progress"` and the open request in `open_run`.
- Send `replace_open: true` to cancel and remove the open request and start this one.
**Partial failures:**
- A test case that cannot be submitted is listed in `failures`; the others still go ahead.
The response is `200` either way, so check `failed`.
**Returns:**
- `submission_id` to follow progress with `GET /v1/missions/submissions?submission_id=...`
**Retries:**
- If this returns `504`, the request may still have been created. Check
`GET /v1/missions/submissions` before sending it again.
post/v1/missions/submit
Request
- Base URLhttps://api.qualgent.ai
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-keystring
Request body
Example request
{
"test_case_ids": [
"660e8400-e29b-41d4-a716-446655440000"
],
"app_file_id": "550e8400-e29b-41d4-a716-446655440000",
"app_install_source": "uploaded_app",
"vars": {
"branch": "feature/login-fix"
}
}Response
Request submitted
Example response
{
"submitted": 2,
"submission_id": "7b0e8400-e29b-41d4-a716-446655440000"
}Changes
- info
endpoint added
- info