To log in to the device.

Request

{
      "$schema": "http://json-schema.org/draft-07/schema#",
      "title": "login - request",
      "type": "object",
      "properties": {
        "user": {
          "type": "string"
        },
        "password": {
          "type": "string"
        }
      },
      "required": [
        "user",
        "password"
      ],
      "additionalProperties": false
}

Meaning of json items: 


{
      "user": "johndoe",
      "password": "1!54.ee44"
}

Response

{
       "$schema": "http://json-schema.org/draft-04/schema#",
       "type": "object",
       "properties": {
         "defaultPassword": {
           "type": "boolean"
         }
       }
}

Meaning of json items:

{
      "defaultPassword": true
}