mirror of
https://github.com/aljazceru/signal-cli-rest-api.git
synced 2025-12-22 00:54:19 +01:00
Update README.md
Add link a device example to README
This commit is contained in:
10
README.md
10
README.md
@@ -114,6 +114,16 @@ The group id can be obtained via the "List groups" REST call.
|
|||||||
```curl -X DELETE -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/groups/+431212131491291/ckRzaEd4VmRzNnJaASAEsasa'```
|
```curl -X DELETE -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/groups/+431212131491291/ckRzaEd4VmRzNnJaASAEsasa'```
|
||||||
|
|
||||||
|
|
||||||
|
* Link a device
|
||||||
|
|
||||||
|
```curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/link/<name>'```
|
||||||
|
|
||||||
|
e.g:
|
||||||
|
|
||||||
|
```curl -X POST -H "Content-Type: application/json" 'http://127.0.0.1:8080/v1/link/HomeAssistant'```
|
||||||
|
|
||||||
|
This provides a tsdevice link which have to be converted to a QR-Code, e.g. `qrencode -o linkqr.png tsdevice:...`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
The following REST API endpoints are **deprecated and no longer maintained!**
|
The following REST API endpoints are **deprecated and no longer maintained!**
|
||||||
|
|||||||
Reference in New Issue
Block a user