Get diagnostics for a build
$ stl builds:diagnostics list
GET/v0/builds/{buildId}/diagnostics
Get the list of diagnostics for a given build.
If no language targets are specified, diagnostics for all languages are returned.
Parameters
Returns
Get diagnostics for a build
stl builds:diagnostics list \
--build-id buildId{
"data": [
{
"code": "code",
"ignored": true,
"level": "fatal",
"message": "message",
"more": {
"markdown": "markdown",
"type": "markdown"
},
"config_ref": "config_ref",
"oas_ref": "oas_ref"
}
],
"has_more": true,
"next_cursor": "next_cursor"
}Returns Examples
{
"data": [
{
"code": "code",
"ignored": true,
"level": "fatal",
"message": "message",
"more": {
"markdown": "markdown",
"type": "markdown"
},
"config_ref": "config_ref",
"oas_ref": "oas_ref"
}
],
"has_more": true,
"next_cursor": "next_cursor"
}