← API reference
Mutation / reports

publishReportSource

Publish the specified report source with an exact-source precondition.

Arguments

Report to publish.

sourceXMLString!

Exact source approved for publication; rejects a different draft.

Returns ReportPayload!

Explore in a view

Reports
View exact SDL
"""Publish the specified report source with an exact-source precondition."""
publishReportSource(
  """Report to publish."""
  id: ReportID!
  """Exact source approved for publication; rejects a different draft."""
  sourceXML: String!
): ReportPayload! @topic(names: ["reports"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.