system

Connect this server to Dagu Console

Changed on

Starts a request for a license from Dagu Console, or returns the pending one. Open connectUrl to approve it; the license is installed once a workspace owner approves. A report level, when given, chooses what this server reports to Dagu Console, starting once the license is installed, unless cloud.report in the configuration sets it. Admin only.

post/license/connect

Request

  • Base URL
    http://localhost/api/v1
  • Auth
    • HTTP bearer
    • or HTTP basic
    • or none

Query parameters

remoteNodestring

name of the remote node

Request body

report'off' | 'health' | 'runs' | 'errors'

How much this server reports to Dagu Console: off sends nothing but one report saying so after health, runs, or errors, health sends its version and which services run, runs also sends the status of finished DAG runs and the runs in progress, and errors also sends the error messages of failed runs

Response

Current connection request

state'idle' | 'pending' | 'granted' | 'failed' | 'expired' required

Progress of the request

connectUrlstring

Dagu Console page that approves the request. Its report query parameter names what this server reports once connected, and is absent when it reports nothing

codestring

Short code Dagu Console shows so the approver can confirm the request

expiresAtstring

When the request expires unless approved

errorstring

Why the request failed

Changes