minerstat for developersversion 2.0

GET
Get worker details

Get method to get worker's information.

/v2/worker

Returns the information about the worker(s) that match the parameter(s).

Parameters

Parameter
Type
Description
user
int
User's ID.
name
string
Name of the worker.
group
string
Group(s) of the worker.
fields
array[]
The array of information you need about worker.
 fields[i]
string
Information you are requesting. Possible values: system type group config asicssh client electricityprice consumption date notes

Example call

{"name":"Antminer001","fields":["type","system","date"]}

Example response

{
 "data": {
  "Antminer001": {
   "type": "asic",
   "system": "antminer",
   "date": "2018-09-16 16:25:28"
  }
 },
 "message": "Results found"
}