Skip to navigation

Approve a catalogue Look revision

Approves a draft look revision. The body names the approved_snapshot_digest you reviewed; any other answers 409 REVISION_DIGEST_MISMATCH. A revision is decided once (409 REVISION_DECIDED). Approving does not publish. Send an Idempotency-Key: a retry with the same key and the same request answers the first response, byte for byte, with Idempotency-Replayed: true, so a response you did not receive is safe to retry. Requires the catalogue.approve scope, which your account operator provisions; no other catalogue scope implies it. Served only where the catalogue is enabled for your environment.

Authentication

X-API-Keystring

API key for one environment of your account. Keep server-side; never expose in browser clients.

Path parameters

look_idstringRequired
revisionstringRequired

Headers

Idempotency-Keystring or nullOptional

Request

Approve a draft look revision, binding the snapshot digest the reviewer read.
approved_snapshot_digeststringRequired

Response

The revision, approved
applicationslist of objects
approved_snapshot_digeststringformat: "^sha256:[0-9a-f]{64}$"
authored_intent_digeststringformat: "^sha256:[0-9a-f]{64}$"
created_atdatetime
decided_atdatetime or null
decision_stateenum
Allowed values:
digest_versioninteger
look_idstring
revisioninteger>=1

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
503
Service Unavailable Error