link
The link result subtype allows you to attach a custom URL to the build results in CodeNOW. Use it for any build output not covered by the other result subtypes — for example, test reports, coverage dashboards, or deployment previews.
Payload Fields
| Field | Required | Description |
|---|---|---|
type | Yes | Must be link |
version | Yes | v1 |
name | Yes | Display name for the link |
url | Yes | URL to the custom result |
Example
curl -L -X POST 'https://api.cloud.codenow.com/ci/webhook' \
--header 'Accept: application/vnd.codenow.v1+json' \
--header 'Content-Type: application/vnd.codenow.v1+json' \
--header 'X-Codenow-Api-Key: {YOUR_CI_KEY}' \
--data-raw '{
"type": "codenow.ci.result.event",
"version": "application/vnd.codenow.v1+json",
"pipelineId": "my-pipeline-id",
"createdAt": "2024-01-01T00:00:00.000Z",
"payload": [{
"type": "link",
"version": "v1",
"name": "Test Coverage Report",
"url": "https://my-ci.com/reports/coverage/123"
}]
}'