Labels

Quarantine a row

Changed on

Rejects one entity, product, or vault-label row: the curator's draft stays intact, the row keeps its published content on every full publish, and the hash of the draft content at the time is recorded so a later edit is detectable. The row must exist in the draft or in the latest published version. Accepts a platform session or a key with labels:reject. One active quarantine per row; a repeat answers 409 with the existing hold. Send expectedContentHash to hold only the revision that was reviewed: a draft that moved since answers 412 stale-review and writes no hold and no event. It will become required for keys.

post/v3/labels/sets/{labelSetId}/holds

Request

  • Base URL
    https://v3.euler.finance
  • URL
    https://v3.euler.finance/v3/labels/sets/{labelSetId}/holds
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

labelSetIdstring required

Label set identifier.

Request body

reasonstring required
expectedContentHashstring nullable

The draft revision the reviewer judged: the change log's afterContentHash for the row (null for a row the draft no longer has). Compared with the current draft row inside the write's transaction; when the row moved since, the answer is 412 with details.reason stale-review and the current details.contentHash, and nothing is written. Optional for now; keys will have to send it, and a key write without it is logged.

Response

Hold created.

Changes

    • info

      added the optional property / to the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added the new optional request property

    • info

      added the non-success response with the status