Stream Blueprint Validation Events
GET/validation/:id/stream
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.
Request
Responses
- 200
- 401
- 404
- default
A server-sent event stream containing diagnostics from blueprint validation.
The data
, event
and id
represents fields in the SSE specification,
this is not a JSON object.
The data
field contains the payload of the event, which is a serialised JSON object
that contains the details of the blueprint validation event.
For example, the event stream will look like this:
event: diagnostic
id: 60d7c6c5-3984-42b9-a3c1-ae8a47a9bf55
data: {"message":"Incorrect blueprint version","level":1,"timestamp":1678901234}
event: diagnostic
id: 62d3cac5-3984-42b9-a3c1-ae8a47a9bf33
data: {"message":"Unsupported transform provided","level":2,"timestamp":1678901234}
Unauthorized
Not found
Unexpected error