Get diagnostics for a build

Changed on

Get the list of diagnostics for a given build.

If no language targets are specified, diagnostics for all languages are returned.

get/v0/builds/{buildId}/diagnostics

Request

  • Base URL: v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: v1/v0/builds/{buildId}/diagnostics
  • Auth: none declared

Path parameters

buildIdstring required

Build ID

Query parameters

targetsstring

Optional comma-delimited list of language targets to filter diagnostics by

severity'fatal' | 'error' | 'warning' | 'note'

Includes the given severity and above (fatal > error > warning > note).

cursorstring

Pagination cursor from a previous response

limitnumber

Maximum number of diagnostics to return, defaults to 100 (maximum: 100)

Response

success

has_moreboolean required
next_cursorstring

Changes