Reports

Replace text in a report definition

Changed on
patch/api/v1/deployments/{deploymentId}/reports/{reportId}/file

Request

  • Base URL: https://your-tenant.cubecloud.dev
  • URL: https://your-tenant.cubecloud.dev/api/v1/deployments/{deploymentId}/reports/{reportId}/file
  • Auth: HTTP bearer

Path parameters

deploymentIdnumber required
reportIdnumber required

Request body

expectedHashstring nullable

The hash from your last read. When set, the request fails with 409 if the configuration changed since then.

Response

contentstring required

The configuration as canonical JSON text: keys sorted, 2-space indentation, trailing newline. oldText in a replacement must match this text exactly.

hashstring required

SHA-256 of content. Send it back as expectedHash to reject the write if the configuration changed since you read it.

Changes