Create device
documentedCreate a new device to receive pushes.
POST /v2/devicesDevicesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.pushbullet.com/v2/devices" \
-X POST \
-H "Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"nickname": "{{$nickname}}", "model": "{{$model}}", "manufacturer": "{{$manufacturer}}", "push_token": "{{$push_token}}", "app_version": {{$app_version}}, "icon": "{{$icon}}", "has_sms": {{$has_sms}}}' \
--request POST \
https://api.pushbullet.com/v2/devices