Import
Call this method on a server-side ParaRestClient created with your server secret key.
Route
The request addresses a review that your app’s own signing request opened. It takes no body.approved. A review expires 5 minutes after Para opens it, and approval does not extend that time. A call after that time marks a pending or approved review expired and returns that status. A review that has already ended keeps its status, so the call returns 200 with rejected, expired or consumed. approvedAt is set once the review has been approved.
Example
Approve the review, then resend the identical signing request with the sameIdempotency-Key. You can also add reviewId to the body. Para evaluates the request again and signs it once.
expired, send the request with a new Idempotency-Key to open a new review.
Errors
A non-success response throwsParaRestError with the HTTP status, the error code and a message. Permissions errors lists every error code.
An empty path argument throws ParaRestValidationError before the request is sent.