DEM
Create a test suite for a DEM journey
Trigger test suite creation for a given DEM journey.
post/api/v2/dem/journeys/{public_journey_id}/suite
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
public_journey_idstring required
The public identifier of the DEM journey for which to create a test suite.
Request body
Example request
{
"data": {
"attributes": {
"include_tests_from_journey_coverage": true,
"test_suite_name": "My Custom Suite"
},
"type": "create_test_suite_for_journey_request"
}
}Response
Created
Example response
{
"data": {
"attributes": {
"created_at": "2024-01-15T10:30:00Z",
"name": "Checkout Flow Suite"
},
"id": "suite-abc123",
"type": "journey_test_suite"
}
}Changes
Changes to this operation have not been checked yet.