Register device
documentedRegister a new RescueTime device.
POST \/api\/resource\/devicesTime Trackingno 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://www.rescuetime.com/api/resource/devices" \
-X POST \
-H "Authorization: Bearer {{RESCUETIME_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"device":{"device_name":"{{$device_name}}","device_type":"{{$device_type}}","client_version":"{{$client_version}}","platform":"{{$platform}}"}}'