PUT /projects/{projectId}/ci/suites/{suiteFingerprint}/mode

PUT /api/v1/projects/{projectId}/ci/suites/{suiteFingerprint}/mode on the Caveman Cloud control plane. Requires the experiment:approve_s3 scope. Not exposed to autonomous agents: Gate mode blocks merges. Changing it is an audited owner or admin decision (SPEC §4.12).

put/projects/{projectId}/ci/suites/{suiteFingerprint}/mode

Request

  • Base URL
    https://api.caveman.so/api/v1
  • URL
    https://api.caveman.so/api/v1/projects/{projectId}/ci/suites/{suiteFingerprint}/mode
  • Auth
    • OAuth 2
      Authorization code: /api/v1/oauth/authorize
      Token URL: /api/v1/oauth/token scopes: experiment:approve_s3
    • or HTTP bearer
    • or API key in cookie cave_access
    • or API key in cookie __Secure-cave_identity.session_token

Request body

mode'advisory' | 'gate' required
revisioninteger required

Response

Successful response. Exact status depends on synchronous or durable delivery outcome.

Changes

No recorded changes to this operation across all 1 revision of this API.