@@ -14,6 +14,10 @@ module Agents |
||
| 14 | 14 |
|
| 15 | 15 |
`curl -u <your api key here>: https://api.pushbullet.com/api/devices` |
| 16 | 16 |
|
| 17 |
+ To register a new device run the following command: |
|
| 18 |
+ |
|
| 19 |
+ `curl -u <your api key here>: -X POST https://api.pushbullet.com/v2/devices -d nickname=huginn -d type=stream` |
|
| 20 |
+ |
|
| 17 | 21 |
Put one of the retured `iden` strings into the `device_id` field. |
| 18 | 22 |
|
| 19 | 23 |
You can provide a `title` and a `body`. |