Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Protocol method · diag

diag.report

Push diagnostics from another process (player, import worker) onto this host's bus.

  • Scope: read
  • Service: diag

Params

ParamRequiredDescription
sessionyesSession handle from session.begin; its author is the diagnostics' origin unless the reporter is the engine (engine: true).
diagnosticsyesDiagnostics as JSON ({code, severity, message, location?, subjects?, fixes?, data?}), each optionally with causedBy: the index of an earlier diagnostic in this batch that caused it.
tickSimulation tick they happened on.
engineThe reporter is an engine process (player, import worker), not the session's author.