internal
Daemons

Pre-provision a ServerPoll mode daemon

Creates a daemon record on the server before the daemon is installed. This is only for ServerPoll mode where the server initiates connections to the daemon. For DaemonPoll mode, daemons self-register on startup.

Returns the daemon record and an API key that must be configured on the daemon.

post/api/v1/daemons/provision

Request body

namestring required

Human-readable name for the daemon.

network_idstring uuid required

Network this daemon will be associated with.

urlstring required

URL where the server can reach the daemon (required for ServerPoll mode).

Response

Daemon provisioned successfully

errorstring nullable
successboolean required

Example response

{
  "meta": {
    "api_version": 1,
    "server_version": "0.16.2"
  }
}

Changes