Changes
Jump to navigation
Jump to search
10 bytes removed
, 08:42, 9 February 2022
m| Line 5: |
Line 5: |
| | To get started, you should: | | To get started, you should: |
| | Establish a web socket connection. | | Establish a web socket connection. |
| − | <syntaxhighlight lang="xml" line> | + | <syntaxhighlight lang="xml"> |
| | ws://IPADDR:PORT/api | | ws://IPADDR:PORT/api |
| | </syntaxhighlight> | | </syntaxhighlight> |
| Line 12: |
Line 12: |
| | PORT – port for API2 (you can get it from LT Setup=>General=>API=>Websocket port (2041 by default); | | PORT – port for API2 (you can get it from LT Setup=>General=>API=>Websocket port (2041 by default); |
| | Authorize | | Authorize |
| − | <syntaxhighlight lang="json" line> | + | <syntaxhighlight lang="json"> |
| | { | | { |
| | "request": "authorize", | | "request": "authorize", |