Stream Blueprint Validation Events
Stream events from a blueprint validation process.
This will return a stream of events as they occur or that have recently occurred
over the Server-Sent Events (SSE) protocol.
The Last-Event-ID
header can be used to resume the stream from a specific event ID.
OAuth2/OIDC auth using JWT Bearer tokens. The token issuer will be configured independently for each Deploy Engine instance.
In: header
Path Parameters
The ID of the blueprint validation.
Header Parameters
The Bluelink Signature v1 authentication mechanism can be used to authenticate requests to the Deploy Engine. See the Bluelink Signature v1 documentation for more information on how to use this authentication mechanism. This is not required if the request is authenticated using an OAuth2/OIDC-issued JWT or an API key.
The ID of the last event received. This can be used to resume the stream from a specific event ID.
Response Body
curl -X GET "https://{host}/{basePath}/v1/validations/16ef8989-af00-4a4a-8164-72493ceb1aa0/stream" \ -H "Bluelink-Signature-V1: string" \ -H "Last-Event-ID: 60d7c6c5-3984-42b9-a3c1-ae8a47a9bf55"
{
"event": "diagnostic",
"id": "60d7c6c5-3984-42b9-a3c1-ae8a47a9bf55",
"data": {
"message": "Incorrect blueprint version",
"level": 1,
"timestamp": 1678901234,
"range": {
"start": {
"line": 1,
"column": 1,
"endPosition": {
"line": 1,
"column": 1
}
},
"end": {
"line": 1,
"column": 1,
"endPosition": {
"line": 1,
"column": 1
}
},
"columnAccuracy": 1
},
"end": false
}
}
{
"message": "Unauthorized"
}
{
"message": "Not found"
}
{
"message": "An unexpected error occurred"
}