Retry a card whose actions failed
POST
/api/v1/cards/{id}/retry
const url = 'https://deck.example.com/api/v1/cards/1/retry';const options = {method: 'POST', headers: {cookie: 'qd_auth=<qd_auth>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://deck.example.com/api/v1/cards/1/retry \ --cookie qd_auth=<qd_auth>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer format: int64
Responses
Section titled “Responses”What Approve All did: nothing is released until release_at, and Undo with batch cancels it until then.
Media typeapplication/json
What Approve All did: nothing is released until release_at, and Undo with batch cancels it until then.
object
batch
required
string
cards
required
The cards with a decision in this batch.
Array<integer>
release_at
required
string
skipped
required
Array<object>
A card Approve All left alone, and why.
object
card_id
required
integer format: int64
reason
required
string
Example generated
{ "batch": "example", "cards": [ 1 ], "release_at": "example", "skipped": [ { "card_id": 1, "reason": "example" } ]}default
Section titled “default”An error, with its message.
Media typeapplication/json
Every error the REST API returns, with an HTTP status.
object
error
required
string
Example generated
{ "error": "example"}