nma.login.controller
- Title: login controller
- Alias: register – deprecated
- Description: logins controller to NMA
- Authentication: NMA checks atoms certificate. If certificate is invalid, web socket connection terminated
Edit
Field | Type | Required | Description |
---|---|---|---|
serial | string | + | controller serial |
controller_uuid | string | + | controller uuid |
hubType | string | + | controller type |
firmware | string | + | firmware version |
mac_address | string | + | controller mac address |
Edit
Edit
Edit
Edit
- request:
{
"id": "Z4E40EE6F",
"method": "nma.login.controller",
"params": {
"serial": "70000000",
"controller_uuid": "63868ae0-8b7f-11e9-91cd-273af3fa6fc6",
"hubType": "32.1",
"firmware": "0.8.1",
"mac_address": "B4:E6:2D:C3:46:15"
}
}
- response (success):
{
"id": "Z4E40EE6F",
"method": "nma.login.controller",
"error": null,
"result": {}
}
- response (failure):
{
"id": "Z4E40EE6F",
"method": "nma.login.controller",
"error": {
"code": 1,
"data": "cloud.error.login_controller_failed"
},
"result": {}
}