Daemons

Generate daemon upgrade commands

Changed on

The steps to replace a daemon's binary and restart it, per OS, plus the docker method. Like the install command, a pure builder over the daemon record.

get/api/v1/daemons/{id}/upgrade-command

Request

  • Base URL
    https://app.scanopy.net
  • URL
    https://app.scanopy.net/api/v1/daemons/{id}/upgrade-command
  • Auth
    • API key in header Authorization
    • or API key in cookie session_id

Path parameters

idstring uuid required

daemon ID

Response

Upgrade commands

errorstring nullable

Not sent on a successful response. Failure messages arrive in an ApiErrorResponse.

successboolean required

Always true on a successful response.

Example response

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

Changes