Daemons
internal

Update daemon capabilities

Changed on

Legacy internal endpoint for pre-0.15 daemons to report their interfaced subnets as bare ids. Modern daemons report them via the status heartbeat's interfaced_subnets channel; this remains functional so older daemons in a rolling deploy keep reporting (and don't 404).

post/api/daemons/{id}/update-capabilities

Request

  • Base URL
    https://app.scanopy.net
  • URL
    https://app.scanopy.net/api/daemons/{id}/update-capabilities
  • Auth
    API key in header Authorization

Path parameters

idstring uuid required

Daemon ID

Request body

interfaced_subnet_idsstring[] required

Subnets the daemon has an interface on, as reported by older daemons.

Response

Capabilities updated

dataTupleUnit

No payload. Present only so the envelope keeps its shape.

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