Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
linbus:multicontroller [2020/12/07 12:48] superuser created |
linbus:multicontroller [2020/12/08 10:42] (current) superuser |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Get settings: | Get settings: | ||
| <code> | <code> | ||
| - | GET https://localhost:44399/settings | + | GET https://localhost:5000/settings |
| </code> | </code> | ||
| response: | response: | ||
| Line 26: | Line 26: | ||
| Set settings: | Set settings: | ||
| <code> | <code> | ||
| - | POST https://localhost:44399/settings | + | POST https://localhost:5000/settings |
| [ | [ | ||
| { | { | ||
| Line 43: | Line 43: | ||
| </code> | </code> | ||
| No responce | No responce | ||
| + | |||
| + | Note:protocol should be eather 0 or 1. This is depending on which controller we are using(old or new). | ||
| ===== Device position ===== | ===== Device position ===== | ||
| Line 48: | Line 50: | ||
| Get all devices: | Get all devices: | ||
| <code> | <code> | ||
| - | GET https://localhost:44399/device | + | GET https://localhost:5000/device |
| </code> | </code> | ||
| response: | response: | ||
| Line 76: | Line 78: | ||
| Set device height: | Set device height: | ||
| - | |||
| <code> | <code> | ||
| - | POST https://localhost:44399/settings | + | POST https://localhost:5000/device |
| + | { | ||
| + | "name":"test", | ||
| + | "value":10, | ||
| + | "storedPositions":[ | ||
| + | |||
| + | ] | ||
| + | } | ||
| </code> | </code> | ||
| + | |||
| + | No responce | ||
| + | |||