minerstat for developersversion 2.0

POST
Create new worker

Method for creating new worker.

/v2/worker

Creates a new worker.

Parameters

Parameter
Type
Description
Requiredname
string
Name of your worker.
Requiredtype
string
Type of your worker. Possible values: nvidia amd asic
Requiredsystem
string
System of your worker. Possible values: windows msos antminer innosilicon baikal dayun
ip
string
If your worker's type is asic, enter the worker's IP.
username
string
If your worker's type is asic, enter the worker's SSH username.
password
string
If your worker's type is asic, enter the worker's SSH password.
group
string
Group(s) of the worker. Delimiter is semicolon.
user
int
Customer's ID. If user is undefined, the worker will be added to main account.
config
string
Worker's configuration.
client
string
Worker's default mining client.

Example call

{"name":"Rig0001","type":"nvidia","system":"msos"}

Example response

{
 "message": "Worker was created successfully"
}