Labels

Release a quarantine with a reason

Changed on

Releases one quarantine like DELETE on the hold, and records an optional reason on the hold (releaseReason) and in the publication event. An empty body releases with no reason. Accepts a platform session or a key with labels:reject. Entity holds are released by resuming the entity and answer 409 here. expectedContentHash releases only the revision that was reviewed; a draft that moved since answers 412 stale-review and nothing is released.

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

Request

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

Path parameters

labelSetIdstring required

Label set identifier.

holdIdstring uuid required

Request body

reasonstring nullable

Why the hold is released or the entity resumed. Trimmed; blank or null records no reason.

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 released.

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