Skip to content

Daemon API

Daemon List

see Dashboard API

Add

http
POST /api/service/remote_service

Request Body

json
{
  "ip": "10.0.0.16",
  "port": 24446,
  "prefix": "",
  "remarks": "MiPad",
  "apiKey": "db9516063699446bb95fba51f08603"
}

Response

json
{
  "status": 200,
  "data": "499e1012a21443278a7ec63a3a95860b", // Added Daemon ID
  "time": 1145141918100
}

Delete

http
DELETE /api/service/remote_service

Query Param

js
{
  uuid: string; // Daemon ID
}

Response

json
{
  "status": 200,
  "data": true,
  "time": 1145141918100
}

Try Connect Daemon

http
GET /api/service/link_remote_service

Query Param

js
{
  uuid: string; // Daemon ID
}

Response

json
{
  "status": 200,
  "data": true,
  "time": 1145141918100
}

Update Daemon Connect Config

http
PUT /api/service/remote_service

Request Body

json
{
  "uuid": "e31986e43c254107951dea97026a3741",
  "ip": "162.2.xx.xx",
  "port": 24444,
  "prefix": "",
  "available": false,
  "remarks": "My Node",
  "apiKey": ""
}

Response

json
{
  "status": 200,
  "data": true,
  "time": 1145141918100
}