GET
/
apiKey
/
v2
/
test-targets
/
{testTargetId}
/
notifications
curl --request GET \
  --url https://app.octomind.dev/api/apiKey/v2/test-targets/{testTargetId}/notifications \
  --header 'X-API-Key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "testTargetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "payload": {
      "failed": true,
      "context": {
        "source": "github",
        "issueNumber": 123,
        "ref": "refs/heads/main",
        "sha": "abc123def456",
        "repo": "my-repo",
        "owner": "repo-owner",
        "triggeredBy": {
          "type": "USER",
          "userId": "user123"
        },
        "nodeId": "node-123"
      },
      "testReportId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "testCaseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "type": "REPORT_EXECUTION_FINISHED",
    "ack": "IN_WEB_APP"
  }
]

Authorizations

X-API-Key
string
header
required

Path Parameters

testTargetId
string
required

The ID of the test target

Response

200
application/json
List of notifications
id
string
testTargetId
string
createdAt
string
updatedAt
string
payload
object
type
enum<string>
Available options:
REPORT_EXECUTION_FINISHED,
VALIDATION_PASSED
ack
enum<string> | null
Available options:
IN_WEB_APP