Own-site execution

Approve, apply, revert or dismiss an on-site change

post/api/v2/onsite-changes/{id}

Request

  • Base URL: https://www.hireeli.io
  • URL: https://www.hireeli.io/api/v2/onsite-changes/{id}
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring uuid required

Tenant-scoped resource UUID.

Headers

x-eli-tenantstring uuid

Workspace UUID. Required for user tokens with multiple memberships. For API keys it is only an equality assertion against the key-pinned workspace.

Request body

action'approve' | 'apply' | 'revert' | 'dismiss' required
confirmtrue

Must be the JSON boolean true. Strings, numbers and free-text phrases are rejected.

confirmed_preview_hashstring

SHA-256 confirmation binding for the exact tool, workspace, resource and preview returned by the immediately preceding preview response.

Response

The decision completed. The response is a machine-readable receipt.

decisionstring required

The exact accepted operation.

resourceIdstring required

The decided resource ID.

statusstring required

The state Eli verified after the decision.

urlstring uri nullable required
revertibleboolean required

Whether Eli exposes a guarded machine revert for this completed action.

revert_hintstring nullable required

The exact safe next step for a revert or immutable follow-up.

audit_idstring uuid nullable required

Durable protocol-decision audit row for this machine write.

change_idstring uuid nullable

Exact owned-site change reconciled by a content rollback, when applicable.

publication_receipt_idstring uuid nullable

Immutable publication receipt preserved across rollback.

reversal_receipt_idstring uuid nullable

Immutable verified rollback receipt, when rollback completed.

Example response

{
  "decision": "apply",
  "status": "applied"
}

Changes

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