Skip to content

The runner's results for actions it carried out

The OpenAPI spec (JSON)Licence, versions and sign-in

POST
/api/v1/actions/report
curl --request POST \
--url https://deck.example.com/api/v1/actions/report \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[ { "action_id": 1, "outcome": null, "result": "done" } ]'
Media typeapplication/json
Array<object>

One action’s result, for quietdeck action done|fail and quietdeck actions report.

One of:
object
action_id
required
integer format: int64
outcome

What was sent and what came back.

result
required
string
Allowed value: done
Media typeapplication/json
Array<object>

One action’s report from quietdeck actions report, as the deck took it.

object
action_id
required
integer format: int64
error

Why the deck refused this one; absent when it was recorded.

string | null

Example generated

[
{
"action_id": 1,
"error": "example"
}
]

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"
}