Skip to content
Navigation

Record the deployed revision that holds legacy ownership

Stores the readiness record a real (non-dry-run) automation transfer requires: the deployed 40-character revision plus one settled fire claim and one settled write claim observed against it.

POST
https://api.cloudraker.com/triggers/legacy-handoff
Try it
Request body
Live API request

This request can change data or incur charges for the selected organization.

Authorization

  • bearerAuth
    HTTP
    required

Request body JSON required

  • gatewayRevision
    string
    required
    pattern: ^[a-f0-9]{40}$
  • verifiedClaimId
    string
    required
    maxLength: 128 · pattern: ^tlc_[A-Za-z0-9_-]+$
  • verifiedWriteClaimId
    string
    required
    maxLength: 128 · pattern: ^tlc_[A-Za-z0-9_-]+$

Returns

200

The producer record, proxied unchanged.

JSON
  • data
    object
    required
    • gatewayRevision
      string
      required
      pattern: ^[a-f0-9]{40}$
    • verifiedClaimId
      string
      required
      maxLength: 128 · pattern: ^tlc_[A-Za-z0-9_-]+$
    • verifiedWriteClaimId
      string
      required
      maxLength: 128 · pattern: ^tlc_[A-Za-z0-9_-]+$
    • verifiedAt
      string
      required
      format: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$

400

validation_failed: a request body field is invalid.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

403

forbidden — organization administrators only.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

409

handoff_incomplete — no readiness record covers this transfer yet.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

422

source_changed — the legacy source moved under the expected hash.
JSON
  • error
    string
    required

    The sentence a human reads.

  • error_code
    string
    required

    The stable snake_case branch key.

  • issues
    optional
    array of
    object

    Per-field detail, present only on a validation failure.

    • path
      string
      required
    • code
      string
      required
    • message
      string
      required

Type to search…

↑↓ navigate↵ selectEsc close