Skip to content
POST
/api/v1/hooks/{id}/approve
curl --request POST \
--url https://deck.example.com/api/v1/hooks/example/approve \
--cookie qd_auth=<qd_auth>
id
required
string

One endpoint, as Settings and hooks list show it. The secret is never shown again after creation.

Media typeapplication/json

One endpoint, as Settings and hooks list show it. The secret is never shown again after creation.

object
approved_at

None until the person approves it: until then it receives nothing (404).

string | null
created_at
required
string
event_count
required
integer format: int64
id
required
string
kind
required

How the deck reads what arrives.

One of:

Any JSON (or text): a title is taken from the usual fields. Lenient, for Gatus, which doesn’t escape its JSON.

string
Allowed value: generic
label
required
string
last_event_at
string | null
last_failure

The latest time its owner couldn’t be reached (the events went to the triage agent instead).

Any of:
object
at
required
string
reason
required
string
proposed_by

Who proposed it (<tab>@<node>), when an agent did.

string | null
to
required

<tab>@<node>.

string

Example

{
"kind": "generic",
"last_failure": null
}

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