This is an old revision of the document!


API

Get settings:

GET https://localhost:44399/settings

response:

[
   {
      "name":"test",
      "minHeight":10,
      "maxHeight":100,
      "protocol":1
   },
   {
      "name":"test2",
      "minHeight":10,
      "maxHeight":100,
      "protocol":1
   }
]

Set settings:

POST https://localhost:44399/settings
[
   {
      "name":"test",
      "minHeight":10,
      "maxHeight":100,
      "protocol":1
   },
   {
      "name":"test2",
      "minHeight":10,
      "maxHeight":100,
      "protocol":1
   }
]

No responce

Get all devices:

GET https://localhost:44399/device

response:

[
   {
      "name":"test",
      "value":10,
      "min":10,
      "max":100,
      "storedPositions":[
         
      ]
   },
   {
      "name":"test2",
      "value":10,
      "min":10,
      "max":100,
      "storedPositions":[
         
      ]
   }
]

Set device height:

POST https://localhost:44399/settings
  • linbus/multicontroller.1607345298.txt.gz
  • Last modified: 2020/12/07 12:48
  • by superuser