Creates a new test target.
curl --request POST \ --url https://app.octomind.dev/api/apiKey/v2/test-targets \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "testTarget": { "app": "<string>", "discoveryUrl": "<string>", "skipAutomaticTestCreation": false } }'
[ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "app": "<string>", "tags": [ "<string>" ], "environments": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "DEFAULT", "discoveryUrl": "https://example.com", "email": "[email protected]" } ], "skipAutomaticTestCreation": false } ]
Show child attributes
The app name or project name of the test target
The discovery URL of the test target. This is the URL that a discovery tool can use to discover the test target.
Skip automatic test creation right after the test target is created
The environments of the test target
DEFAULT
ADDITIONAL
"DEFAULT"
"https://example.com"
The 2FA email of the environment to test email flows.
"[email protected]"