Test targets
Retrieve a test target
Test targets
Environments
Reports
Notifications
Private locations
Discoveries
Test targets
Retrieve a test target
Gets a test target by ID.
GET
/
apiKey
/
v2
/
test-targets
/
{testTargetId}
curl --request GET \
--url https://app.octomind.dev/api/apiKey/v2/test-targets/{testTargetId} \
--header 'X-API-Key: <api-key>'
{
"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
}
Authorizations
Path Parameters
ID of the test target to fetch
Response
200
application/json
OK
The response is of type object
.
curl --request GET \
--url https://app.octomind.dev/api/apiKey/v2/test-targets/{testTargetId} \
--header 'X-API-Key: <api-key>'
{
"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
}