Node
Create Node
Changed onCreate a new node to the database.
post/api/node
Request
- Base URLhttps://api.ha-man2.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.ha-man2.com/api/node
- AuthOAuth 2PasswordToken URL: /api/admin/token
Request body
Example request
{
"address": "192.168.1.1",
"api_key": "valid uuid",
"connection_type": "grpc",
"core_config_id": 1,
"keep_alive": 60,
"name": "DE node",
"port": 62050,
"server_ca": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----",
"usage_coefficient": 1
}Response
Successful Response
Changes
- warning
the
request property's min was set to0.00 - info
added the optional property
to the response with the status
- warning