Approve a card
Signs off a card waiting in the review list. It stays where it is, now approved, and may be moved into the done list. Nobody assigned to the card may approve it; a card with nobody assigned can be approved by anyone with the scope.
Requires the board:review:write scope.
Authorization
Parameters
Path parameters
cardIDstring requiredThe card's ID.
Responses
204
The card is approved.
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks board:review:write (FORBIDDEN), or the caller is assigned to the card (CANNOT_APPROVE_OWN_WORK).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
It does not exist, or it is on a board the caller cannot see (NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
409
The card is not waiting for review (NOT_IN_REVIEW).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X POST 'https://evohub.io/api/v1/board/cards/crd_9f2e4d6c8b0a1e3f5d7c9b1a3e5f7d90/approve' \
-H 'Authorization: Bearer <TOKEN>'
